diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 2 |
3 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index 66ec5859f5a..fb3fece89f2 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybase.sty +++ b/Master/texmf-dist/tex/latex/easybook/easybase.sty @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \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 } @@ -1898,7 +1898,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, @@ -1945,7 +1952,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 } } } diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 59c30211c14..11f97da2d90 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -19,7 +19,7 @@ %% %% This work has the LPPL maintenance status `maintained'. \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 diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index 5a42f508618..4c8423906db 100644 --- a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg +++ b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg @@ -18,7 +18,7 @@ %% LaTeX version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. -\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 |