summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-04-11 21:33:43 +0000
committerKarl Berry <karl@freefriends.org>2021-04-11 21:33:43 +0000
commit86662024018682cdc86b1bd94ae021b0b39a23f8 (patch)
tree323a6697b8ce7367197edc4e2fe4feaffcb45469 /Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
parent0305002960075b3f60f4125ed15d4dae571f55c3 (diff)
lwarp
git-svn-id: svn://tug.org/texlive/trunk@58837 c570f23f-e606-0410-a88d-b1316a301751
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}%
}
{%