Elements and Attributes

3 min read

Emphasis

To emphasize a word or a sequence of words in your content, use:

  • Bold text

  • Italicized text

  • Underlined text

  • Inline elements that are presented as bold text, such as guilabel.

To learn how to use the emphasis element to add bold, italic, or underlined text, see Add Emphasis.

To learn how to add other inline elements, some of which may be styled to stand out in the published content, see Block elements and inline elements.

Note

DocBook 5.1 has many other inline elements you can use in Paligo.

Add Emphasis

By using the emphasis element, you can create bold, italic, and underlined text. There are several ways to add the emphasis attribute to your content, and we will explain them all in this article.

Note

Some other inline elements are automatically styled to have bold text for emphasis. For example, guilabel is designed for user interface labels and appears as bold text. You can apply guilabel and other inline elements by using the Element Context Menu. For instructions, see Block elements and inline elements.

Tip

To apply more than one type of emphasis to the same text, use the toolbar options on the Edit toolbar. This is the only way to use a combination of emphasis styles.

Add Emphasis from the Edit Toolbar

To add emphasis from the Edit toolbar:

  1. In the Content Manager, select a topic to open it in the editor.

  2. Highlight the word or sequence of words that you want to be emphasized.

  3. On the Edit tab, select the type of emphasis you want:

    1. Bold

      Bold uses the emphasis element. The emphasis element has a role attribute with a value of bold.

    2. Italic

      Italic uses the emphasis element on its own, with no role attribute.

      Note that some people may find italic difficult to read, especially for long sequences of words. For readability, it may be better to use a different style for emphasis.

    3. Underline

      Underline uses the emphasis element with a role attribute that has its value set to underline.

    Note that with the toolbar options, you do not have to manually add the emphasis element or its role attribute and value. You highlight your text, select the toolbar button, and Paligo applies the element, attribute, and value for you.

Add Emphasis using Keyboard Shortcuts

To use keyboard shortcuts to add emphasis:

  1. In the Content Manager, select a topic to open it in the editor.

  2. Highlight the word or sequence of words that you want to be emphasized.

  3. Use the appropriate keyboard shortcut:

    • Bold: Ctrl + B (Windows) Command ⌘ + B (Mac)

    • Italic: Ctrl + I (Windows) ORCommand ⌘ + I (Mac)

      Note that some people may find italic difficult to read, especially for long sequences of words. For readability, it may be better to use a different style for emphasis.

    • Underline: Ctrl + U (Windows) ORCommand ⌘ + U (Mac)

Add Emphasis using the Element Context Menu

To use the Element Context Menu to add emphasis:

  1. In the Content Manager, select a topic to open it in the editor.

  2. Highlight the word or sequence of words that you want to be emphasized.

  3. Press Alt + Enter ⏎ (Windows) or Command ⌘ + Enter ⏎ (Mac) to display the Element Context Menu.

  4. Select the emphasis element to apply it to your selected text.

    If you want to use italic as the emphasis style, you can ignore steps 5 and 6. Continue from step 7.

    If you want to use bold or underline as the emphasis style, continue from step 5.

  5. Select the emphasis element in your text so that you can see it as the last entry on the Element Structure Menu.

  6. In the Element attributes side panel, give the emphasis element the role attribute. Set the role attribute's value to the style that you want:

    • bold

    • underline

    Note

    Italic text uses the emphasis element without a role attribute or value.

  7. Select Save.

Remove Emphasis

To remove emphasis:

  1. Highlight the text that you no longer want to be emphasized

  2. Select the Remove format icon on the Edit tab's toolbar.

Paligo removes the inline emphasis element but leaves its content in the text.

Alternatively, you can use keyboard shortcuts:

  • Alt + Shift ⇧ + F (Windows)

  • Option ⌥ + Shift ⇧ + F (Mac)

For more details, see Delete Inline Elements.