[OS X TeX] Named theorem

Alain Schremmer Schremmer.Alain at gmail.com
Fri Jul 28 16:02:16 EDT 2006

Alex Scorpan wrote:

>> I tried
>>        \thm at notefont{\bfseries\upshape}%
>> in the preamble
> As it uses @, it needs to be inside an \makeatletter ... \makeatother  
> thing.  That is, your preable should have
>     \makeatletter
>     \thm at notefont{\bfseries\upshape}
>     \makeatother
> Without this, LaTeX reads \thm, then @, and doesn't know what \thm  
> is;  on the other hand, \makeatletter makes @ be read as a letter,  
> and LaTeX will read the whole command \thm at notefont;  the subsequent  
> \makeatother restores @ to non-letter.
> The character @ is understood as a letter inside all .sty and .cls  
> files, but not in the .tex file.  This is so that all sorts of  
> internal commands that use @ in their name would not be accidentally  
> redefined by a hapless user.  It's part of LaTeX's ideology of  
> protecting users from themselves.

In my case, the ideology is perfect even if, thanks to you and Schulz, I 
am beginning to understand the very mysterious @.

Well, I think that this more than puts the issue of named theorems to rest.

Very grateful regards to all,
------------------------- 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 MacOSX-TeX mailing list