To specify the properties of a conditional flag:
[ConditionalFlags] flagname = property1 property2=value property3 ...
The property and property=value assignments are space delimited.
Properties you can assign to flagname include:
fgcolor |
||
bgcolor |
||
chcolor |
||
underline |
||
doubleline |
||
numunderline |
||
overline |
||
strike |
||
italics |
||
bold |
||
change |
||
chcolor |
||
chchars |
||
startflag |
||
endflag |
For colors, the property name is followed by an equals sign, then by the name of a color, or by the #RRGGBB hex value of the color. Color names you can specify include:
[ConditionalFlags] whitefore = fgcolor=white blueback = bgcolor=blue greenback = bgcolor=green
A flag may have no more than one foreground color and one background color; if both are assigned, the colors must be different. If the colors are the same, a conflict occurs, and the conflicting properties are replaced by the properties of the conflict flag; see §9.4.3 Highlighting conflicting flag properties.
Line properties underline, overline, and strike can be combined for a single flag. However, underline, doubleline and numunderline cannot be combined. Properties bold and italics can be combined for a single flag; they can also be combined with a line property.
[ConditionalFlags] deleted = italics strike fgcolor=red
To show change bars, assign property change to a flag. When you assign change, you can also assign the following properties to the change-bar flag:
Property chcolor may be any of the colors listed under Colors, or the #RRGGBB hex value of the color. Property chchars may consist of punctuation characters only.
[ConditionalFlags] altered = change chcolor=teal chchars=*!*
You can use a conditional flag to precede and follow an element with images or with text. This can be another way to substitute for change bars in output types such as HTML that do not support change bars. The idea would be to start the revised element with an icon something like >> and end it with <<; or to specify surrounding text such as Start of change and End of change, perhaps in a contrasting color.
[ConditionalFlags] altered = startflag endflag fgcolor=red bold
When you assign startflag and endflag, you must also provide links to the images, alternate text to display, or both; see §9.4.2 Providing images and alt text for startflag and endflag.