Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/macros/latex/contrib/verbatimbox

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

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
inaccessible.

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

Files

Name Size Date Notes
README 1173 2013-04-24 11:48
verbatimbox.pdf 257027 2014-03-12 02:50
verbatimbox.sty 8928 2014-03-12 02:50
verbatimbox.tex 20472 2014-03-12 02:49

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).

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