Go to Page Main Content
NASA - Goddard Institute for Space Studies
FIND IT @ NASA
NASA Homepage Goddard Institute for Space Studies

Hypertext Help with LaTeX

verbatim

 \begin{verbatim}
   text 
 \end{verbatim}

or

 \begin{verbatim*}
   text
 \end{verbatim*}

The verbatim environment is a paragraph-making environment that gets LaTeX to print exactly what you type in. It turns LaTeX into a typewriter with carriage returns and blanks having the same effect that they would on a typewriter. The output looks exactly as it looks in the input file.

The difference between verbatim and verbatim* is that the latter prints spaces as "visual" spaces, i.e., a short, squat "u".

The only text which cannot be placed in the verbatim environment is the 14-character sequence "\end{verbatim}".

The verbatim environment may not be used in the argument of another command. However, it can be placed inside a minipage environment which allows you to manipulate its placement.


Also see \verb
Back to the LaTeX Table of Contents


Revised 4 Dec 1995.

+ GISS Home

tools
  • Software Tools Main Page
  • GCM Model E
  • GCM Model AOM-GR
  • GCM Model II
  • Panoply netCDF Viewer
  • G.Projector Map Maker
  • Mars24 Sunclock
USA.gov

End of Page