You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tex-compiler/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty

204 lines
5.9 KiB

%%
%% 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-2020 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}[2020/01/24]
\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}{}
\providecommand*{\coverpagetopmargin}{}
\providecommand*{\coverpagebottommargin}{}
\providecommand*{\coverpageleftmargin}{}
\providecommand*{\coverpagerightmargin}{}
\AtBeginDocument{
\let\LWR@koma@orig@maketitle\maketitle
\DeclareDocumentCommand{\maketitle}{o}{\LWR@koma@orig@maketitle}
}
\DeclareDocumentCommand{\@maketitle}{}{%
\ifdefvoid{\@titlehead}{}{%
\begin{BlockClass}{titlehead}%
\@titlehead%
\end{BlockClass}%
}%
\ifdefvoid{\@subject}{}{%
\begin{BlockClass}{subject}%
\@subject%
\end{BlockClass}%
}%
\LWR@stoppars%
\LWR@htmltag{\LWR@tagtitle}%
\@title%
\LWR@htmltag{\LWR@tagtitleend}%
\ifdefvoid{\@subtitle}{}{%
\begin{BlockClass}{subtitle}%
\@subtitle%
\end{BlockClass}%
}%
\LWR@startpars%
\begin{BlockClass}{author}%
\renewcommand*{\cr}{}%
\renewcommand*{\crcr}{}%
\renewcommand*{\noalign}{}%
\renewcommand{\and}{%
\end{BlockClass}%
\begin{BlockClass}{oneauthor}%
}%
\begin{BlockClass}{oneauthor}%
\@author%
\end{BlockClass}%
\end{BlockClass}%
\begin{BlockClass}{titledate}%
\@date%
\end{BlockClass}%
\ifdefvoid{\@published}{}{%
\begin{BlockClass}{published}%
\@published%
\end{BlockClass}%
}%
}
\AddSubtitlePublished
\DeclareDocumentCommand{\extratitle}{m}{}
\DeclareDocumentCommand{\frontispiece}{m}{}
\def\@titlehead{}%
\DeclareDocumentCommand{\titlehead}{m}{\gdef\@titlehead{#1}}%
\def\@subject{}%
\DeclareDocumentCommand{\subject}{m}{\gdef\@subject{#1}}%
\DeclareDocumentCommand{\publishers}{m}{\published{#1}}
\DeclareDocumentCommand{\uppertitleback}{m}{}
\DeclareDocumentCommand{\lowertitleback}{m}{}
\DeclareDocumentCommand{\dedication}{m}{}
\DeclareDocumentCommand{\ifthispageodd}{m m}{#1}
\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}{\LWR@print@mbox{text-align:right}}{}{dictum}
#2
\IfValueT{#1}
{
\LWR@stoppars%
\ifbool{FormatWP}
{\begin{BlockClass}[\LWR@print@mbox{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}
{
\LWR@stoppars%
\setlength{\LWR@templengthtwo}{#3}
\ifblank{#2}
{
\begin{BlockClass}[
\LWR@print@mbox{margin-left:\LWR@printlength{\LWR@templengthtwo}} ;
\LWR@print@mbox{margin-right:\LWR@printlength{\LWR@templengthtwo}}
]{addmargin}
}
{
\setlength{\LWR@templengthone}{#2}
\begin{BlockClass}[
\LWR@print@mbox{margin-left:\LWR@printlength{\LWR@templengthone}} ;
\LWR@print@mbox{margin-right:\LWR@printlength{\LWR@templengthtwo}}
]{addmargin}
}
}
{\end{BlockClass}\LWR@startpars}
\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'.