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
.
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:
-
The buttons in the Editor Toolbar
-
The
emphasis
attribute
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.
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
>
-
Highlight the text that you want to be bold, italic or underline.
-
Press Alt + Enter ⏎ (Windows) or Command ⌘ + Enter ⏎ (Mac) to display the Element Context Menu.
-
Enter
emphasis
and select it.By default the text becomes italicized.
-
To make it bold or underlined, select the
emphasis
element or highlight the text that uses it. -
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.
-
Select Save.
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.
-
Highlight the text that you want to remove the formatting from.
-
Select Remove format in the Toolbar.
OR use the keyboard shortcut:
-
Alt + Shift ⇧ + F (Windows)
-
Option ⌥ + Shift ⇧ + F (Mac)
-
-
Select Save.
To insert symbols and special characters in your topics, you can use the toolbar:
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.
Comments
0 comments
Article is closed for comments.