Defining a Style in Word

Doc-To-Help provides a wide variety of styles that can be used to format your source documents. In rare cases, these existing styles may not be exactly what you need. If necessary, you can define a new style (paragraph or character) and add it to your "source" template. Please note that creating styles is an advanced feature and is not necessary in most cases.

1.   In the Icon Bar, click Project.

2.   In the left pane, select Templates.

3.   In the right pane select C1H_NORM.DOT, right-click and select Open from the Shortcut menu. This opens the C1H_NORM template that is used as the default template for formatting the source documents in Doc-To-Help. 

Note that the following message explaining the Doc-To-Help digitally signed template displays when you open any of the preloaded templates.

4.   Scroll down to the bottom of the template file and place your cursor on an empty line.

5.   Select Format | Styles and Formatting. The Styles and Formatting window opens.

6.   Click New Style.

7.   From the New Style dialog box, type My Heading 2 in the Name textbox.

8.   From the Style based on drop-down, select the Heading 2 style.

9.   From the Style for following paragraph drop-down list, select the Body Text style.

10.  Check the Add to template checkbox.

11.  Click the Format button and select Font.

12.  Set the font to Times New Roman.

13.  Set the font size to 16.

14.  From the Font Color drop-down list, select the color blue.

15.  Click OK. Your New Style dialog box should look like this.

16.  Click OK.

17.  Click the style name to apply the new style.

18.  Select File | Save.

19.  At this point, do not close the template. We will start from here with our next lesson.

For more information on Help targets, see Working with Styles in Word.