Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-titling.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `titling')
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
20
21
22 \LWR@ProvidesPackagePass{titling}[2009/09/04]
23 \let\LWR@orig@bsmtitlempty\@bsmtitlempty
24 \renewcommand*{\@bsmtitlempty}{%
25 \LWR@orig@bsmtitlempty%
26 }
27 \let\LWR@origkeepthetitle\keepthetitle
28 \renewcommand*{\keepthetitle}{%
29 \LWR@orig@keepthetitle%
30 }
31 \let\LWR@origkilltitle\killtitle
32 \renewcommand*{\killtitle}{%
33 \LWR@orig@killtitle%
34 }
35 \renewenvironment*{titlingpage}
36 {%
37 \LWR@printpendingfootnotes
38 \begin{titlepage}
39 \LWR@maketitlesetup
40 \let\maketitle\LWR@titlingmaketitle
41 }
42 {
43 \end{titlepage}
44 }
45 \AtBeginDocument{
46 \pretitle{}
47 \posttitle{}
48
49 \preauthor{}
50 \postauthor{}
51
52 \predate{}
53 \postdate{}
54 }
55 \renewcommand*{\LWR@maketitlesetup}{%
56 \def\@makefnmark{\textsuperscript{\@thefnmark}}%
57 \long\def\@makefntext##1{%
58 \makethanksmark~%
59 {##1}%
60 }% \@makefntext
61 }
62 \renewcommand{\thanksfootmark}{%
63 \thanksscript{%
64 \thanksfootpre \tamark \thanksfootpost%
65 }%
66 }
67 \renewcommand*{\maketitle}{%
68 \begin{titlepage}
69 \@bsmarkseries
70 \LWR@maketitlesetup
71 \@maketitle
72 \LWR@stoppars\@thanks\LWR@startpars
73 \end{titlepage}
74 \@bscontmark
75 }
76 \providecommand*{\@maketitle}{}
77 \renewrobustcmd{\@maketitle}{%
78 \maketitlehooka
79 {
80 \LWR@stoppars\LWR@htmltag{\LWR@tagtitle}%
81 \@bspretitle \@title \@bsposttitle%
82 \LWR@htmltag{\LWR@tagtitleend}\LWR@startpars%
83 }
84 \maketitlehookb
85 {
86 \begin{BlockClass}{author}
87 \renewcommand{\and}{%
88 \end{BlockClass}%
89 \begin{BlockClass}{oneauthor}%
90 }
91 \begin{BlockClass}{oneauthor}%
92 \@bspreauthor \@author \@bspostauthor%
93 \end{BlockClass}%
94 \end{BlockClass}%
95 }
96 \maketitlehookc
97 {
98 \begin{BlockClass}{titledate}%
99 \@bspredate \@date \@bspostdate%
100 \end{BlockClass}%
101 }
102 \maketitlehookd
103 }
104 \renewcommand*{\LWR@titlingmaketitle}{%
105 \LWR@stoppars\@thanks\LWR@startpars
106 \@bsmarkseries
107 \LWR@maketitlesetup
108 \@maketitle
109 \LWR@stoppars\@thanks\LWR@startpars
110 \@bscontmark
111 }
112 \renewcommand{\thanksmarkseries}[1]{%
113 \def\@bsmarkseries{\renewcommand{\thefootnote}{\@nameuse{#1}{footnote}}}%
114 }
115 \IfClassLoadedTF{memoir}{
116 \thanksmarkseries{arabic}
117 }{% not memoir
118 \if@titlepage
119 \thanksmarkseries{arabic}
120 \else
121 \thanksmarkseries{fnsymbol}
122 \fi
123 }% not memoir
124 \endinput
125 %%
126 %% End of file `lwarp-titling.sty'.