[texhax] grouping attributes (text color)

George Georgalis george at galis.org
Wed Feb 13 19:38:37 CET 2008


On Mon, Jan 28, 2008 at 11:19:20PM -0500, Martin Heller wrote:
>George Georgalis skrev:
>
>> I presume the text color changes are not adequately "protected" or
>> reset across header/footer on page rendering. Is there a way to
>> fix this without using floating tables? I'd like the ability to
>> prevent a pagebreak within a Verbatim, but hopfully the fix will
>> allow the possibility of Verbatim crossing page boundaries.
>
>Possible solutions?
>- Try with a different verbatim environment, e.g. listings.
>- See if package pdfcolmk helps.
>- If the problem is the same as the problem with color in 
>footnotes or parallel texts maybe you can use pdfcol to solve it. 
>See packages pdfcolfoot and pdfcolparallel for how it has been 
>done in those cases.


The listings env looks particularly appropriate, I'll try
that straight away next time, but in the interest of
wrapping up the doc, I just made the Verbatim text black
and the problems went away.

// George


-- 
George Georgalis, information system scientist <IXOYE><


More information about the texhax mailing list