[OS X TeX] Scandinavian {\aa} ??

Bruno Voisin bvoisin at mac.com
Tue Mar 25 23:03:45 CET 2008


Le 25 mars 08 à 22:56, Maarten Sneep a écrit :

> How about:
>
> \newcommand{\thesubject}{}
> \newcommand*{\subject}[1]{\renewcommand{\thesubject{#1}}

Silly me! I seemed to remember

\newcommand*{\subject}[1]{\newcommand{\thesubject{#1}}

caused an error. It doesn't (provided the command \subject is used  
only once). I should have checked first.

And your suggestion

\newcommand{\thesubject}{}
\newcommand*{\subject}[1]{\renewcommand{\thesubject{#1}}

allows \subject to be used more than once.

Thanks,

Bruno


More information about the macostex-archives mailing list