Doc-O-Matic
 
Doc-O-Matic 6
PreviousUpNext
Formatting Paragraphs
See Also
Formatting Elements

User Heading, Text, Code, Preformatted Text

In addition to formatting blocks of text or single words by clicking , , ,, , you can format paragraphs using the Paragraph menu on the toolbar and the toolbar buttons.

  1. Place your cursor in the paragraph you want to format.
  2. In the Paragraph menu, select a paragraph type.
  3. Do one of the following:
    • Select Text for normal paragraphs.
    • Select Heading to apply heading formatting.
    • Select Preformat to format paragraphs preformat. No line feeds and white spaces are removed from the text when it is rendered.
    • Select Code for code examples in your text. No line feeds and white spaces are removed. Additionally, in the generated documentation the text is rendered using a fixed-pitch font.
    • To set the programming language that is used to syntax highlight the code block do one of the following:
      • Select Default to use the default settings to syntax highlight the code paragraph. For more information about default settings for syntax highlighting, see Formatting Code.
      • Select a programming language from the Code menu, to set the language manually.
  1. Click in the paragraph you want to align.
  2. Do one of the following:
    • Click Align Center , to center the paragraph.
    • Click Align Left , to left-align the paragraph.
    • Click Align Right , to right-align the paragraph.
    • Click Align Justify , to justify the paragraph.

You can syntax highlight code block in symbol topics and in generic topics. In symbol topics code is syntax highlighted according to the programming language of the symbol. For generic topics you can determine which programming language is used to syntax highlight code blocks. To change the programming language used to syntax highlight you can select a programming language from the Code menu.

Copyright (c) 2000-2008 toolsfactory software inc. All rights reserved.