[texhax] Creating stared versions of macros
Robin Fairbairns
Robin.Fairbairns at cl.cam.ac.uk
Thu Dec 30 23:57:34 CET 2004
there's a rather new package on ctan, called suffix.sty (needs elatex,
which is the default in newer distributions).
so we can say:
\usepackage{suffix}
\newcommand\fred {\message{fred}}
\WithSuffix\newcommand\fred*{\message{fred*}}
which is somewhat of an improvement on all that fiddling with
\makeatletter and \@ifstar.
i _like_ suffix.sty...
More information about the texhax
mailing list