Shading format components apply to paragraph, character, table, row, and cell formats. When you want shading applied to text, to parts of a table, or to components of a page (RTF only), assign the name of a shading format component to the item to be shaded. The default is no shading.
As a convention, the name of any shading format component should end in Shade. If you give a shading format component a name that does not end in Shade, if the definition is in a file different from the file where it is referenced, DITA2Go will not be able to find the format component. (But see §8.9 Localizing output headings, labels, and names.)
Shading properties are as follows:
(RTF only) horiz, vert, fdiag, bdiag, cross, dcross, or dk followed by any of the other patterns (as in dkcross) |
|
Percent of color if no pattern, ignored if there is a pattern |
Properties type and background color apply only to RTF output.
[DangerShade]
type = dcross
color = orange
[CautionShade]
color = yellow
tint = 80%
[WarningShade]
color = red
tint = 10%
To override shading properties for a particular instance of an element, you can specify a different property in the outputclass attribute for that instance. See §8.4 Overriding border and shading properties.