[texhax] custom style sheet

Uwe Lueck uwe.lueck at web.de
Fri Aug 19 12:41:21 CEST 2011

"Michael P. Soulier" <msoulier at digitaltorque.ca> wrote 19.08.2011 11:09:09:
> On 19/08/11 Arnaud Schmittbuhl said:
>> Le Thu, 18 Aug 2011 20:52:32 -0400,
>> "Michael P. Soulier" <msoulier at digitaltorque.ca> a écrit :
>> > 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.
>> It has to be done inside the tabular environment
> Yes, which is what I do now, but it has required me to patch the tool that's
> generating my LaTeX, so it's unfortunate that this cannot be done via
> stylesheet. That would seem to be what a stylesheet is for, but alas...

What about


in your style file (re-using Arnaud's code); in your document source:

  head    & head  & head\\
  even    & even  & even\\
  odd     & odd   & odd \\
  even    & even  & even\\


I also wonder what happens if the \rowcolors command occurs once
in the style file only (instead of my proposal above).



More information about the texhax mailing list