Graphics, Figures & Tables ⇒ Horizontal line in a table spanning over several columns
Horizontal line in a table spanning over several columns
I have a table with 5 columns. Is there any way to make a horizontal line that runs through columns 1 and 2, skips column 3 and runs through columns 4 and 5?
NEW: TikZ book now 40% off at Amazon.com for a short time.
Horizontal line in a table spanning over several columns
Yes, there is. Just use the command \cline{m-n} after the rows you need. M and N are the number of the columns with horizontal rules. Thus, using your example, you just have to type
in order to get an horizontal line through the table, except in column 3.
Hope this helps.
Lucia
Code: Select all
\cline{1-2}\cline{4-5}
Hope this helps.
Lucia