diff options
author | Karl Berry <karl@freefriends.org> | 2021-12-26 21:19:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-12-26 21:19:51 +0000 |
commit | bf68f1da406f4d5aec0f69d490fa7231041b68b5 (patch) | |
tree | ac03d5502671a5602790ffc9edc8debe2eb38c24 /Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | |
parent | 6443f770c8ea5e1e1dd5a11bda55db60f199ee15 (diff) |
easybook (26dec21)
git-svn-id: svn://tug.org/texlive/trunk@61413 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index 978f487d260..2d49b33272f 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}{2021/12/22}{1.42C} +\ProvidesExplFile{eb-tcolorbox.cfg}{2021/12/26}{1.42E} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \setexercise #1 @@ -74,8 +74,7 @@ } \deftcbstyle{tc-exercise} { - blank,on~line,center, - sharpish~corners, + blank,center,sharpish~corners, fontupper = \Large\sffamily, beforeafter~skip = 5ex plus .2ex minus .1ex } @@ -85,7 +84,6 @@ center~title, sharpish~corners, left = 8pt,right = 8pt, - opacityback = 0.2,opacitybacktitle = 0.2, coltitle = black,colframe = black, top = \eb@tc@line@skip,bottom = \eb@tc@line@skip, middle = \eb@tc@line@skip, @@ -112,9 +110,9 @@ } \deftcbstyle{tc-ebfbox} { - on~line,sharpish~corners, - top = 1.5pt,bottom = 1.5pt,left = 1pt,right = 1pt, - leftrule = 0pt,rightrule = 0pt + standard~jigsaw,on~line,sharpish~corners, + top = 3pt,bottom = 3pt,left = 3pt,right = 3pt, + boxrule = 0.4pt,opacityback = 0.2 } \tcbset { @@ -207,7 +205,7 @@ \bool_if:NT \g__eb_exer_clear_prologue_bool { \tl_gclear:N \eb@tc@list@prologue } }{} -\DeclareTColorBox{easybox}{sO{Khaki}d()O{}} +\DeclareTColorBox{easybox}{sO{PaleGoldenrod}d()O{}} { IfBooleanF = {#1}{frame~hidden,boxrule = 0pt}, IfValueT = {#3}{title = #3}, @@ -227,17 +225,16 @@ }{ colback = white, IfValueT = {#3}{title = #3}, - top = 0pt,bottom = 0pt,right = 0pt,toptitle = 0pt + top = 0pt,bottom = 0pt,right = 0pt }, coltitle = #2,tc-ebparbox,#4 } -\DeclareTotalTCBox{\ebfbox}{O{Lime}vO{}} +\DeclareTotalTCBox{\ebfbox}{O{Green}vO{}} { - colback = #1!10!white, - colframe = #1!50!black, + colback = #1,colframe = #1, tc-ebfbox,#3 }{#2} -\DeclareTotalTCBox{\ebemph}{O{DarkSeaGreen}vO{}} +\DeclareTotalTCBox{\ebemph}{O{Yellow}vO{}} { fuzzy~halo = 2pt~with~#1, tc-ebemph,#3 |