Next: Colors in Tables Previous: Center Paragraphs and Images Contents: Contents |
Question:
How can I change the colors for text boxes (sample code)?
Answer:
Use the --box_color
and --boxtext_color
options:
pp2html --box_color #FFFF99 --boxtext_color blue input.pp |
or use the \BOXCOLORS
tag to control the colors of individual text boxes:
\BOXCOLORS{bg="#FFFF99" fg=blue} |
\BOXCOLORS{set=default} |
This should be in default colors again ... |
Discussion:
The --box_color
and --boxtext_color
options control the values of the default colors for background and foreground of text boxes.
The \BOXCOLORS tag changes the defaults, i. e. after this tag all following text boxes have changed colors. \BOXCOLORS{set=default}
returns to default values.
Next: Colors in Tables Previous: Center Paragraphs and Images Contents: Contents |