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
Download the complete contents of this directory in one zip archive (244.5k).
verbatimbox – Deposit verbatim text in a box
The package provides a verbbox environment (which uses techniques similar to those of the boxedverbatim environment of the moreverb package) to place its contents into a globally available box, or into a box specified by the user.The global box may then be used in a variety of situations (for example, providing a replica of the boxedverbatim environment itself). A valuable use is in places where the standard verbatim environment (which is based on a trivlist) may not appear. The package makes use of the verbatim package (which is a required part of any LaTeX distribution).
|License||The LaTeX Project Public License|
|Maintainer||Steven B. Segletes|
|Contained in||TeXLive as verbatimbox|
|MiKTeX as verbatimbox|
verbatim typesetting, etc.|