diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook/easybook.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 1854f1ebefa..29afa6db73e 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2024/01/05}{2024B} +\ProvidesExplClass{easybook}{2024/01/06}{2024C} {Easily typesetting Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -33,29 +33,29 @@ \keys_define:nn { easybook } { - newline .code:n = \bool_set_true:N \l__eb_title_newline_bool, - scheme .code:n = \eb_put_ctexbook:n { scheme = #1 }, - enmode .meta:n = { newline,scheme = plain }, - font .choices:nn = + newline .code:n = \bool_set_true:N \l__eb_title_newline_bool, + scheme .code:n = \eb_put_ctexbook:n { scheme = #1 }, + enmode .meta:n = { newline,scheme = plain }, + font .choices:nn = { noto,times,times*,ebgaramond,libertine,palatino,auto } { \tl_set:Nn \l__eb_font_value_tl {#1} }, - font .value_required:n = true, - font .initial:n = auto, - cjkfont .code:n = \eb_put_ctexbook:n { fontset = #1 }, - mathfont .tl_set:N = \l__eb_mathfont_value_tl, - mathfont .initial:n = times, - paper .code:n = \PassOptionsToPackage{#1}{geometry}, + font .value_required:n = true, + font .initial:n = auto, + cjkfont .code:n = \eb_put_ctexbook:n { fontset = #1 }, + mathfont .tl_set:N = \l__eb_mathfont_value_tl, + mathfont .initial:n = times, + paper .code:n = \PassOptionsToPackage{#1}{geometry}, class .choice:, - class .value_required:n = true, - class/book .code:n = { }, - class/article .code:n = + class .value_required:n = true, + class/book .code:n = { }, + class/article .code:n = { \bool_set_false:N \l__eb_class_mode_book_bool \eb_put_ctexbook:n { oneside } }, - config .clist_gset:N = \g__eb_config_file_clist, - floatpage .bool_set:N = \l__eb_float_page_bool, - theorem .bool_set:N = \l__eb_theorem_support_bool, + config .clist_gset:N = \g__eb_config_file_clist, + floatpage .bool_set:N = \l__eb_float_page_bool, + theorem .bool_set:N = \l__eb_theorem_support_bool, unknown .code:n = \clist_gput_right:NV \g__eb_doc_options_clist \CurrentOption } @@ -242,7 +242,6 @@ tocdepth = \bool_if:NTF \l__eb_class_mode_book_bool { 1 } { 2 }, part = { - pagestyle = empty, format = \color{ctex@frame}\sffamily\Huge, nameformat = { }, titleformat = { }, @@ -255,7 +254,6 @@ }, chapter = { - % pagestyle = fancy, format = { \color{ctex@frame}\sffamily\LARGE |