Code: Select all
\color{blah} field1 & \color{blah} field2 & ... \color{blah} fieldN \\
Code: Select all
\color{blah} field1 & \color{blah} field2 & ... \color{blah} fieldN \\
NEW: TikZ book now 40% off at Amazon.com for a short time.
Thanks, but could you be more specific as to what part of colortbl? I don't see any commands in there that appear to control text color at the entire row level.Annabel wrote:I guess the colortbl package is the right one for you:
Code: Select all
\begin{tabular}{|l|c|}
\rowcolor[gray]{.9}
one&two\\
\rowcolor[gray]{.5}
three&four
\end{tabular}
I am looking at it and the text color is black in both rows. It is only the background color that's affected by the \rowcolor (unless you're looking at some different PDF - I'm on page 5 of this colortbl.pdf.Annabel wrote:What do you mean? There is an example in the manual:
...
You should be able to change gray into whatever colour you like (have a look at the PDF).
NEW: TikZ book now 40% off at Amazon.com for a short time.