Prev Next

Example Using Font Commands

fixed, code, italic, bold, big, small
The font commands fixed, code, italic, bold, big, small, change to the specified font.

Execute The Following Steps

font_example.omh
Use an editor of your choice to create the file font_example.omh in the test directory with the following contents:
     
$begin
font_example$$
     
     $section Example Using Font Commands$$
     
     $fixed This text is in the fixed font.$$
     $pre
     $$
     $code This text is in the code font.$$
     $pre
     $$
     $italic This text is in the italic font.$$
     $pre
     $$
     $bold This text is in the bold font.$$
     $pre
     $$
     $big This text is in a bigger font.$$
     $pre
     $$
     $small This text is in a smaller font.$$
     
     
     $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 .

Example In This Web Site Context
You can view the result of making font_example.omh part of the OMhelp help web site by selecting font_example .

Execute OMhelp
In a command window and in the htm directory execute the following command
 
     omhelp ../font_example.omh -noframe

Example by Itself
Use a web browser of your choosing to view the file test/htm/head_example.htm .
Input File: getstarted/start_font.omh