[XeTeX] Background colour for some (but not all) rows of an \halign (UNIV: XeTeX, not XeLaTeX)

2021-03-03 Thread Philip Taylor
May I ask if there is a simple way to apply a background colour to some (but not all) rows of an \halign.  UNIV = plain XeTeX, not XeLaTeX. -- Philip Taylor

Re: [XeTeX] Background colour for some (but not all) rows of an \halign (UNIV: XeTeX, not XeLaTeX)

2021-03-03 Thread John Was
Hello Philip I don't know if the following would be classed as simple, but it puts a grey background to the second line of the table, and if required frequently the code could be wrapped up in a control sequence: \input pstricks \tabskip 0pt \halign to \hsize{% #\hfil \tabskip 0pt plus 1em& #

Re: [XeTeX] Background colour for some (but not all) rows of an \halign (UNIV: XeTeX, not XeLaTeX)

2021-03-03 Thread Philip Taylor
John Was wrote: I don't know if the following would be classed as simple, but it puts a grey background to the second line of the table, and if required frequently the code could be wrapped up in a control sequence: Thank you, John — that looks promising.  I will merge it into my 2021 year p