summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-18 22:20:50 +0000
committerKarl Berry <karl@freefriends.org>2021-02-18 22:20:50 +0000
commit4220324e99226b427519e0380034f951f67a011f (patch)
treecb991a317a2a496a06ca35e186b5769a1647fb00 /Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
parent8c0263c4dae81b4fb2e0bb547d3954699856108b (diff)
lwarp (18feb21)
git-svn-id: svn://tug.org/texlive/branches/branch2020@57791 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
index fd7083aeb0b..c3422db5fa1 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
@@ -16,15 +16,15 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackagePass{sidenotes}
-\RenewDocumentCommand \sidecaption {s o o +m}
+\RenewDocumentCommand \sidecaption {s o o m}
{
\LWR@stoppars
\begingroup
- \captionsetup{style=sidecaption}
+ \captionsetup{style=sidecaption}%
\IfBooleanTF{#1}
{ % starred
\begin{BlockClass}[border:none ; box-shadow:none]{marginblock}
- \caption*{#4}
+ \caption*{#4}%
\end{BlockClass}
}
{ % unstarred
@@ -40,11 +40,11 @@
}
\NewDocumentEnvironment{KFLTsidenotes@marginfloat}{O{-1.2ex} m}
{% start
-\LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}{marginblock}%
-\captionsetup{type=#2}%
+ \LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}{marginblock}%
+ \renewcommand*{\@captype}{#2}%
}
{%
-\endLWR@BlockClassWP%
+ \endLWR@BlockClassWP%
}
\RenewDocumentEnvironment{marginfigure}{o}