[OS X TeX] memoir class, Table questions, position of floats, line numbering

Jan Anderssen jan at linguist.umass.edu
Fri Jun 11 11:25:06 EDT 2004


> To continue with Tables, is there a way to merge two cells vertically?

my (old version of) The LaTeX Companion mentions the package multirow. 
the example they give is

\documentclass{article}
\pagestyle{empty}
\usepackage{multirow}
\begin{document}

\begin{tabular}{|l|l|l|l|} \hline
\multirow{3}{.75in}{Text in Column 1}
		& C2a & 						& C4a \\ \cline{2-4}
		& C2b & \multirow{3}{.75in}%
					{Text in Column 3}	& C4b \\
		& C2c &						& C4c \\ \cline{1-2}
											\cline{4-4}
		& C2d &						& C4d \\ \hline
\end{tabular}

\end{document}


which comes out somewhat like this:

+-----------------------------------+
|           | C2a |           | C4a |
| Text in   +-----+-----------+-----+
|           | C2b |           | C4b |
| Column 1  |     | Text in   |     |
|           | C2c |           | C4c |
+-----------+-----+ Column 3  +-----+
|           | C2d |           | C4d |
+-----------+-----+-----------+-----+


maybe that works for you.

cheers,
jan

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list