Verbatim environments
Alltt (Companion, p66)
The alltt package typesets text and control characters like verbatim, but
does not ignore commands (the meaning of \, { and } is unchanged).
Its syntax is \begin{alltt} ... \end{alltt}
Program (Companion, p104)
An environment designed for typesetting computer programs, specifically
Pascal. Click here
for documentation.
Verbatim (Companion, p66)
LaTeX2e verbatim extends the LaTeX original.
It includes a comment environment; all text is
skipped between \begin{comment} and \end{comment}.
Its version of the \verb command is more likely to work.
And there is no length limit on quoted text.
Moreverb (Companion, pp. 66-70)
This package adds new verbatim environments and commands.
Verbatimwrite
This environment outputs text to a file.
\begin{verbatimwrite}{file.out}
Blah
Blah Blah
Blah
\end{verbatimwrite}
will write the three lines between the delimiters to the file
file.out.
Verbatimtab
This environment expands TAB spacings. The syntax
is
\begin{verbatimtab}[spacing] text \end{verbatimtab}.
If spacing is not specified, tab stops are 8 characters wide
by default.
Verbatiminput
The command \verbatiminput[spacing]{filename}
will input file filename. Spacing is an
optional argument that defines the tab width.
Boxedverbatim
This environment places a box around the verbatim text.
Verbatimcmd
This is moreverb's equivalent of the
alltt environment.
Listing, listingcont
These environments are used to number lines of verbatim output.
The syntax of listing is
\begin{listing}[step]{firstline}
Firstline declares the first line to be numbered.
Step is an optional argument. It specifies the step between
numbered lines: eg, \begin{listing}[3]{4} will
number every third line from line 4.
The listingcont environment continues a previous listing; if the
last listing environment ended with line number 47, listingcont
will number lines from 48. Its syntax is \begin{listingcont} ....
Listing and listingcont expand tabs to eight space characters.
Listing*, listingcont*
These environments function like their unasterisked equivalents, but
replace each space character with a bucket. Also, listing* and
listingcont* do not expand tabs.
listinginput
The command
\listinginput[step]{firstline}{filename}
inputs file filename into a listing environment.
Last modified: Thu Jun 30 14:09:31 1994
|