Directory macros/latex/contrib/collectbox
LaTeX package 'collectbox' ~~~~~~~~~~~~~~~~~~~~~~~~~~ Copyright (c) 2010-2022 by Martin Scharrer <martin.scharrer@web.de> License: LaTeX Project Public License, v1.3 or later: http://www.latex-project.org/lppl.txt Repository: https://github.com/MartinScharrer/collectbox Issues: https://github.com/MartinScharrer/collectbox/issues 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 (169.5k).
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.
Package | collectbox |
Home page | https://github.com/MartinScharrer/collectbox |
Bug tracker | https://github.com/MartinScharrer/collectbox/issues |
Repository | https://github.com/MartinScharrer/collectbox.git |
Version | 0.4c |
Licenses | The LaTeX Project Public License 1.3 |
Copyright | 2012–2022 Martin Scharrer |
Maintainer | Martin Scharrer |
Contained in | TeX Live as collectbox MiKTeX as collectbox |
Topics | Boxing |