Skip to main content

Emphasis and Symbols

There are many elements that you can use on parts of your text inside a paragraph, for example, you can make a word appear italicized by using the emphasis element, see Emphasis. These elements are inside a block element, and so are known collectively as "inline elements".

Normally, Inline Elements are added using the Element Context Menu, but there are exceptions like Emphasis (can be added in two ways) and Symbols and special characters (like @ and ©). Technically, these are not inline elements, but they are similar as you can include them inside a Block Elements such as a para.

Note

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

You can add emphasis (italic, bold or underline) to text in various elements, including para,code and parameter. Italicization is used for gentle emphasis and bold is used for heavier emphasis. Underline is a line drawn under the text, often used to create a blank to be filled in by hand or to create a horizontal line.

It is possible to use italic, bold and underline on the content at the same time. However, if using the emphasis attribute, the role value replace the default italicization. The solution is to use the emphasis attribute in combination with the toolbar buttons or keyboard shortcuts.

In Paligo, you can add emphasis in three different ways by using:

Toolbar_Edit_small.png

You can use Keyboard Shortcuts or the buttons in the the Editor Toolbar to add emphasis (such as italic bold and underline) to the content.

  1. Highlight the text that you want to be bold, italic or underline.

    Bold_Italic_Underline.png

    1 = Bold, 2 = Italic, 3 = Underline

  2. Select the relevant toolbar buttonOR use keyboard shortcuts:

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

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

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

  3. Select Save. Save icon.

You can use the Emphasis attribute to make the content bold, italic or underline. When adding the emphasis attribute, the text becomes italicized by default. If adding a role, the value (bold or underline) replace the default italicization.

If you want to use another emphasis when using the emphasis attribute, the solution is to use it in combination with the Toolbar buttons or Keyboard Shortcuts.

Important

You can use emphasis on text that already has an inline element, such as code. But it is important that the emphasis element is outside the inline element, for example:

 <para><emphasis><code>code snippet content goes here</code></emphasis></para>
  1. Highlight the text that you want to be bold, italic or underline.

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

    Element context menu shows a search field and a list of elements that are valid at the current position.
  3. Enter emphasis and select it.

    By default the text becomes italicized.

  4. To make it bold or underlined, select the emphasis element or highlight the text that uses it.

    empasis-role-bold.jpg
  5. Add the role attribute and set its value to bold or underline in the element attributes section.

    The italicization will be replaced with the chosen value.

  6. Select Save. Save icon.

There are two ways to remove content formatting such as italic, bold or underline, either use the button in the Editor Toolbar or use Keyboard Shortcuts.

  1. Highlight the text that you want to remove the formatting from.

  2. Select Remove format in the Toolbar. Remove_Formatting_small.png

    Toolbar_Edit_small.png

    OR use the keyboard shortcut:

    • Alt + Shift ⇧ + F (Windows)

    • Option ⌥ + Shift ⇧ + F (Mac)

  3. Select Save. Save icon.

To insert symbols and special characters in your topics, you can use the toolbar:

SpecialCharacters.png

If the character you need is not available in that map, you can also insert any character available using the standard method for your operating system, as described e.g here: How to Quickly Type Special Characters on Any Computer, Smartphone, or Tablet.

If the special characters you need are actually part of an equation, you should use an equation or inlineequation element instead, and use the built-in Math Editor.