summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-16 21:14:36 +0000
committerKarl Berry <karl@freefriends.org>2019-07-16 21:14:36 +0000
commitcf12bb505e9a4455ac9fb495f04cf7a2d079186c (patch)
treeeeb96649fd30bc3ac8752f78005b52d8efc47d57 /Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
parentd2055c0169cf583fb9af2de4061319e5b31a4303 (diff)
lwarp (16jul19)
git-svn-id: svn://tug.org/texlive/trunk@51653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
index 09f0d9c0cea..9db031a5442 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty
@@ -28,8 +28,8 @@
\DeclareDocumentCommand{\useshapeofkomafont}{m}{}
\AtBeginDocument{
-\let\LWR@maketitle\maketitle
-\DeclareDocumentCommand{\maketitle}{o}{\LWR@maketitle}
+ \let\LWR@koma@orig@maketitle\maketitle
+ \DeclareDocumentCommand{\maketitle}{o}{\LWR@koma@orig@maketitle}
}
\DeclareDocumentCommand{\extratitle}{m}{}
@@ -76,12 +76,12 @@
\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}}
@@ -116,9 +116,9 @@
\let\endaddmargin\relax
\cslet{addmargin*}{\relax}
\cslet{endaddmargin*}{\relax}
-
\NewDocumentEnvironment{addmargin}{s O{} m}
{
+\LWR@stoppars%
\setlength{\LWR@templengthtwo}{#3}
\ifblank{#2}
{
@@ -135,7 +135,7 @@
]{addmargin}
}
}
-{\end{BlockClass}}
+{\end{BlockClass}\LWR@startpars}
\ExplSyntaxOn
\cs_new:cpn {addmargin*} {\addmargin*}