Friday, August 28, 2009

How to add space after \hline in LaTeX tables

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

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.


  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.

  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!!

  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.

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