X-Git-Url: https://git.distorted.org.uk/~mdw/mdwtools/blobdiff_plain/48c669283bcfe3ab1b61b37bced62cd3ef0bc7b5..8bc5bdd2f1f9636e1d68bde249d07242c6b29732:/mdwthm.dtx diff --git a/mdwthm.dtx b/mdwthm.dtx index c90ca23..83c171c 100644 --- a/mdwthm.dtx +++ b/mdwthm.dtx @@ -1,45 +1,18 @@ -% \begin{meta-comment} -% -% $Id: mdwthm.dtx,v 1.4 2003/09/06 11:25:54 mdw Exp $ -% -% Standard theorem typesetting -% -% (c) 2001 Mark Wooding -% -%----- Revision history ----------------------------------------------------- -% -% $Log: mdwthm.dtx,v $ -% Revision 1.4 2003/09/06 11:25:54 mdw -% Allow configuration of theorem numbering. -% -% Revision 1.3 2003/09/05 16:16:20 mdw -% Various nips and tucks. Redefine theorem styles from scratch now. -% -% Revision 1.2 2002/02/24 12:35:55 mdw -% Fix handling of \chapter, in case some idiot has said `\csname -% chapter\endcsname'. -% -% Revision 1.1 2002/02/03 20:49:03 mdw -% Checkin for new build system. -% -% -% \end{meta-comment} -% % \begin{meta-comment} %% %% mdwthm package -- standard theorem stuff -%% Copyright (c) 2001 Mark Wooding +%% Copyright (c) 2001--2003, 2006, 2008 Mark Wooding %% %% This program is free software; you can redistribute it and/or modify %% it under the terms of the GNU General Public License as published by %% the Free Software Foundation; either version 2 of the License, or %% (at your option) any later version. -%% +%% %% This program is distributed in the hope that it will be useful, %% but WITHOUT ANY WARRANTY; without even the implied warranty of %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the %% GNU General Public License for more details. -%% +%% %% You should have received a copy of the GNU General Public License %% along with this program; if not, write to the Free Software Foundation, %% Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -48,12 +21,12 @@ % \begin{meta-comment} %<+package>\NeedsTeXFormat{LaTeX2e} %<+package>\ProvidesPackage{mdwthm} -%<+package> [2001/09/16 1.0 theorem typesetting] +%<+package> [2001/09/16 1.0 Theorem typesetting] %<+thmstyle>\ProvidesFile{mdwmargin.thm} -%<+thmstyle> [2001/09/16 1.0 numbers-in-the-margin theorem style] +%<+thmstyle> [2001/09/16 1.0 Numbers-in-the-margin theorem style] % \end{meta-comment} % -% \CheckSum{203} +% \CheckSum{204} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -361,7 +334,7 @@ % Ah, but nobody actually does anything with |\after@thm|. Let's fix that. % % \begin{macrocode} -\AtEndOfPackage{\def\@endtheorem{\after@thm\endtrivlist\@endpefalse}} +\AtEndOfPackage{\def\@endtheorem{\after@thm\endtrivlist}} % \end{macrocode} % \end{macro} % \end{macro}