diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-18 21:30:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-18 21:30:42 +0000 |
commit | 093fc7a93506a95633bb30462d29fd3805055de6 (patch) | |
tree | 69dd3c2c98751dc4c116fbd851ceebbbb9a31228 /Master/texmf-dist/tex | |
parent | e9fe4486526aa48f4404c5eb9464c8a91948381c (diff) |
easybook (18jan22)
git-svn-id: svn://tug.org/texlive/trunk@61649 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 25 |
3 files changed, 19 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index 47a75f83d1d..a8b57e802c4 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/01/16}{1.46E} +\ProvidesExplPackage{easybase}{2022/01/18}{1.46P} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -462,7 +462,7 @@ { fntnumwith .choices:nn = { part,page,chapter } - { \tl_set:Nn \l__eb_fnt_counter_parent_value_tl {#1} }, + { \tl_set:Nn \l__eb_fnt_parent_counter_tl {#1} }, fntnumwith .value_required:n = true, fntnumwith .initial:n = chapter } @@ -644,7 +644,7 @@ \dim_set:Nn \footnotesep { \dim_use:N \box_ht:N \strutbox } \bool_if:NT \l__eb_chap_counter_withpart_bool { \counterwithin*{chapter}{part} } - \str_case:VnT \l__eb_fnt_counter_parent_value_tl + \str_case:VnT \l__eb_fnt_parent_counter_tl { { part } { \counterwithin*{footnote}{part} } { page } { \counterwithin*{footnote}{page} } @@ -1927,8 +1927,8 @@ numberstyle = \footnotesize, basewidth = 0.5em, columns = flexible, - aboveskip = 1.5ex plus .2ex minus .1ex, - belowskip = 1.5ex plus .2ex minus .1ex, + aboveskip = 0.5\baselineskip, + belowskip = 0.5\baselineskip, abovecaptionskip = -1ex, belowcaptionskip = 1.5ex, keepspaces = true, diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index df6ea917497..de9d1e016c4 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/01/16}{1.46E} +\ProvidesExplClass{easybook}{2022/01/18}{1.46P} {Typeset 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 9c667943b6d..d05d0e12b6e 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/01/16}{1.46E} +\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/18}{1.46P} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 @@ -31,8 +31,8 @@ \deftcbstyle{tc-theorem} { - enhanced~jigsaw,pad~at~break* = 3pt, - colframe = ctex@emph, + enhanced~jigsaw, + frame~hidden,boxrule = 0pt, beforeafter~skip = 0.5\baselineskip, left = 8pt,right = 8pt, top = 0.5\baselineskip,bottom = 0.5\baselineskip, @@ -40,7 +40,7 @@ } \deftcbstyle{tc-easybox} { - enhanced~jigsaw,pad~at~break* = 3pt, + enhanced~jigsaw, center~title, left = 8pt,right = 8pt, coltitle = black,colframe = black, @@ -52,10 +52,9 @@ } \deftcbstyle{tc-ebparbox} { - frame~hidden, - enhanced~jigsaw,pad~at~break* = 3pt, - boxrule = 0pt, - left = 8pt, + enhanced~jigsaw, + frame~hidden,boxrule = 0pt, + left = 10pt, middle = 0.5\baselineskip,bottomtitle = 0.5\baselineskip, beforeafter~skip = 0.5\baselineskip } @@ -69,10 +68,12 @@ \tcbset { breakable, + pad~at~break* = 3pt, sharpish~corners, - fonttitle = \sffamily, - boxsep = 0pt, - boxrule = 0.5pt + fonttitle = \sffamily, + colframe = black, + boxsep = 0pt, + boxrule = 0.5pt } \DeclareTColorBox{easybox}{sO{PaleGoldenrod}d()O{}} @@ -82,7 +83,7 @@ colback = #2,colbacktitle = #2, tc-easybox,#4 } -\DeclareTColorBox{ebparbox}{sO{DarkSlateBlue}d()O{}} +\DeclareTColorBox{ebparbox}{sO{RoyalBlue}d()O{}} { borderline~west = {3pt}{0pt}{#2}, IfBooleanTF = {#1} |