loading table of contents...

2.3.8.2. Applying styles

icon_bold Strong
By clicking on this icon, the selected text will be marked as "strong". By default, a text marked as "strong" will be formatted in bold. The format of text marked as "strong" is defined by the inline style with ID "strong". See Chapter 2.4, Styles workspace for details on editing inline styles.   
icon_italic Emphasis
By clicking on this icon, the selected text will be marked as "emphasized". By default, a text marked as "emphasized" will be formatted in italic. The format of text marked as "emphasized" is defined by the inline style with ID "emphasis". See Chapter 2.4, Styles workspace for details on editing inline styles.
icon_underline Underline
By clicking on this icon, the selected text will be marked as "underlined". By default, a text marked as "underlined" will be underlined. Nevertheless, the formatting is defined by the inline style with ID "underline" and can therefore be changed. See Chapter 2.4, Styles workspace for details on editing inline styles.
icon_strikethrough Strike-through
By clicking on this icon, the selected text will be marked as "strike-through". By default, a text marked as "strike-through" will be formatted as crossed out. Nevertheless, the formatting is defined by the inline style with ID "strike" and can therefore be changed. See Chapter 2.4, Styles workspace for details on editing inline styles.
icon_subscript Subscript
By clicking on this icon, the selected text will be formatted as a subscript (e.g. as the number two in H2O).
icon_superscript Superscript
By clicking on this icon, the selected text will be formatted as a superscript, e.g. as the number two in x2 (mathematical notation for x multiplied by itself).
styles_select_listbox Styles listbox
The styles drop-down listbox lists all styles that can be applied to the content by the user. Three types of styles exist: inline-styles, block-styles and the system-defined index-term style (see screenshot below). For more information on the creation of user-defined inline- and block-styles see Chapter 2.4, Styles workspace.
editor_styles_list

Figure 2.3.62. Content editor style selection

Inline styles
The first section of the drop-down box lists all existing inline-styles in alphabetical order. To apply an inline-style to text within a paragraph:
  1. Select the text to be formatted.
  2. Select the inline-style from the drop-down list. 
To remove an inline-style from text within a paragraph:
  1. Select the complete text from which the inline-style shall be removed.
  2. Select the currently assigned inline-style from the drop-down list or press the "Remove formatting" icon_remove button (see Remove formatting).
Index styles
The second section of the drop-down listbox lists the system-defined index-term style which is used to create hidden index entries. For more information on the creation of index entries see Section 1.13.6, “Creating index entries”.
Block styles
The third section of the drop-down box lists the user-defined block-styles in alphabetical order. Perform the following steps to apply a block-style to one or more paragraphs:
  1. Move the cursor to a position within the paragraph or select all paragraphs to be formatted.
  2. Select the block-style from the drop-down list.
To remove a block-style from a single paragraph:
  1. Move the cursor to a position within the paragraph or select the complete paragraph (e.g. by triple-clicking a position within the paragraph).
  2. Select the currently assigned block-style from the drop-down list or if the complete paragraph is selected, press the "Remove formatting" icon_remove button (see Remove formatting).
To remove a block-style from a sequence of paragraphs:
  1. Select all paragraphs from which the currently assigned block-style shall be removed.
  2. Select the currently assigned block-style from the drop-down list or press the "Remove formatting" icon_remove button (see Remove formatting).
Notes:
  • A block style can only be applied to a complete paragraph or a sequence of paragraphs (i.e. a block-style forces a line-break before and after the block), whereas an inline style can only be applied to text within a paragraph (i.e. an inline-style will not cause any line-breaks).
  • The system-defined header styles and the product's default style are not listed in the drop-down list, because these styles are not allowed to be applied by the user.
icon_remove Remove formatting
To remove a previously assigned inline-style from a selected text or to remove a block-style from one or more selected paragraphs, following steps have to be performed:
  1. Select the text or paragraphs from which the assigned styles shall be removed.
  2. Click the "Remove formatting" icon_remove button.