Path: utzoo!attcan!uunet!wuarchive!mit-eddie!uw-beaver!cornell!allan From: allan@rind.cs.cornell.edu (James Allan) Newsgroups: comp.text.tex Subject: Re: TABLES - entries spanning rows Message-ID: <51134@cornell.UUCP> Date: 24 Jan 91 16:44:55 GMT References: <1992@fornax.UUCP> Sender: nobody@cornell.UUCP Organization: Cornell Univ. CS Dept. Ithaca NY Lines: 32 vaisey@fornax.UUCP (Jacques Vaisey) writes: >I seem to be unable to find out how to make a table in TeX (not LaTeX) >where the entries span rows (spanning columns is easy). For instance, I >want a table of the form: > ------------------------------------- > | | TEST | > | SPAN |------------------------| > | | TEST2 | TEST3 | > ------------------------------------- >Does anyone have an example of this sort of table that could be >used as a template? Must admit that I'm not much of an expert here, but the following did the trick for me: \begin{tabular}{|l|@{}l@{}|} \hline Span & \begin{tabular}{c|c} \multicolumn{2}{c}{Test} \\ \hline Test2 & Test3 \end{tabular} \\ \hline \end{tabular} The two `@{}' things serve to bring the line under `Test' all the way to the two vertical lines. Perhaps someone can provide a nicer or better solution, but until then.... -- james allan allan@cs.cornell.edu