diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-18 21:01:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-18 21:01:09 +0000 |
commit | 652a7e2ad11688e26d4545ae3f32b2e37f39a28a (patch) | |
tree | e3c384b6c82b68746930163fe4f963cf49c8f289 /Master/texmf-dist/tex/latex/easybook | |
parent | 6ed9c0d1fe3ab45b055c6a2c99f445aae7d93706 (diff) |
easybook (18mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62785 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 20 |
3 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index 9046bcebb73..5f84f69ae0b 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}[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 } diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 06c9dbc4aec..34d9ba16550 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \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 diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index 5123c166958..147d842236d 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}{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 @@ -73,22 +73,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{}} { |