From 964a2d4f61e066388beb5d776bf9c163a3f4fd98 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 19 Mar 2022 03:00:55 +0000 Subject: CTAN sync 202203190300 --- macros/latex/contrib/easybook/easybook.dtx | 24 +++++++++++++----------- macros/latex/contrib/easybook/easybook.pdf | Bin 591500 -> 591566 bytes macros/latex/contrib/easybook/easybook.tex | 6 +++--- 3 files changed, 16 insertions(+), 14 deletions(-) (limited to 'macros/latex/contrib/easybook') 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 @@ } % %<*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{}} { diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf index 47bef555cf..0df829c25a 100644 Binary files a/macros/latex/contrib/easybook/easybook.pdf and b/macros/latex/contrib/easybook/easybook.pdf differ diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex index af3aed2162..b147f94983 100644 --- a/macros/latex/contrib/easybook/easybook.tex +++ b/macros/latex/contrib/easybook/easybook.tex @@ -21,8 +21,8 @@ name = easybook, color-scheme = blue, title = EASYBOOK使用手册, - version = v1.648, - date = 2022/03/13, + version = v1.65, + date = 2022/03/18, authors = 瞿毅, info = 简便地排版中文学位论文或书籍, email = q1jx@foxmail.com, @@ -1121,7 +1121,7 @@ \end{easybox} \end{ctexexam} \environment{ebparbox}[\sarg\oarg{颜色名}\darg{段落标题}\oarg{配置选项}] - 环境 \env{ebparbox} 用法与 \env{easybox} 类似,同样带有三个可选参数。盒子的左边带有一条粗竖线,\meta{颜色名} 选项可以自定义这条竖线颜色,使用星号参数则盒子带有竖线颜色的浅色背景。 + 环境 \env{ebparbox} 用法与 \env{easybox} 类似,同样带有三个可选参数。盒子的左边带有一条粗竖线,背景颜色为竖线颜色的浅色。\meta{颜色名} 选项可以设置竖线的颜色。使用星号参数则盒子无背景颜色。 \end{environments} \begin{commands} -- cgit v1.2.3