\verb

\verb char literal_text char
or
\verb*char literal_text char

Typesets literal_text exactly as typed, including special characters and spaces, using a typewriter (\tt) font. There may be no space between \verb or \verb* and char (space is shown here only for clarity). The *-form differs only in that spaces are printed as "visual" spaces, i.e., a short, squat "u".

Any char except a space (or a * for the \verb form) may be chosen as the delimiter. Thus

 \verb1This!is?the##quote1 would give ...
This!is?the##quote would give...
See also Environments, verbatim
Back to the LaTeX Table of Contents
Revised by Sheldon Green, agxsg@giss.nasa.gov, 3 May 1995.