diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-19 03:00:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-19 03:00:55 +0000 |
commit | 964a2d4f61e066388beb5d776bf9c163a3f4fd98 (patch) | |
tree | 6038242fee2902936fc1254617240ecddf9142dc /macros/latex/contrib/easybook/easybook.dtx | |
parent | a892f739b50b6ddc5321c834017cdcbc42a3f056 (diff) |
CTAN sync 202203190300
Diffstat (limited to 'macros/latex/contrib/easybook/easybook.dtx')
-rw-r--r-- | macros/latex/contrib/easybook/easybook.dtx | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx index 023419294b..bae091e2c1 100644 --- a/macros/latex/contrib/easybook/easybook.dtx +++ b/macros/latex/contrib/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2022/03/13}{1.648} +\ProvidesExplClass{easybook}{2022/03/18}{1.65} {Easily typesetting Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -303,7 +303,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2022/03/13}{1.648} +\ProvidesExplPackage{easybase}{2022/03/18}{1.65} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -2322,7 +2322,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/13}{1.648} +\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/18}{1.65} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 @@ -2377,22 +2377,24 @@ colback = #2,colbacktitle = #2, tc-easybox,#4 } -\DeclareTColorBox{ebparbox}{sO{RoyalBlue}d()O{}} +\DeclareTColorBox{ebparbox}{sO{RoyalBlue}D(){}O{}} { borderline~west = {3pt}{0pt}{#2}, IfBooleanTF = {#1} { + colback = white, + top = 0pt,bottom = 0pt,right = 0pt, + pad~at~break* = 0pt + }{ colback = #2,colbacktitle = #2, opacityback = 0.2,opacitybacktitle = 0.2, - IfValueTF = {#3}{title = #3,top = 0pt}{top = 0.5\baselineskip}, - bottom = 0.5\baselineskip,toptitle = 0.5\baselineskip, + top = \tl_if_blank:nTF {#3} { 0.5\baselineskip } { 0pt }, + bottom = 0.5\baselineskip, + toptitle = 0.5\baselineskip, right = 8pt - }{ - colback = white, - IfValueT = {#3}{title = #3}, - top = 0pt,bottom = 0pt,right = 0pt }, - coltitle = #2,tc-ebparbox,#4 + title = #3,coltitle = #2, + tc-ebparbox,#4 } \DeclareTotalTCBox{\ebfbox}{O{Green}mO{}} { |