next up previous
Next: Indenting and Spacing Up: The Latex Source File Previous: Sections

Examples and Fonts

Set examples, commands, and file contents apart from the rest of the text by using different fonts. These contents may have to be protected from interpretation from latex or some other processor, so encase them in a verbatim element set as a matter of course:

  {\ttfamily \begin{verbatim}
    Some example text
  \end {verbatim} }

This example includes a space character between the 'end' element and the 'verbatim' element. This is an error in the example. It is necessary as I don't know how to correct it (right now) and have the example "work right". Remove this space in real Latex documents or the example section will not end properly.



Troy Johnson 2004-01-12