I would like to add one specific located horizontal space in a table (not after all rows like here). For instance, \addlinespace works perfectly well but not when vertical lines are added.

        blabla & blabla\\ \hline
        blabla & blabla\\ \hline
        blabla & blabla\\ \hline

Any suggestion will be appreciated. Please let me know if there is a more efficient and parsimonious solution.

  • \addlinespace is from booktabs, a package which does not really support vertical lines or better: booktabs is a package that is designed to provide nicely looking tables -- which is most times not the case for tables with vertical lines – user31729 Mar 6 '16 at 20:45
  • you mean vertical space, not horizontal I think. – David Carlisle Mar 6 '16 at 22:54
  • 2
    use \\[5cm] to add extra space without breaking the lines. – David Carlisle Mar 6 '16 at 22:55
  • Thanks @DavidCarlisle but \\[5cm] works only before \hline. I would prefer to have the horizontal space after \hline, which is the purpose of \addlinespace – emeryville Mar 7 '16 at 7:29
  • Really it is more normal to call that vertical space (it pushes the following line down, like \vspace) horiziontal space pushes the following things to the right, like \hspace the standard mechanism to do that without breaking likes is to replace \addlinespace by \rule{0pt}{5xm} – David Carlisle Mar 7 '16 at 8:05

You can increase the space under the \hrule by increasing the height of the next row for example replacing \addlinespace by \rule{0pt}{40pt} for some suitable height 40pt.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.