Prev Next

Example Using Font Commands

fixed, code, italic, bold, big, small
font_example.omh
Example In This Web Site

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

font_example.omh
Use the editor of your choice to create the file font_example.omh in the xam 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
You can also just copy font_example.omh from the omh/getstarted directory . Once you have done this, you can execute omhelp with example_name equal to font_example.

Example In This Web Site
You can view the result of making font_example.omh part of the OMhelp help web site by selecting font_example .
Input File: omh/getstarted/start_font.omh