Friday, August 28, 2009

How to add space after \hline in LaTeX tables

Try the following:
\hline \\[-1.0em]
Voila!

Of course, you can change the numbers and units inside the brackets.

Cite as:
Saad, T. "How to add space after \hline in LaTeX tables". Weblog entry from Please Make A Note. https://pleasemakeanote.blogspot.com/2009/08/how-to-add-space-after-hline-in-latex.html?m=0

6 comments:

  1. Thanks for this! I had spent a long time trying to fix \cellcolor bleeding over \hlines in my table before I came across your post.

    ReplyDelete
  2. I do not understand the language of the first comment, but it is an Impressive and attractive posting. I enjoyed it. I think others will like it & find it useful for them. Good luck with your work!!

    ReplyDelete
  3. I was looking for this information, thanks for put in this easy way, I mean in a easy way to understand it jajaja, well until the next time.

    ReplyDelete
  4. This doesn't quite work if you use something like |c|c|, because there will be a gap in the lines.

    ReplyDelete