New on CTAN: multiexpand
Macros meant to avoid using too many \expandafter. Should hopefully be compatible with plain, LaTeX and ConTeXt, but requires eTeX's \numexpr. This was written before I had understood LaTeX3's variant mechanism, and I advise people who fight with expansion to use LaTeX3 rather than multiexpand.
This package is located at http://mirror.ctan.org/macros/latex/contrib/multiexpand . More information is at http://www.ctan.org/pkg/multiexpand (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Rainer Schöpf
multiexpand – Variations on the primitive command \expandafter
The package provides two user commands; one that performs multiple expansions, and one that does multiple \expandafter operations, in a single macro call.
The author suggests that the same effect could be provided by use of the command variant mechanisms of LaTeX 3 (see, for example, the interface documentation of the experimental LaTeX 3 kernel).
|2011–2017 Bruno Le Floch
|Bruno Le Floch