GeneralColor lines/borders within tables

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Skyflash
Posts: 4
Joined: Tue Apr 08, 2008 6:05 pm

Color lines/borders within tables

Post by Skyflash »

Hi Guys,

If I have a table and want the horizontal lines above and below my column headers to be blue how would i go about doing that? I've had a play and just can't seem to get it to work.

Cheers,

Marc

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Color lines/borders within tables

Post by Stefan Kottwitz »

Hi Marc,

try the colortbl package. With colortbl you can color rules, even \hline and \cline. You could use xcolor with table option, that loads colortbl too.

Stefan
LaTeX.org admin
Post Reply