Adding a New Color to the Color Scheme

If you would like to depart from the default color scheme and add a new color for some part of the output, you can do that by adding a new color to your style definition.

The following code creates a new purple color just for footnotes (the code has been abbreviated to save space, but the important changes are shown). First, the new color is added to the "color_list" style element. This new color is called fgNew and its color code is set to cx660066, which is a dark purple. Second, the new color is assigned to the name footnotefg in the colors style element. Finally, the new color name is assigned to the FOREGROUND= attribute in the SystemFooter style element. Previously, this style element contained only ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.