diff options
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.sty | 11 |
1 files changed, 9 insertions, 2 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 c24ad4c098b..511dc188501 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty @@ -221,6 +221,9 @@ \renewcommand*{\abstractintoc}{} \renewcommand*{\abstractnum}{} \renewcommand*{\abstractrunin}{} +\DeclareDocumentCommand{\book}{s d() o o d() m}{% + \LWR@section{#1}{#3}{#6}{book}% +} \def\@apppage{% \part*{\appendixpagename} @@ -231,9 +234,13 @@ \def\@sapppage{% \part*{\appendixpagename} } +\DeclareDocumentCommand{\mainmatter}{s}{% + \booltrue{LWR@mainmatter}% +} -\csletcs{frontmatter*}{frontmatter} -\csletcs{mainmatter*}{mainmatter} +\DeclareDocumentCommand{\frontmatter}{s}{% +\boolfalse{LWR@mainmatter}% +} \renewcommand*{\raggedbottomsection}{} \renewcommand*{\normalbottomsection}{} \renewcommand*{\bottomsectionskip}{} |