Carrying onTabbingSimulating typed textContentsIndex

Simulating typed text

The verbatim environment and the \verb command are implemented. The starred varieties are currently not implemented. (The implementation of the verbatim environment is not the standard LaTeX implementation, but the one from the verbatim package by Rainer Schöpf).

Furthermore, there is another, new environment example. example is also useful for including program listings or code examples. Like verbatim, it is typeset in a typewriter font with a fixed character pitch, and obeys spaces and line breaks. But here ends the similarity, since example obeys the special characters \, {, }, and %. You can still use font changes within an example environment, and you can also place hyperlinks there. Here is an example:

   To clear a flag, use
   \begin{example}
     {\back}clear\{\var{flag}\}
   \end{example}

(The example environment is very similar to the alltt environment of the alltt package. The difference is that example obeys the % character.)


July 13, 2005

Carrying onTabbingSimulating typed textContentsIndex