summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
index 643e96c138e..54127dc6423 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
@@ -47,19 +47,19 @@
\RequirePackage{lwarp-titling}% req'd
\RequirePackage{lwarp-tocloft}% req'd
\RequirePackage{lwarp-verse}% req'd
-\let\LWR@orig@label\@mem@old@label
-\let\@mem@old@label\LWR@new@label
+\LetLtxMacro\LWR@orig@label\@mem@old@label
+\LetLtxMacro\@mem@old@label\LWR@new@label
\AtBeginDocument{
\renewcommand*{\sf@@memsub@label}[1]{%
\@bsphack
\sf@@memsub@label@hook{#1}%
- \@memoldlabel{#1}%
- \LWR@label@createtag{sub@#1}%
+ \cref@label{#1}% lwarp
+ \LWR@label@createtag{sub@#1}% lwarp
\protected@write\@auxout{}{%
\string\newlabel{sub@#1}%
{{\@nameuse{@@thesub\@captype}}%
{\thepage}}}%
- \LWR@write@lwarplabel{sub@#1}%
+ \LWR@write@lwarplabel{sub@#1}% lwarp
\@esphack
}
}
@@ -701,7 +701,7 @@
\renewcommand{\setfloatadjustment}[2]{}
\NewDocumentEnvironment{KFLTmemoir@marginfloat}{O{-1.2ex} m}
{% start
- \LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}{marginblock}%
+ \LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}(note){marginblock}%
\renewcommand*{\@captype}{#2}%
}
{%