diff options
author | Karl Berry <karl@freefriends.org> | 2007-06-17 21:36:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-06-17 21:36:16 +0000 |
commit | ecf2a21b95439458a9c895b746654a81b5bcbd20 (patch) | |
tree | 28c95b71db6720c9b7ed3b6a42995abb38965542 /Master/texmf-dist/tex/latex/showlabels | |
parent | 624dfe31cdca8a3356ee08faa7edbacf2ea512b3 (diff) |
showlabels update (17jun07)
git-svn-id: svn://tug.org/texlive/trunk@4452 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/showlabels')
-rw-r--r-- | Master/texmf-dist/tex/latex/showlabels/showlabels.sty | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty index 85319695262..e0a95811749 100644 --- a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty +++ b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty @@ -8,7 +8,7 @@ %% Showlabels: Style to display labels in the margin %% This is the showlabels package %% -%% This software is copyright, 1999, 2001--2006, Norman Gray. +%% This software is copyright, 1999, 2001--2007, Norman Gray. %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -30,14 +30,12 @@ %% See the file LICENCE for a copy of the GPL. %% You can also find an online copy at http://www.gnu.org/copyleft/gpl.html . %% -%% $Id: showlabels.dtx,v 1.28 2006/05/26 16:29:11 norman Exp $ +%% $Id: showlabels.dtx,v 1.31 2007/06/17 15:34:32 norman Exp $ %% -\def\ParseRCSDate$#1: #2 #3 ${\def\SL@Date{#2}} -\ParseRCSDate$Date: 2006/05/26 16:29:11 $ \def\filename{showlabels} -\def\fileversion{1.6} -\def\filedate{\SL@Date} -\def\docdate{\SL@Date} +\def\fileversion{1.6.1} +\def\filedate{2007/06/17} +\def\docdate{2007 June 17} \def\filemaintainer{norman@astro.gla.ac.uk} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{showlabels}[\filedate\space v\fileversion] @@ -51,20 +49,24 @@ \fi \ifSL@AMS \let\SL@maketag@@@=\maketag@@@ - \def\maketag@@@#1{\SL@maketag@@@{#1}% - \ifx\df@label\@empty - \else - \SL@eqnlrtext{\df@label}% - \fi} + \def\maketag@@@#1{% + \SL@maketag@@@{#1}% + \ifx\df@label\@empty + \else + \SL@eqnlrtext{\df@label}% + \fi + } \else \let\SL@eqnnum=\@eqnnum - \def\@eqnnum{\SL@eqnnum - \expandafter\ifx\SL@labelname\relax - \else - \SL@eqnlrtext{\SL@labelname}% - \global\def\SL@labelname{\relax}% - \fi} - \global\def\SL@labelname{\relax} + \def\@eqnnum{% + \SL@eqnnum + \ifx\SL@labelname\relax + \else + \SL@eqnlrtext{\SL@labelname}% + \global\let\SL@labelname\relax + \fi + } + \global\let\SL@labelname\relax \fi \@ifundefined{ttfamily} {\providecommand{\showlabelfont}{\small\tt}} |