XML technologies / DocBook / Generating FO (PDF) / Modifying typography / Changing font families
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
Body text often uses a serif font, headings a sans-serif font, and code-like text a monospaced font. The following parameters control these choices:
Table: Available font parameters
Parameters | Default value | Description |
| serif | specifies the body-text font. |
| serif | a font containing symbols or figures. |
| monospace | a monospaced font. |
| sans-serif | font used for chapter, section, table and other titles. |
| sans-serif | a sans-serif font; currently unused by the stylesheets. |
| Symbol, | an additional font for symbols that may be absent from the main font. |
To change one of these settings, pass the parameter on the command line or add it to a customization file (see Customizing DocBook XSL stylesheets). The value must match your FO formatter’s font configuration. Consult your product’s documentation for details.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top