From 122cba4bcd2c885728520b93eee930a448ad8bf8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 8 Dec 2013 22:02:12 +0000 Subject: showlabels (8dec13) git-svn-id: svn://tug.org/texlive/trunk@32364 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/showlabels/showlabels.sty | 57 ++++++++++------------ 1 file changed, 26 insertions(+), 31 deletions(-) (limited to 'Master/texmf-dist/tex/latex/showlabels') diff --git a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty index 9edf8e9b878..ccbbeb32ec0 100644 --- a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty +++ b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty @@ -8,32 +8,26 @@ %% Showlabels: Style to display labels in the margin %% This is the showlabels package %% -%% This software is copyright, 1999, 2001--2009, Norman Gray. +%%%% Copyright 2005--2013, Norman Gray %% -%% 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 work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. %% -%% 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. +%% This work has the LPPL maintenance status `maintained'. %% -%% 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. -%% -%% Author: Norman Gray, norman@astro.gla.ac.uk. -%% Department of Physics and Astronomy, University of Glasgow, UK -%% -%% 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 . +%% The Current Maintainer of this work is Norman Gray %% +%% This work consists of the files showlabels.dtx and showlabels.ins, +%% and the derived file showlabels.cls. \def\filename{showlabels} -\def\fileversion{1.6.5} -\def\filedate{2009/05/29} -\def\docdate{2009 May 29} +\def\fileversion{1.6.6} +\def\filedate{2013/12/06} +\def\docdate{2013 December 6} \def\filemaintainer{norman@astro.gla.ac.uk} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{showlabels}[\filedate\space v\fileversion] @@ -77,7 +71,7 @@ \@ifundefined{ttfamily} {\providecommand{\showlabelfont}{\small\tt}} {\providecommand{\showlabelfont}{\small\ttfamily}} -\providecommand{\showlabelsetlabel}[1]{\normalfont\showlabelfont #1} +\providecommand{\showlabelsetlabel}[1]{{\normalfont\showlabelfont #1}} \def\SL@gobblethree#1#2#3{} \def\SL@prlabelname#1{% \expandafter\expandafter\expandafter\SL@gobblethree @@ -146,21 +140,22 @@ \else \ifSL@setleft \hbox to 0pt{% -\hss -\vbox to 0pt{\vss - \hbox to 0pt{\hss\box\@tempboxa}% - \hrule width 0.05em height 1.5ex depth 0pt -}}% + \hss + \vbox to 0pt{\vss + \hbox to 0pt{\hss\box\@tempboxa}% + \showlabelrefline + }}% \else \hbox to 0pt{% -\vbox to 0pt{\vss - \box\@tempboxa - \hrule width 0.05em height 1.5ex depth 0pt -}\hss}% + \vbox to 0pt{\vss + \box\@tempboxa + \showlabelrefline + }\hss}% \fi \penalty10000 \fi } +\def\showlabelrefline{\hrule width 0.05em height 1.5ex depth 0pt } \def\SL@margintext#1{{\showlabelsetlabel{\{\SL@prlabelname{#1}\}}}} \def\SL@righttext#1{\hfill\rlap{\quad\SL@margintext{#1}}} \def\SL@lefttext #1{\llap{\SL@margintext{#1}\quad}\hfill} -- cgit v1.2.3