1

I'm aware of the cline command within tabular to only draw a line between two columns.

Is there an (easy) equivalent for vertical lines? (across rows?)

I am aware of the multirow package, but I think this solution is particularly tedious and doesn't really allow for the nice tables I expect from LaTeX.

  • 4
    You mention "nice tables"... then you should forego the use of vertical rules. Read the booktabs documentation: "(1) Never, ever use vertical rules; (2) Never use double rules." – Werner May 2 '14 at 17:23
  • 1
    That's a pretty poor excuse for excluding the functionality. I'm using a typesetting program to have control over whatever I can think of. By this argument I could stop right here and migrate to Microsoft Word. :/ – 1010011010 May 2 '14 at 17:25
  • 2
    That's not the point. Either way, when you start trying to have control over everything, then for sure you're run into things that are tedious and things that are not. You can't just have your cake and eat it... You're specifically talking about rules, correct? Horizontal rules are adjustable in terms of their column visibility via \cline. For vertical rules, you have to use a re-specification of the cell via \multicolumn{.}{<spec>}{..}. – Werner May 2 '14 at 17:32
  • 1
    This code can't compile… So what? – Bernard May 2 '14 at 17:59
  • 1
    it's much better to edit the question and use the {} button to format code rather than putting code in comments (and please make it a complete document that shows the problem) – David Carlisle May 2 '14 at 19:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.