texlive-latex-verbatimbox 51265 Deposit verbatim text in a box
The package provides a
verbbox environment 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.