diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-19 19:58:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-19 19:58:14 +0000 |
commit | ed20212d6b979dfa441f8f2b775b8362d5f8d64d (patch) | |
tree | 64792c2ad8abbf0792a08d3cbd265ef61162ca84 /Master/texmf-dist/tex | |
parent | 2c4c115f417998c568f62586deca6e3dedf4421a (diff) |
easybook (19may21)
git-svn-id: svn://tug.org/texlive/trunk@59267 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 9e412b3a31b..e4e979a09ab 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -13,7 +13,7 @@ %% https://creativecommons.org/licenses/by/4.0/legalcode \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplClass{easybook}{2021/05/17}{1.25k}{beta} +\ProvidesExplClass{easybook}{2021/05/18}{1.25l}{beta} \cs_generate_variant:Nn \eb_ctex_define:nn { nx } \cs_generate_variant:Nn \int_to_arabic:n { v } @@ -235,7 +235,8 @@ { l3keys2e } { 2020/10/27 }, { ctex } { 2021/03/14 }, { thmtools } { 2020/08/01 }, - { caption } { 2020/08/24 } + { caption } { 2020/08/24 }, + { siunitx } { 2021/05/17 } } { \eb_package_later_bool:nn #1 } @@ -251,7 +252,7 @@ \cs_new_protected:Npn \eb_font_double_engine_set:n #1 { \exp_args:Nc \RenewDocumentCommand {set#1font}{O{}mO{}} - {\use:c { eb_set#1font:nn }{##2}{##1,##3}} + {\use:c { eb_set#1font:nn } {##2} {##1,##3}} } \seq_const_from_clist:Nn \c__eb_font_reset_family_seq { main,sans,mono,CJKmain,CJKsans,CJKmono } @@ -969,8 +970,7 @@ \tl_if_eq:NnTF \l__eb_toc_type_tl { book } { \bichapter{\eb@toc@title}{\eb@bitoc@title} } { \bisection{\eb@toc@title}{\eb@bitoc@title} } - } - { + }{ \IfBooleanTF{#2} { \eb_title_mark_notoc:n {\eb@toc@title} } { \eb_title_mark_intoc:n {\eb@toc@title} } @@ -1414,16 +1414,18 @@ } \sisetup { - detect-shape, - detect-family, - detect-weight, + mode = match, table-parse-only, - detect-display-math, - detect-inline-family = math, - detect-inline-weight = math, - range-phrase = \ensuremath{\sim}, - range-units = single, - group-digits = false + propagate-math-font, + text-family-to-math, + text-series-to-math, + reset-text-family = false, + reset-text-series = false, + reset-text-shape = false, + reset-math-version = false, + range-phrase = \ensuremath{\sim}, + range-units = single, + group-digits = none } \eb_at_begin_environment:nn { |