[OS X TeX] global macros

Morten Høgholm morten.hoegholm at gmail.com
Sun Mar 5 12:04:00 CET 2006


On Sun, 05 Mar 2006 11:45:47 +0100, Rechtsanwalt Friedrich Vosberg  
<vosberg at meinrechtsanwalt.com> wrote:

> For my purpose I'm afraid \gdef isn't the solution. The following  
> example demonstrates the problem. Have you any idea how to make it  
> working to use the commands *if* defined in the environment quote?
>
> ===== 8>< =====
> \documentclass{ltxdoc}
> \newcounter{member}
> \makeatletter
> \newcommand*{\member}[2]{%
>    \stepcounter{member}%
>    \@namedef{name\Alph{member}}{#1}%

\global\@namedef{name\Alph{member}}{#1}%


-- 
Morten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list