Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Quote, abstract Up: Environments Previous: Tabbing

Verbatim

Within this environment things come out unformatted. It's useful for showing examples of typed input and provides a way of printing characters that have a special meaning for LATEX.

\begin{verbatim}
caret is ^, tilde is ~ and backslash is \
\end{verbatim}

produces

caret is ^, tilde is ~ and backslash is \
If you just want to quote a few characters, use \verb|quoted text|. The characters delimiting the quote can be anything as long as they are the same.



© Cambridge University Engineering Dept
Information provided by Tim Love
2006-08-30