diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-09 20:50:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-09 20:50:32 +0000 |
commit | 6a045c64c3f905e6bb325710626b1fb3b156c0c9 (patch) | |
tree | 39c7c83028ade2d678ceb6782ec003749bd22189 /Master/texmf-dist/tex | |
parent | ead9156f7ddf735b7f81064f55f0a920e76e79c6 (diff) |
easybook (9may21)
git-svn-id: svn://tug.org/texlive/trunk@59148 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 5d7a8484b11..7dec01168a1 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/07}{1.25d}{beta} +\ProvidesExplClass{easybook}{2021/05/09}{1.25f}{beta} \cs_generate_variant:Nn \eb_ctex_define:nn { nx } \cs_generate_variant:Nn \int_to_arabic:n { v } @@ -187,7 +187,7 @@ geometry,marginnote,nccfoots, pdfpages,graphicx, fancyhdr,titletoc, - caption-light,subcaption, + caption-light, tabularx,multirow,booktabs, enumitem, listings @@ -500,9 +500,9 @@ { #1/format .tl_set:c = l__eb_toc_#1_format_tl, #1/format+ .code:n = - { \tl_put_right:cn {l__eb_toc_#1_format_tl} {##1} }, + { \tl_put_right:cn { l__eb_toc_#1_format_tl } {##1} }, #1/format~+ .code:n = - { \tl_put_right:cn {l__eb_toc_#1_format_tl} {##1} }, + { \tl_put_right:cn { l__eb_toc_#1_format_tl } {##1} }, #1/indent .tl_set:c = l__eb_toc_#1_indent_tl, #1/rule .tl_set:c = l__eb_toc_#1_rule_tl, #1/numsep .tl_set:c = eb@toc@#1@numsep @@ -524,7 +524,7 @@ list/lolskip .initial:n = 0.8pc, list/belowoffset .dim_set:N = \l__eb_toc_listoffset_dim, list/belowoffset .initial:n = - {\bool_if:NTF \l__eb_class_book_bool { 0pc } { 0.15pc } }, + { \bool_if:NTF \l__eb_class_book_bool { 0pc } { 0.15pc } }, belowoffset .dim_set:N = \l__eb_toc_offset_dim, belowoffset .initial:n = @@ -847,7 +847,7 @@ \ifbool{@twocolumn} { \booltrue{@restonecol} - \bool_if:NTF \l__eb_multoc_bool {\twocolumn } { \onecolumn } + \bool_if:NTF \l__eb_multoc_bool { \twocolumn } { \onecolumn } }{ \boolfalse{@restonecol} \bool_if:NT \l__eb_multoc_bool { \twocolumn } @@ -1407,7 +1407,7 @@ ]{\IfBooleanF{#1}{\CTEXthesection\hspace{0.5\ccwd}}#5} }{ \group_begin: - \keys_set:nn { ctex/section } { format += \centering } + \ctex_set:nn { section } { format += \centering } \IfValueT{#6}{\ctex_set:nn { section } {#6}} \IfBooleanTF{#1}{\section*{#5}}{\section{#5}} \group_end: @@ -1830,11 +1830,8 @@ lstlistingname = 代码 } \labelformat{equation}{式(#1)} - \labelformat{align}{式(#1)} - \labelformat{multline}{式(#1)} - \labelformat{gather}{式(#1)} - \labelformat{section}{节#1} - \labelformat{subsection}{小节#1} + \labelformat{section}{节 #1} + \labelformat{subsection}{小节 #1} } { \keys_set_known:nn { ctex } @@ -1844,9 +1841,6 @@ lstlistingname = Code } \labelformat{equation}{Equation~(#1)} - \labelformat{align}{Equation~(#1)} - \labelformat{multline}{Equation~(#1)} - \labelformat{gather}{Equation~(#1)} \labelformat{section}{Section~#1} \labelformat{subsection}{Subsection~#1} } |