diff options
author | Karl Berry <karl@freefriends.org> | 2024-05-24 20:56:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-05-24 20:56:29 +0000 |
commit | fa1bacc78a796cef7058abc294f843ab53ac8e25 (patch) | |
tree | be529a81e88bef863dab88742e67dd5bb42cafcd /Master/texmf-dist/source/latex/easybook/easybook.dtx | |
parent | b3896bcfe3383845b9163ef979570e75e65d2fa9 (diff) |
easybook (23may24)
git-svn-id: svn://tug.org/texlive/trunk@71336 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/easybook/easybook.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/easybook/easybook.dtx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index 8ee29883b1e..511b24fa084 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -14,7 +14,7 @@ % This work has the LPPL maintenance status `maintained'. %<*class> \NeedsTeXFormat{LaTeX2e}[2021/11/15] -\ProvidesExplClass{easybook}{2024/05/23}{2024bt} +\ProvidesExplClass{easybook}{2024/05/24}{2024bu} {Easily typesetting Chinese theses or books} \bool_new:N \l__eb_compile_draft_bool @@ -301,7 +301,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2021/11/15] \RequirePackage{etoolbox} -\ProvidesExplPackage{easybase}{2024/05/23}{2024bt} +\ProvidesExplPackage{easybase}{2024/05/24}{2024bu} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -2179,7 +2179,14 @@ \RenewDocumentCommand{\declaretheoremstyle}{O{}mO{}} {\eb@declaretheoremstyle@save[#1,#3]{#2}} \RenewDocumentCommand{\declaretheorem}{O{}mO{}} - {\eb@declaretheorem@save[style = default,#1,#3]{#2}} + { + \eb@declaretheorem@save[style = default,#1,#3]{#2} + \settheoremtocline{#2} + { + \listnumberline{#2} + \thmtname\thmtifnote{~(\thmtnote)}{} + } + } \ctex_define:nn { thmt } { loeskip .skip_set:N = \eb@thmt@loe@skip, @@ -2226,7 +2233,7 @@ \NewDocumentCommand{\settheoremtocline}{smm} { \IfBooleanT{#1}{\def\thmt@contentslineIgnore{\thmt@contentsline}} - \cs_set:cpn { ll@#2 } {#3} + \cs_set:cpn { ll@#2 } { \@bsphack #3\@esphack } } } @@ -2582,7 +2589,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2024/05/23}{2024bt} +\ProvidesExplFile{eb-tcolorbox.cfg}{2024/05/24}{2024bu} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |