summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty149
1 files changed, 149 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
new file mode 100644
index 00000000000..3542c5e2feb
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
@@ -0,0 +1,149 @@
+%%
+%% This is file `lwarp-scrextend.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `scrextend')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% 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.
+\LWR@ProvidesPackageDrop{scrextend}
+\DeclareDocumentCommand{\setkomafont}{m m}{}
+\DeclareDocumentCommand{\addkomafont}{m m}{}
+\DeclareDocumentCommand{\usekomafont}{m}{}
+
+\DeclareDocumentCommand{\usefontofkomafont}{m}{}
+\DeclareDocumentCommand{\useencodingofkomafont}{m}{}
+\DeclareDocumentCommand{\usesizeofkomafont}{m}{}
+\DeclareDocumentCommand{\usefamilyofkomafont}{m}{}
+\DeclareDocumentCommand{\useseriesofkomafont}{m}{}
+\DeclareDocumentCommand{\useshapeofkomafont}{m}{}
+
+\AtBeginDocument{
+\let\LWR@maketitle\maketitle
+\DeclareDocumentCommand{\maketitle}{o}{\LWR@maketitle}
+}
+
+\DeclareDocumentCommand{\extratitle}{m}{}
+\DeclareDocumentCommand{\titlehead}{m}{}
+\DeclareDocumentCommand{\subject}{m}{}
+\DeclareDocumentCommand{\publishers}{m}{\published{#1}}
+\DeclareDocumentCommand{\uppertitleback}{m}{}
+\DeclareDocumentCommand{\lowertitleback}{m}{}
+\DeclareDocumentCommand{\dedication}{m}{}
+
+\DeclareDocumentCommand{\ifthispageodd}{m m}{#1}
+
+\DeclareDocumentCommand{\titlepagestyle}{}{}
+
+\DeclareDocumentCommand{\cleardoublepageusingstyle}{m}{}
+\DeclareDocumentCommand{\cleardoubleemptypage}{}{}
+\DeclareDocumentCommand{\cleardoubleplainpage}{}{}
+\DeclareDocumentCommand{\cleardoublestandardpage}{}{}
+\DeclareDocumentCommand{\cleardoubleoddpage}{}{}
+\DeclareDocumentCommand{\cleardoubleoddpageusingstyle}{m}{}
+\DeclareDocumentCommand{\cleardoubleoddemptypage}{}{}
+\DeclareDocumentCommand{\cleardoubleoddplainpage}{}{}
+\DeclareDocumentCommand{\cleardoubleoddstandardpage}{}{}
+\DeclareDocumentCommand{\cleardoubleevenpage}{}{}
+\DeclareDocumentCommand{\cleardoubleevenpageusingstyle}{m}{}
+\DeclareDocumentCommand{\cleardoubleevenemptypage}{}{}
+\DeclareDocumentCommand{\cleardoubleevenplainpage}{}{}
+\DeclareDocumentCommand{\cleardoubleevenstandardpage}{}{}
+
+\DeclareDocumentCommand{\multiplefootnoteseparator}{}{%
+ \begingroup\let\thefootnotemark\multfootsep\@makefnmark\endgroup
+}
+
+\DeclareDocumentCommand{\multfootsep}{}{,}
+
+\DeclareDocumentCommand{\footref}{m}{%
+ \begingroup
+ \unrestored@protected@xdef\@thefnmark{\ref{#1}}%
+ \endgroup
+ \@footnotemark
+}
+
+\DeclareDocumentCommand{\deffootnote}{o m m m}{}
+\DeclareDocumentCommand{\deffootnotemark}{m}{}
+\DeclareDocumentCommand{\setfootnoterule}{o m}{}
+\DeclareDocumentCommand{\raggedfootnote}{}{}
+
+\DeclareDocumentCommand{\dictum}{o m}{
+\begin{LWR@BlockClassWP}{text-align:right}{}{dictum}
+ #2
+ \IfValueT{#1}
+ {
+ \ifbool{FormatWP}
+ {\begin{BlockClass}[border-top:1px solid gray]{dictumauthor}}
+ {\begin{BlockClass}{dictumauthor}}
+ \dictumauthorformat{#1}
+ \end{BlockClass}
+ }
+\end{LWR@BlockClassWP}
+}
+
+\DeclareDocumentCommand{\dictumwidth}{}{}
+\DeclareDocumentCommand{\dictumauthorformat}{m}{(#1)}
+\DeclareDocumentCommand{\dictumrule}{}{}
+\DeclareDocumentCommand{\raggeddictum}{}{}
+\DeclareDocumentCommand{\raggeddictumtext}{}{}
+\DeclareDocumentCommand{\raggeddictumauthor}{}{}
+
+\DeclareDocumentEnvironment{labeling}{o m}
+{%
+\def\sc@septext{#1}%
+\list{}{}%
+\let\makelabel\labelinglabel%
+}
+{
+\endlist
+}
+
+\DeclareDocumentCommand{\labelinglabel}{m}{%
+#1 \qquad \sc@septext%
+}
+
+\let\addmargin\relax
+\let\endaddmargin\relax
+\cslet{addmargin*}{\relax}
+\cslet{endaddmargin*}{\relax}
+
+\NewDocumentEnvironment{addmargin}{s O{} m}
+{
+\uselengthunit{PT}%
+\setlength{\LWR@templengthtwo}{#3}
+\ifblank{#2}
+{
+ \begin{BlockClass}[
+ margin-left:\rndprintlength{\LWR@templengthtwo} ;
+ margin-right:\rndprintlength{\LWR@templengthtwo}
+ ]{addmargin}
+}
+{
+ \setlength{\LWR@templengthone}{#2}
+ \begin{BlockClass}[
+ margin-left:\rndprintlength{\LWR@templengthone} ;
+ margin-right:\rndprintlength{\LWR@templengthtwo}
+ ]{addmargin}
+}
+}
+{\end{BlockClass}}
+
+\ExplSyntaxOn
+\cs_new:cpn {addmargin*} {\addmargin*}
+\cs_new_eq:cN {endaddmargin*} \endaddmargin
+\ExplSyntaxOff
+
+\DeclareDocumentCommand{\marginline}{m}{\marginpar{#1}}
+\endinput
+%%
+%% End of file `lwarp-scrextend.sty'.