diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook/easybook.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 305f33ac691..475920142e5 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -9,7 +9,7 @@ %% https://creativecommons.org/licenses/by/4.0/legalcode \NeedsTeXFormat{LaTeX2e} \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2021/02/13}{1.23d}{} +\ProvidesExplClass{easybook}{2021/02/20}{1.23e}{} \cs_generate_variant:Nn \keys_define:nn {nx} \cs_generate_variant:Nn \int_to_arabic:n {v} @@ -302,11 +302,17 @@ {\hbox:n {}\thispagestyle{empty}\clearpage} } } -\cs_gset:Npn \frontmatter +\RenewDocumentCommand{\frontmatter}{sO{Roman}} { - \cleardoublepage + \IfBooleanTF{#1}{\clearpage}{\cleardoublepage} \@mainmatterfalse - \pagenumbering{Roman} + \pagenumbering{#2} + } +\RenewDocumentCommand{\mainmatter}{s} + { + \IfBooleanTF{#1}{\clearpage}{\cleardoublepage} + \@mainmattertrue + \pagenumbering{arabic} } \cs_gset_eq:NN \easyhead\fancyhead \cs_gset_eq:NN \easyfoot\fancyfoot |