Is it possible to build tables with different sized columns and manage the vertical limits so it fits only the non-empty table cells? I know how to do this to horizontal lines (with \cline) but I don't know if it is possible to do it with columns.

\begin{tabular}{ | c | c | c | c | c | c | }: 

...maybe I can change something here, no idea.

Thank you

PS: I can add my code but I think it's too confusing because of the several multilines and multicollumns but if you think it helps, I can do it.

  • 1
    Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. You can say e.g. \multicolumn{1}{c}{} to get rid of the vertical lines on each side of a particular column. (Or change 1 to 2 to apply to 2 columns.)
    – cfr
    Commented Oct 31, 2014 at 2:18

1 Answer 1


You can use \multicolumn with an argument, where | is removed (the tabular in my example is certainly not as big as in your example):



\begin{tabular}{ | c | c | c | c | c | c | }


enter image description here


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .