The easiest way to define a new style is to use some manually-formatted text in the editor as a model. This allows you to see what you are doing much more clearly than when you are setting attributes in the formatting dialogs.
1.Use manual formatting options to format a paragraph so that it looks exactly as you want your style to look. 2.Click in your model paragraph, then select Styles > Create Style from Selection in the Write tab. ![]() 3.Select the Create a new style option and enter a name for the new style. 4.If you want the style to have a parent select a style in the Based on Style: list. The new style will then inherit all the attributes of the parent style that are not different from the current paragraph in the editor. If you do not want the style to have a parent scroll to the top of the list and select (None). 5.Make sure that the Assign paragraph attributes option is checked, then click on OK to create the new style. |
You can also create new text styles based on text in the editor. The procedure is almost the same as for a paragraph style. 1.Format some text so that it looks exactly as you want your style to look. 2.Click in the formatted text, then select Styles > Create Style from Selection in the Write tab. ![]() 3.Select the Create a New Style and enter a name for the new style. It is a good idea to enter a prefix to identify it as a text style, for example "T_". 4.If you want the style to have a parent select a text style in the Based on Style: list. If you use this option the parent style must be another text style. The new style will then inherit all the attributes of the parent style that are not different from the current paragraph in the editor. If you do not want the style to have a parent scroll to the top of the list and select (None). 5.Deselect the Assign paragraph attributes option, then click on OK to create the new style. |
You can also modify a style on the basis of a modified paragraph or text formatted with the style. This is often the easiest way to edit a style because it is much easier to see your formatting in the editor. 1.Use the manual formatting tools to format a paragraph or some text formatted with the style you want to change. 2.Make sure that the cursor is inside the formatted text, then select Styles > Create Style from Selection in the Write tab. You don't need to select any text, the cursor must only be inside the formatted text you want to use as a model. If you do select text it should all be formatted in the same way – don't try to create a style based on text with some words formatted in one way and some in another! 3.Select the Change existing style option in the dialog displayed. The style at the cursor should be selected automatically. If it isn't close the dialog and check the position of the cursor in the editor. ![]() The Assign paragraph attributes option will be selected automatically for paragraph styles and deselected for text styles. Only change this if you want to change the style type. (See Paragraph and text styles for details on changing the style type.) 4.Click on OK to apply the changes to the selected style. See Defining styles for details on using this function to create a new styles. |
If you paste text from another Help+Manual project containing styles that are not defined in your current project the unknown style will be displayed in red in the style selector. You can convert this to a "known" style with Create Style from Selection. ![]() Unknown styles are displayed in red 1.Place the cursor inside the pasted text so that the red style name is shown in the style selector. 2.Select Styles > Create Style from Selection in the Write tab. ![]() 3.Select the Create New Style option and type the name of the unknown style exactly as it appears in the style selector (the red text) 4.If you want to make the style the child of an existing style select the name of the parent style you want to use in the Based On Style: list. The new style will then inherit all common attributes from the parent style. |
See also: