LaTeX package 'collectbox' ~~~~~~~~~~~~~~~~~~~~~~~~~~ Copyright (c) 2011 by Martin Scharrer <email@example.com> Code Repository: https://bitbucket.org/martin_scharrer/collectbox/ WWW: http://latex.scharrer-online.de/ This package provides macros to collect and process an macro argument (i.e. something which looks like a macro argument) as horizontal box instead as a real macro argument. These "arguments" will be stored like when using \savebox, \sbox or the lrbox environment and allow verbatim or other special code. Instead of explicit braces also implicit braces in the form of \bgroup and \egroup are supported. This allows to split the begin and end over different macros or to place them in the begin and end code of an environment. The provided macros are mainly intended to be used inside other macros or environments
Download the contents of this package in one zip archive (271.1k).
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.
|License||The LaTeX Project Public License 1.3|
|Contained in||TeX Live as collectbox|
|MiKTeX as collectbox|