Style the Admonition Text for PDF
Learn how to style the body text in admonitions for PDF outputs. Choose the font and set the size and color.
Admonitions have body text that provides the user with information. Typically, the body text is in para
elements, but you can also include lists and other types of content. We recommend that you keep admonitions short and concise.
To style the body text for PDF outputs, use the settings on the PDF layout:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Admonitions.
-
Select General.
-
Use the following settings to style the text for admonitions:
-
Default font family for admonition text - Choose the typeface that Paligo will use for admonition text by default. Select the typeface from the list of available fonts.
-
Default font size for admonition text - Set the default size of the admonition text. Enter a value and the units of measurement, for example, 12pt.
-
-
Use the following settings to set the color for your admonition text. The color applies to the title and the body text.
-
Font color for 'Note'
-
Font color for 'Notice'
-
Font color for 'Warning'
-
Font color for 'Danger'
-
Font color for 'Caution'
-
Font color for 'Tip'
-
Font color for 'Important'
-
-
Clear the Use default color checkbox to select a color of your own choice.
-
Set the color either by:
-
Entering an RGBA code for the color you want (1).
-
Selecting the Color square to display the color selector (2).
-
Choose the color with the spectrum bar (3).
-
Control the transparency with the opacity bar (4).
-
Choose the color shade with the main color panel (5).
-
-
-
Select Save.
Tip
To learn:
-
How to indent admonition body text, see Set the Admonition Spacing for PDF.
-
About using the other PDF layout settings to style admonitions, see Admonition Styling (PDF).