collectbox – Collect and process macro arguments as boxes
The package provides macros to collect and process a macro argument (i.e., something which looks like a macro argument) as a horizontal box rather than as a real macro argument.
The “arguments” are stored as if they had been saved by \savebox or by the lrbox environment. Grouping tokens \bgroup and \egroup may be used, which allows the user to have the beginning and end of a group in different macro invocations, or to place them in the begin and end code of an environment. Arguments may contain verbatim material or other special use of characters.
The macros were designed for use within other macros.
|The LaTeX Project Public License 1.3
|2012–2022 Martin Scharrer
|TeX Live as collectbox
MiKTeX as collectbox
Download the contents of this package in one zip archive (169.5k).
- 2022-10-18 CTAN update: collectbox
- 2012-05-16 CTAN update: collectbox
- 2011-07-23 CTAN Update: collectbox
Maybe you are interested in the following packages as well.
- dashbox: Draw dashed boxes
- eqparbox: Create equal-widthed parboxes
- minibox: A simple type of box for LaTeX
- grabbox: Read an argument into a box and execute the code afterwards