Skip to main content

Admonition Styling (PDF)

Use the PDF Layout's Admonition settings (General, Graphical, and Nongraphical) to change the appearance of notes, warnings, cautions, and other admonitions.

Close-up of PDF Layout's Admonitions settings. There is an Admonitions category and it has General, Graphical, and Nongraphical subcategories.

Before you start editing the admonition styles, we recommend you read Which Admonition Parts Can You Style?.

You can change the appearance of your notes, warnings, and tips to meet your needs. 

For HTML/HTML5 outputs, you can use CSS to customize the appearance, see Style Admonitions with CSS.

For PDF outputs, you can set the colors and icons in the PDF layout. 

  1. Select Layout.

  2. Select the PDF layout that you use for publishing the content.

  3. In the Layout Editor, use the Annotations options (1 and 2 in the following image) to define the appearance. There are settings for adjusting the font size, colour, icons, and spacing.

    change-admonitions-pdf.png
  4. Select Save.