Stylesheet Development with PTC ALD > Adding PTC ALD Code to Stylesheet Source > Samples > Colors > Set Text, Line, and Background Color
  
Set Text, Line, and Background Color
Samples directory: Arbortext-path/samples/ALD/Colour
Sample file: SettingColours.xml
Main stylesheet: SettingColours.style
Stylesheet modules: baseStylesheet.style and ColourPropertySets.style
The sample is based on the standard axdocbook document type. It demonstrates how to set colors for inline text:
Text color
Color of underline
Color of strikethrough line
Background color
Inline text is tagged as emphasis. The emphasis tags in each paragraph reference a different property set, each of which includes PTC ALD source code edits to set text color. Access the source code for the property set by selecting it in the Property Sets list, and using the Edit > Edit Property Set Source > APP menu option.