CTAN has a new package: verbatimbox
Date: August 20, 2008 4:47:44 PM CEST
This package has been installed at tug.ctan.org and should soon be at
your local mirror.
Thanks again,
Jim Hefferon
Saint Michael's College
.......................................................................
The following information was provided by our fellow contributor:
Name of contribution: verbatimbox
Author's name: Steven B. Segletes
Location on CTAN: /macros/latex/contrib/verbatimbox
Summary description: Store verbatim text in a LaTeX box, for use in places
where verbatim environment is not allowed.
License type: lppl
Announcement text:
Do you need to include blocks of verbatim text inside figures or tables? 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.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/verbatimbox . More information is at http://tug.ctan.org/pkg/verbatimbox (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Do you need to include blocks of verbatim text inside figures or tables? 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.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/verbatimbox . More information is at http://tug.ctan.org/pkg/verbatimbox (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
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).
Package | verbatimbox |
Version | 3.2 2023-08-08 |
Maintainer | Steven B. Segletes |