How to use mathematics in a verbatim-like environment
- Add the alltt package to your document.
- Enter an encapsulated TeX field.
- Type \begin{alltt} to begin the alltt environment.
- Begin entering the content of the verbatim environment.
-
For each mathematical element,
- Type \( to begin mathematics.
- Type the commands for the mathematical statement or symbol you want.
- Type \) to end mathematics.
- Complete the content.
- Type \end{alltt} to close the environment.
- Choose OK.
The package has no options. Alltt is provided automatically with LaTeX and is
installed in the TCITeX/TeX/LaTeX/base directory of your program directory.
The original Website can be found here: http://www.mackichan.com/index.html?techtalk/458.htm~mainFrame
Aucun commentaire:
Enregistrer un commentaire