[XeTeX] newcommand with optional arguments
Manuel Pégourié-Gonnard
mpg at elzevir.fr
Tue Mar 4 22:33:46 CET 2008
Morten Høgholm a écrit :
> *The* bulletproof (and purely expandable) method of testing whether an
> argument is empty is this:
>
> \long\def\tlist at if@empty at nTF #1{%
> \expandafter\ifx\expandafter\\\detokenize{#1}\\%
By the way, I always wonder since how long e-TeX (or pdfTeX) is the default
engine for TeX distributions. I know some people still stuck with teTeX2 at
work: are they going to have problems with \detokenize ?
Manuel.
More information about the XeTeX
mailing list