Am 07.01.2009 um 22:45 schrieb Jean-Marc Lasgouttes:

xargs is only needed if you have macros with optional arguments. Of course, \newcommand could handle the case with one optional. But, what we need in fact is something equivalent to \global\def for this case. Is there a way to do this with \newcommand?

Why \global?

Because without the logic is complicated:

  \newcommand{\foo}{a} \textbf{\renewcommand{\foo}{b} bla} $\foo$

What is printed in the output? What should be shown on screen?

Stefan

Reply via email to