GeneralSpanning multiple rows in tabular

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
sveioen
Posts: 28
Joined: Tue Mar 06, 2007 1:04 am

Spanning multiple rows in tabular

Post by sveioen »

Hello all,

trying to make a nice tabular here, but I have a question. If you see the picture attached to this post you see my tabular so far. But I want to remove the two vertical-line column dividers in the last row, and have my text printed in the column in the middle (please take a look at the attached picture). I have tried something called multicolumn, but I am obviously doing something wrong :cry:

Thank you for any help!
Attachments
tab.JPG
tab.JPG (8.42 KiB) Viewed 4050 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

Spanning multiple rows in tabular

Post by pumpkinegan »

Use the multirow package.

Code: Select all

\multirow{3}*{text}
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Spanning multiple rows in tabular

Post by gmedina »

Without multirow,

Code: Select all

\begin{tabular}{|c||c|c|c|}
 \hline
 &&&\\ \hline\hline
 &&&\\ \hline
 &\multicolumn{3}{c|}{text}\\\hline
\end{tabular}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
sveioen
Posts: 28
Joined: Tue Mar 06, 2007 1:04 am

Re: Tabular help

Post by sveioen »

Excellent. Thank you!
Post Reply