diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty | 10 |
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*} |