[Tugindia] Aligning Tables

Ashis Kumar Mal akmal at ece.iitkgp.ernet.in
Thu Jun 12 15:13:54 CEST 2003


Dear List:
I want to align the top of two tables like this.

----------------------             ---------------
     Table-1          |		  |   Table-2     |
----------------------             ---------------
                      |           |               |
                      |           |               |
                      |           |               |
                      |            ---------------
                      |                          
                      |                          
----------------------

I used following codes but not getting the desired output.

\begin{table}[h]
\begin{minipage}[t]{.7\linewidth}
\begin{tabular}{|r|r|r|r||r|r|r|}
\hline
\multicolumn{7}{|c|}{\bf Table-1(b)}\\
\hline
A[ 0] &0.707 &0.707 &0.707 &0.707 &0.707 &0.707\\
.........\\
\hline
\end{tabular}
\end{minipage}
\hfill
\begin{minipage}[t]{.3\linewidth}
\begin{tabular}{|r|r|r|r|}
\hline
\multicolumn{4}{|c|}{\bf Table-1(a)}\\
\hline
B[ 0] &0.707 &0.707& 0.707\\
......\\
\hline
\end{tabular}
\end{minipage}
\end{table}

I tried to change minipage alignment options [t] to [c], [b] without
any effect.

Please suggest how to align these tables. 


With regards,

Ashis Kumar Mal
Kharagpur.




More information about the Tugindia mailing list