diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-25 21:24:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-25 21:24:09 +0000 |
commit | 91c444a271f31d785e695b9c74e4dbaaede3f6bc (patch) | |
tree | 82ab3be0be7e157339502a67c4ebf8fa54d9cb5b /Master/texmf-dist/source/latex | |
parent | 9bb1d536b006d4a9e16a0eae95d0797e9e5926a0 (diff) |
easybook (25nov21)
git-svn-id: svn://tug.org/texlive/trunk@61153 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/easybook/easybook.dtx | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index 633dde041ce..1dc68e17ad8 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2021/11/24}{1.40X} +\ProvidesExplClass{easybook}{2021/11/25}{1.40Z} {Typeset Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -325,7 +325,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2021/11/24}{1.40X} +\ProvidesExplPackage{easybase}{2021/11/25}{1.40Z} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -1388,7 +1388,7 @@ { \eb@if@boolT\eb@titletoc@hang@fix@bool{\p@numberline} \bgroup - \eb@toc@label@lstlisting{} + \eb@toc@label@lstlisting{\thelstlisting} \egroup \lst@@caption } @@ -1697,16 +1697,19 @@ \ctex_define:nn { subfont } { - caption-table .tl_set:N = \l__eb_subfont_table_tl, - caption-table .initial:n = \sffamily\small, - caption-figure .tl_set:N = \l__eb_subfont_figure_tl, - caption-figure .initial:n = \sffamily\small, - caption-listing .tl_set:N = \l__eb_subfont_listing_tl, - caption-listing .initial:n = \sffamily\small, - footnote .tl_set:N = \l__eb_subfont_footnote_tl, - footnote .initial:n = \rmfamily, - marginpar .tl_set:N = \marginfont, - marginpar .initial:n = \rmfamily\footnotesize, + caption-table .tl_set:N = \l__eb_subfont_table_tl, + caption-figure .tl_set:N = \l__eb_subfont_figure_tl, + caption-listing .tl_set:N = \l__eb_subfont_listing_tl, + caption .meta:n = + { + caption-table = #1,caption-figure = #1, + caption-listing = #1 + }, + caption .initial:n = \sffamily\small, + footnote .tl_set:N = \l__eb_subfont_footnote_tl, + footnote .initial:n = \rmfamily, + marginpar .tl_set:N = \marginfont, + marginpar .initial:n = \rmfamily\footnotesize, unknown .code:n = \eb_msg_unknown_option:n { subfont } } @@ -1760,13 +1763,10 @@ \captionsetup[figure][bi-second]{name = Figure} \captionsetup[table][bi-second]{name = Table} } -\IfPackageAtLeastTF{tabularray}{2021/07/01} - { - \UseTblrLibrary{booktabs} - \SetTblrInner{stretch = \fp_use:N \l__eb_spread_table_fp} - }{} -\eb_at_begin_environment:nn { tabular,tabularx } +\eb_at_begin_environment:nn + { tabular,tabularx,tblr,longtblr,longtable } { \setspread{\fp_use:N \l__eb_spread_table_fp} } +\IfPackageAtLeastTF{tabularray}{2021/07/01}{\UseTblrLibrary{booktabs}}{} \bool_if:NF \l__eb_float_page_bool { @@ -2380,7 +2380,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/24}{1.40X} +\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/25}{1.40Z} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \setexercise #1 |