Skip to main content

Style the Font for Inline Elements

To style the font for inline elements in PDFs, such as guilabel and guimenu, use the settings in the PDF layout.

Note

For HTML outputs, use CSS to style the classes (see Style with CSS).

  1. Select Layout in the top menu.

    Paligo editor. The Layout option in the header menu is highlighted.

    Paligo displays a list of Layouts. The list is empty if there are no custom Layouts in your Paligo instance.

  2. 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.

  3. Select Inline elements and then the category for the type of inline element you want to style, for example, guilabel.

  4. Use the font settings to style the appearance of the text:

    • Font family for <inline element>

      Choose the typeface for the inline element from the available list.

    • Font size for <inline element>

      Enter the font size, including the units of measurement, for example, 12pt or 1.2em

    • Font weight for <inline element>

      Set the thickness of the text for the inline element. Choose from the list, which includes options for a range of widths, including thin, semi bold, and extra bold.

    • Font style for <inline element>

      Set the text for the inline element to italic, backslant (leaning backwards), or normal.

    • Font variant for <inline element>

      Set the font to display as normal or as small caps. The small caps option turns lower case letters into reduced height capital letters.

    • Capitalization for <inline element>

      Set the text for the inline element to be shown as normal, all capital letters, or all lower case.

      Note

      If you have set the Font variant to small caps, it will affect the capitalization options too. The capitalization options will work like this:

      • Upper case sets uppercase letters to appear at full height. Other letters are shown as reduced height capital letters (small caps).

      • Lower case has no effect.

    • Letter-spacing for <inline element>

      Define the amount of spacing between the letters of the inline element. Enter the value and the units of measurement, for example, 0.2pt.

  5. Select Save. Save icon.

When you publish using this layout, Paligo will apply the styling to the appropriate elements.

To learn about the other settings for PDF inline elements, see Inline Element Styling (PDF).