X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["948" "Wed" "1" "December" "1999" "21:10:03" "CET" "Achim Blumensath" "blume@CORONA.OCHE.DE" nil "24" "Re: theorem templates" "^Date:" nil nil "12" nil "theorem templates" nil nil nil] nil) Return-Path: Received: via tmail-4.1(11) (invoked by user schoepf) for schoepf; Wed, 1 Dec 1999 23:21:56 +0100 (MET) Received: from mail.Uni-Mainz.DE (trudi.zdv.Uni-Mainz.DE [134.93.8.159]) by mailserver1.zdv.Uni-Mainz.DE (8.9.1b+Sun/8.9.1) with ESMTP id XAA12951 for ; Wed, 1 Dec 1999 23:21:56 +0100 (MET) Received: from mail.listserv.gmd.de (mail.listserv.gmd.de [192.88.97.5]) by mail.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id XAA15447 for ; Wed, 1 Dec 1999 23:21:55 +0100 (MET) Received: from mail.listserv.gmd.de (192.88.97.5) by mail.listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <10.4DFD9A06@mail.listserv.gmd.de>; Wed, 1 Dec 1999 23:21:48 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 446707 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Wed, 1 Dec 1999 23:21:19 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id XAA14782 for ; Wed, 1 Dec 1999 23:21:18 +0100 (MET) Received: from downtown.oche.de (downtown.oche.de [194.94.253.3]) by relay.uni-heidelberg.de (8.9.1b+Sun/8.9.1) with ESMTP id XAA25210 for ; Wed, 1 Dec 1999 23:21:48 +0100 (MET) Received: from corona.oche.de (uucp@localhost) by downtown.oche.de (8.9.3/8.9.3/Debian/GNU) with UUCP id XAA23115 for URZ.UNI-HEIDELBERG.DE!LATEX-L; Wed, 1 Dec 1999 23:20:01 +0100 Received: by corona.oche.de (wUUCP 1.10) id <1jd1@corona.oche.de>; Wed, 1 Dec 99 21:29:15 CET X-Mailer: AmiGate 1.6 (13.11.95) Message-ID: <223b6bc0@corona.oche.de> Reply-To: Mailing list for the LaTeX3 project Date: Wed, 1 Dec 1999 21:10:03 CET From: Achim Blumensath Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: theorem templates Status: R X-Status: X-Keywords: X-UID: 3445 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/ \___/\ | // blume@corona.oche.de |-< /_\ =o= \ /\ \| \X/ (p^2 - m^2)\psi = 0 |_/ \_ /"\ o----| ____________________________________________________________________\___|