Comprehensive TeX Archive Network

Direc­tory 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.    

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

xop­targ – Ex­pand­able macros that take an op­tional ar­gu­ment

Com­mands that take an op­tional ar­gu­ment are not or­di­nar­ily ex­pand­able; this pack­age al­lows such com­mands to be ex­pand­able pro­vided that they have at least one manda­tory ar­gu­ment.

Li­censeThe Project Public Li­cense
Main­tainerJos­selin Noirel
Con­tained inTeX Live as xop­targ
MiKTeX as xop­targ
Topics al­ter­na­tive ways of defin­ing macros
Guest Book Sitemap Contact Contact Author