[Tugindia] Aligning Tables
yoga at math.iisc.ernet.in
yoga at math.iisc.ernet.in
Thu Jun 12 15:25:32 CEST 2003
> I want to align the top of two tables like this.
>
> ---------------------- ---------------
> Table-1 | | Table-2 |
> ---------------------- ---------------
> | | |
> | | |
> | | |
> | ---------------
> |
> |
> ----------------------
The following does what you want but am not sure if this is the best way
to do it:
\begin{center}
\begin{tabular}{cc}
{\begin{tabular}{|c|r|}
\hline
1990 & 509.40 \\
1991 & 1338.50 \\
1992 & 844.60 \\
1993 & 1059.70\\
1994 & 587.10 \\
1995 & 1072.20
\end{tabular}} &
{\begin{tabular}{|c|r|r|}
\hline
1996 & 1173.30 & 1173.30 \\
1997 & 717.40& 1173.30\\
1998 & 1431.80 & 1173.30\\
1999 & 1009.40 & 1173.30\\
2000 & 1033.00 & 1173.30\\
2001 & 976.00 & 1173.30\\
\hline
\end{tabular}}\\
{\begin{tabular}{|c|r|}
1992 & 844.60 \\
1993 & 1059.70\\
1994 & 587.10 \\
1995 & 1072.20\\
\hline
\end{tabular}} &
{\begin{tabular}{crr}
&& \\
&& \\
&& \\
&&
\end{tabular}}
\end{tabular}
\end{center}
Regards......................yoga
--------------------------------------------------------------
C S Yogananda
MO-Cell (NBHM, DAE)
Dept. of Mathematics
Indian Institute of Science
Bangalore - 560012
Ph: 3942265 (O)
6524056 (R)
--------------------------------------------------------------
More information about the Tugindia
mailing list