Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-thm-listof.sty

raw
1 %%
2 %% This is file `lwarp-thm-listof.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `thm-listof')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18
19 \LWR@ProvidesPackagePass{thm-listof}[2019/12/22]
20 \IfPackageAtLeastTF{thm-listof}{2020/08/01}{% v0.72
21 \VerifyCommand[lwarp][thm-listof]{\thmtlo@newentry}
22 {AF7BF291DC508ED71058DAF745F9C018}
23 \def\thmtlo@newentry{%
24 \csdef{l@\thmt@envname}##1##2{\hypertocfloat{1}{figure}{lof}{##1}{##2}}%
25 }
26 }{% earlier than v0.72
27 \xpatchcmd{\listoftheorems}
28 {%
29 \@xa\protected@edef\csname l@\thmt@envname\endcsname{%
30 \@nx\@dottedtocline{1}{1.5em}{\@nx\thmt@listnumwidth}%
31 }%
32 }
33 {%
34 \csdef{l@\thmt@envname}##1##2{\hypertocfloat{1}{figure}{lof}{##1}{##2}}%
35 }
36 {}
37 {\LWR@patcherror{thm-listof}{listoftheorems}}
38
39 \xpatchcmd{\thmt@mklistcmd}
40 {%
41 \@xa\protected@edef\csname l@\thmt@envname\endcsname{%
42 \@nx\@dottedtocline{1}{1.5em}{\@nx\thmt@listnumwidth}%
43 }%
44 }
45 {%
46 \csdef{l@\thmt@envname}##1##2{\hypertocfloat{1}{figure}{lof}{##1}{##2}}%
47 }
48 {}
49 {\LWR@patcherror{thm-listof}{thmt@mklistcmd}}
50 }
51 \endinput
52 %%
53 %% End of file `lwarp-thm-listof.sty'.