# [OS X TeX] wrapping lines in verbatim

Herb Schulz herbs at wideopenwest.com
Fri Dec 31 09:39:53 EST 2004

On 12/31/04 5:59 AM, "Denis Chabot" <chabotd at globetrotter.net> wrote:

> Hi,
>
> I use verbatim to include the raw output of a statistical package (R)
> in a document. There are many long lines that go off into the right
> margin and even off the page.
> ...
>
> Denis Chabot
>

Howdy,

Depending upon how long the line in the verbatim is you might just typeset
it in a smaller font to get it to fit on the page; e.g.,

{\footnotesize
\begin{verbatim}
...
\end{verbatim}}

You might need a blank line before the first brace and after the second
brace (i.e., it must be in a paragraph by itself).

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>