young@ut-emx.UUCP (Young) (08/22/90)
In order to create a table:
columns
col1 col2
+-----------+----------+
| Low xxx | Low xxx |
Row1 | | |
| Low yyy | High yyy |
Rows +-----------+----------+
| High xxx | High xxx |
Row2 | | |
| Low yyy | High yyy |
+-----------+----------+
I have used the following:
\begin{tabular}{r@{}c@{}c@{}c@{}} &
&
\multicolumn{2}{c}{Columns} \\
&
&
\multicolumn{1}{c}{Col1} &
\multicolumn{1}{c}{Col2} \\
Rows &
\begin{tabular}{r} Row1 \\ \\ Row2 \\ \end{tabular} & % <---***---
\begin{tabular}{@{}|c|@{}} \hline
Low xxx \\ Low yyy \\ \hline High xxx \\ Low yyy \\ \hline \end{tabular} &
\begin{tabular}{@{}|c|@{}} \hline
Low xxx \\ High yyy \\ \hline High xxx \\ High yyy \\ \hline \end{tabular}
\end{tabular}
Especially I don't like the line marked by <---***---.
In this specific table, to place `Row1' and `Row2' at proper places,
I put an empty line between them. However, in:
+------+------+
Row1 | 1 | 2 |
+------+------+
Row2 | 3 | 4 |
+------+------+
if the number of lines in 1 is different from the number of lines in 2,
it's even harder to place `Row1' and `Row2' at proper places.
Any words of wisdom???
Thanks in advance.
Young (young@emx.utexas.edu)
at the Univ. of Texas at Austin