[XeTeX] newcommand with optional arguments

Sven Siegmund sven.siegmund at gmail.com
Mon Mar 3 13:42:04 CET 2008


Well, actually I had do change it a bit: The whitespace shoud have
been put to the else stuff:

\newcommand{\nuu}[2][]{%
       \textit{#2}%
       \ifx#1\empty
       \else
              \ `#1'
       \fi
}

S.


More information about the XeTeX mailing list