Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-nameauth.sty

raw
1 %%
2 %% This is file `lwarp-nameauth.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `nameauth')
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 \LWR@ProvidesPackagePass{nameauth}[2025/02/04]
19 \VerifyCommand[lwarp][nameauth]{\@nameauth@Hook}
20 {5BE7B7B955144DBD91867146263FDE2A}
21
22 \renewcommand*\@nameauth@Hook[1]
23 {%
24 \ifdefined\@nameauth@InParser
25 \protected@edef\test{#1}%
26 \expandafter\@nameauth@TestDot\expandafter{\test}%
27 \if@nameauth@MainFormat
28 \if@nameauth@FirstFormat
29 \bgroup%
30 \@nameauth@InHooktrue%
31 \NamesFormat{%
32 \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
33 }\egroup%
34 \else
35 \bgroup%
36 \@nameauth@InHooktrue%
37 \MainNameHook{%
38 \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
39 }\egroup%
40 \fi
41 \else
42 \if@nameauth@FirstFormat
43 \bgroup%
44 \@nameauth@InHooktrue%
45 \FrontNamesFormat{%
46 \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
47 }\egroup%
48 \else
49 \bgroup%
50 \@nameauth@InHooktrue%
51 \FrontNameHook{%
52 \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
53 }\egroup%
54 \fi
55 \fi
56 \fi
57 }
58
59 \endinput
60 %%
61 %% End of file `lwarp-nameauth.sty'.