I have succeeded in finding a way to color alternating rows in a table but I need to find a way to also color the text and the horizontal lines that make up the table. I also can't seem to find a way to create a header row and bold the (ideally colored) text in that row. Here's what I have so far:
In the preamble, I added:
Code: Select all
\usepackage[table ]{ xcolor}
Code: Select all
Code, edit and compile here:
\begin{table}[hbp]\rowcolors{2}{purple!15}{}\begin{tabular}{c p{12cm}p{12cm}|}\hlineItem & Details \\\hlineA & Sample text for the first row \\B & Sample text for the second row and blah blah blah blah blah blah blah blah blah blah blah blah blah \\C & Sample text for the third row and blah blah blah blah blah blah blah blah blah blah blah blah blah \\\hline\end{tabular}\end{table}
Thanks.
-Trip