Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/verbatimbox

The style file verbatimbox has been created for the report writer's

Do you need to include blocks of verbatim text inside figures, tables or
footnotes?  The verbatim environment is not compatible with some of
these other environments.  But now, the verbbox environment allows you
to input verbatim text and store it in a LaTeX box.  That box then
becomes generally usable in all other LaTeX environments, and can be
simply recalled.

This style therefore allows for a greater use of the verbatim
environment within other LaTeX constructs where verbatim was previously

Input to the verbatim box can either be as text typed into the verbbox
or myverbbox environments, or else as the contents of a file, provided
as an argument to the \verbfilebox command.  In either case, an optional
argument may be provided to modify the text appearance, for example, by
changing the font size of the verbatim text placed into the box.

The \addvbuffer command, while supporting this package, also provides a
flexible way to add vertical buffer space above and below most LaTeX
objects, which can be handy in a variety of applications.

						-Steven Segletes

Down­load the con­tents of this pack­age in one zip archive (244.5k).

ver­ba­tim­box – De­posit ver­ba­tim text in a box

The pack­age pro­vides a verb­box en­vi­ron­ment (which uses tech­niques sim­i­lar to those of the boxed­ver­ba­tim en­vi­ron­ment of the more­verb pack­age) to place its con­tents into a glob­ally avail­able box, or into a box spec­i­fied by the user.

The global box may then be used in a va­ri­ety of sit­u­a­tions (for ex­am­ple, pro­vid­ing a replica of the boxed­ver­ba­tim en­vi­ron­ment it­self). A valu­able use is in places where the stan­dard ver­ba­tim en­vi­ron­ment (which is based on a trivlist) may not ap­pear.

The pack­age makes use of the ver­ba­tim pack­age (which is a re­quired part of any LaTeX dis­tri­bu­tion).

Ver­sion3.13 2014-02-24
Li­censeThe LaTeX Project Public Li­cense
Main­tainerSteven B. Se­gletes
Con­tained inTeX Live as ver­ba­tim­box
MiKTeX as ver­ba­tim­box
Topics ver­ba­tim type­set­ting, etc.
cre­at­ing boxes
See also fancyvrb
Guest Book Sitemap Contact Contact Author