LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Achim Blumensath <[log in to unmask]>
Wed, 1 Dec 1999 21:10:03 CET
text/plain (24 lines)
Frank Mittelback wrote:
> Achim Blumensath writes:
>
>  > I've converted the amsthm style to the template system. The whole
>  > process was extremely painless (except for reading the AMS code),
>  > and the resulting code is much more readable than the original.
>
> nice work.

Of course, it contains an annoying bug: the numbers are printed _before_
the name. The correct code is:

    \IfNoValueTF{#1}
      {\TShead@format{#2}{#1}{#3}}
      {\TShead@format{#2}{\csname the#1\endcsname}{#3}}

Achim
________________________________________________________________________
                                _                             | \_____/ |
    //  Achim Blumensath       | \  _                        \O/ \___/\ |
   //   [log in to unmask]   |-< /_\                       =o=  \ /\ \|
 \X/    (p^2 - m^2)\psi = 0    |_/ \_                        /"\   o----|
____________________________________________________________________\___|

ATOM RSS1 RSS2