Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/collectbox

LaTeX package 'collectbox'
Copyright (c) 2011 by Martin Scharrer <martin@scharrer-online.de>
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

Down­load the con­tents of this pack­age in one zip archive (271.1k).

col­lect­box – Col­lect and pro­cess macro ar­gu­ments as boxes

The pack­age pro­vides macros to col­lect and pro­cess a macro ar­gu­ment (i.e., some­thing which looks like a macro ar­gu­ment) as a hor­i­zon­tal box rather than as a real macro ar­gu­ment.

The “ar­gu­ments” are stored as if they had been saved by \save­box or by the lr­box en­vi­ron­ment. Group­ing to­kens \bgroup and \egroup may be used, which al­lows the user to have the be­gin­ning and end of a group in dif­fer­ent macro in­vo­ca­tions, or to place them in the be­gin and end code of an en­vi­ron­ment. Ar­gu­ments may con­tain ver­ba­tim ma­te­rial or other spe­cial use of char­ac­ters.

The macros were de­signed for use within other macros.

Li­cense The Project Public Li­cense 1.3
Copy­right2011 Martin Schar­rer
Main­tainerMartin Schar­rer
TDS archivecollectbox.tds.zip
Con­tained inTeX Live as col­lect­box
MiKTeX as col­lect­box
Topics cre­at­ing boxes
Guest Book Sitemap Contact Contact Author