loading table of contents...

2.4.3. Creating a user-defined style

To create a new user-defined style, click the button "New" next to the Inline-Styles or Block-Styles list. This opens the following dialog:

Figure 2.4.2. New style dialog

Enter a Style-ID to be used as a unique name for this style. Spaces or punctuation characters are not allowed within the Style-ID. Optionally, you can supply a Style-Name that can be a more descriptive text. The Style-Name can contain spaces and punctuation characters.
It is recommended to choose a Style-ID and Style-Name that describe the semantic of the style rather then the physical formatting. For example, the Style-ID "warning_header" is preferable to "bold_header", because the former indicates that the style shall be used for warnings, whereas the latter prescribes the formatting. In the latter case, if you need to change the formatting from bold to underlined, the formatting will no longer fit to the ID of the style.
The "Preview" area of the style-dialog shows a preview of the style (applied to the dummy text "Abc def..."). By default no style properties are set, i.e. the text is rendered with the system's default font and color. See the chapter Section 2.4.4, “Editing styles” on how to edit the style properties.
After the editing of the style settings, click the "Okay" button to create the new style. The style is then available for all languages (i.e. the original language and all translation languages). Be aware however, that the style is only created for the currently opened product version.