CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/xoptarg

Because they rely on the \futurelet primitive, the macros with
optional arguments cannot be expandable. However, it is possible to
make them expandable if there is at least one mandatory argument (see

This material is subject to the LaTeX Project Public License.
See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
for the details of that license.    

Download the contents of this package in one zip archive (362.2k).

xoptarg – Expandable macros that take an optional argument

Commands that take an optional argument are not ordinarily expandable; this package allows such commands to be expandable provided that they have at least one mandatory argument.

LicensesThe Project Public License
MaintainerJosselin Noirel
Contained inTeX Live as xoptarg
MiKTeX as xoptarg
TopicsDefining Macro
Guest Book Sitemap Contact Contact Author