summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/showlabels/showlabels.sty')
-rw-r--r--Master/texmf-dist/tex/latex/showlabels/showlabels.sty26
1 files changed, 12 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
index 7942695bbc9..6333947faa1 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
%%
-%%%% Copyright 1999, 2001-09, 2013-16, Norman Gray
+%%%% Copyright 1999, 2001-09, 2013-21, Norman Gray
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public Licence, either version 1.3
@@ -20,22 +20,17 @@
%%
%% This work has the LPPL maintenance status `maintained'.
%%
-%% The Current Maintainer of this work is Norman Gray <http://nxg.me.uk>
+%% The Current Maintainer of this work is Norman Gray <https://nxg.me.uk>
%%
%% This work consists of the files showlabels.dtx and showlabels.ins,
%% and the derived file showlabels.sty.
%%%% File: showlabels.dtx
-%%%% Source: 95a544e6b41b, 2016-06-09T16:51:03+01:00
+%%%% Source: 5b2959804f35, 2021-10-09T20:59:45+01:00
-\def\filename{showlabels}
-\def\fileversion{1.8}
-\def\filedate{2016/06/09}
-\def\docdate{2016 June 9}
-\def\filemaintainer{norman@astro.gla.ac.uk}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{showlabels}[\filedate\space v\fileversion]
-\typeout{Package: `showlabels' v\fileversion\space<\filedate>}
+\ProvidesPackage{showlabels}[2021-10-09\space v1.9]
+\typeout{Package: `showlabels' v1.9\space<2021-10-09>}
\newif\ifSL@AMS
\@ifundefined{maketag@@@}
\SL@AMSfalse
@@ -98,7 +93,7 @@
\@ifundefined{ttfamily}
{\providecommand{\showlabelfont}{\small\tt}}
{\providecommand{\showlabelfont}{\small\ttfamily}}
-\providecommand{\showlabelsetlabel}[1]{{\normalfont\showlabelfont\SL@fmt@ #1}}
+\providecommand{\showlabelsetlabel}[1]{{\normalfont\showlabelfont\SL@fmt@{#1}}}
\def\SL@gobblethree#1#2#3{}
\def\SL@prlabelname#1{%
\expandafter\expandafter\expandafter\SL@gobblethree
@@ -122,7 +117,10 @@
}
\let\SL@fmt@\relax
\DeclareRobustCommand\SL@showlabels[1]{%
+ \@bsphack
\expandafter\let\expandafter\SL@orig@@next\csname SL@orig#1\endcsname
+ \def\showlabeltype{#1}%
+ \begingroup\@sanitize
\@ifstar
{\SL@showlabelsplainstar}
{\@ifnextchar[
@@ -130,19 +128,19 @@
{\SL@showlabelsplain}}
}
\def\SL@showlabelsopt[#1]#2{%
- \@bsphack
+ \endgroup
\SL@setlabel{#2}\relax
\ifhmode \spacefactor\@savsf \ifdim\@savsk>\z@ \hskip1sp \fi\fi
\SL@orig@@next[#1]{#2}%
}
\def\SL@showlabelsplain#1{%
- \@bsphack
+ \endgroup
\SL@setlabel{#1}\relax
\ifhmode \spacefactor\@savsf \ifdim\@savsk>\z@ \hskip1sp \fi\fi
\SL@orig@@next{#1}%
}
\def\SL@showlabelsplainstar#1{%
- \@bsphack
+ \endgroup
\SL@setlabel{#1}\relax
\ifhmode \spacefactor\@savsf \ifdim\@savsk>\z@ \hskip1sp \fi\fi
\SL@orig@@next*{#1}%