[texhax] custom style sheet

Uwe Lueck uwe.lueck at web.de
Fri Aug 19 09:27:09 CEST 2011


"Michael P. Soulier" <msoulier at digitaltorque.ca> wrote 19.08.2011 02:52:32:
> On 18/08/11 Uwe Lueck said:
>
>> During a more general discussion of typesetting tables elsewhere, I found
>>
>>     http://en.wikibooks.org/wiki/LaTeX/Tables#Alternate_Row_Colors_in_Tables
>>
>> So the \rowcolors command, provided by the xcolor pacakge
>> (which seems to use colortbl's \rowcolor), provides automatical toggling,
>> now row-wise \rowcolor needed.
>
> The problem with that is that there's no way I can see to specify an initial
> table header colour, followed by alternating colours, which is what I require.

What about specifying the header colour by \rowcolor in the first row
while the table is preceded by \rowcolors{2}...? See Section 2.12
of the xcolor documentation. The tables in xcolor.pdf use this feature.

HTH -- Uwe.



More information about the texhax mailing list