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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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