diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty b/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty index 8ef33efffcd..ebcfe1108a5 100644 --- a/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty +++ b/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplPackage {projlib-theorem} - {2022/03/17} {} + {2022/03/19} {} {Configuration of theorem-like environments} \keys_define:nn { projlib-theorem } @@ -42,6 +42,13 @@ , theorem numbering .default:n = { * } , thmnum .tl_set:N = \l__projlib_theorem_theorem_numbering_tl , thmnum .default:n = { * } + , theorem-style .tl_set:N = \l__projlib_theorem_theorem_style_tl + , theorem-style .initial:n = { } + , theorem-style .value_required:n = true + , theorem~style .tl_set:N = \l__projlib_theorem_theorem_style_tl + , theorem~style .value_required:n = true + , theorem style .tl_set:N = \l__projlib_theorem_theorem_style_tl + , theorem style .value_required:n = true , complex-name .bool_set:N = \l__projlib_theorem_complexname_bool , complex-name .initial:n = { true } , complex~name .bool_set:N = \l__projlib_theorem_complexname_bool @@ -105,6 +112,17 @@ \RequirePackage { projlib-language } +\cs_new_protected:Nn \projlib_theorem_preset_theorem_style:nn + { + \tl_const:cn { c_crthm_theorem_style_preset_ #1 _tl } { #2 } + } + +\cs_generate_variant:Nn \keyval_parse:nnn { nno } +\keyval_parse:nno + { } + { \projlib_theorem_preset_theorem_style:nn } + { \l__projlib_theorem_theorem_style_tl } + \RequirePackage { amsthm } \RequirePackage { create-theorem } |