Prev Next Index-> contents reference index search external Up-> overview get_started start_head overview-> License why Install get_started running files titles+headings cross format spellchecking latex other browser glossary whatsNew get_started-> start_simple start_head start_image start_pre start_font start_spell start_latex start_verbatim start_embed start_multiple start_cref start_index start_head-> head_example Headings-> Introduction Execute The Following Steps ---..head_example.omh ---..Example In This Web Site Context ---..Execute OMhelp ---..Example by Itself

Introduction
The head and subhead commands start new paragraphs with a specified title. Each section has an tree structure in which the section title corresponds to the root, the headings titles correspond to the next level, and the subheadings titles correspond to the last level of the tree.

Execute The Following Steps

Use an editor of your choice to create the file  head_example.omh in the test directory with the following contents:       $begin head_example$$section Example Headings$$$head First Heading$$The text "First Heading" is the heading above this paragraph. subhead Subheading Of First Heading$$ The text "Subheading Of First Heading" is the subheading above this paragraph. $head Second Heading$$The text "Second Heading" is the heading above this paragraph.$end  Note that you can copy and paste the commands above to your editor window. You may just copy the file with the same name from the getting started directory .
You can view the result of making head_example.omh part of the OMhelp help web site by selecting head_example .
In a command window and in the htm directory execute the following command  omhelp ../head_example.omh -noframe 
Use a web browser of your choosing to view the file test/htm/head_example.htm.