Typography
Set typography for specific parts of the document and add basic formatting capabilities.
Overview
Resource location: | @import url("https://jorsek.github.io/pdfgen.github.io/styles1.1/modules/styling/typography.css"); |
Common Customizations
You can apply customizations by pasting the following code snippets under the @import
rules.
By default, there is a limited number of fonts that you can use for customizations. If you want to add a particular font to the system, contact your Customer Success Manager.
- Set the cover page font
-
/* Set the cover page font. */ .title-text { font-family: Verdana, Geneva, Tahoma, sans-serif; }
- Set the table of contents font
-
/* Set the table of contents font. */ body { font-family: Verdana, Geneva, Tahoma, sans-serif; }
- Set the header and footer font
-
/* Set the header and footer font. */ @page { font-family: Verdana, Geneva, Tahoma, sans-serif; }
- Set the document body font (excluding titles)
-
/* Set the document body font (excluding titles). */ article, article * { font-family: Verdana, Geneva, Tahoma, sans-serif; }
- Set the document body titles font
-
/* Set the document body titles font. */ .title, .title *, .table--title-label, .fig--title-label, figcaption:not(figcaption > .desc) { font-family: Verdana, Geneva, Tahoma, sans-serif; }