%% %% This is file `eb-tcolorbox.cfg', %% generated with the docstrip utility. %% %% The original source files were: %% %% easybook.dtx (with options: `tcolorbox') %% Copyright (C) 2021-2024 by Qu Yi %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later %% version. The latest version of this license is in: %% %% http://www.latex-project.org/lppl.txt %% %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. \ProvidesExplFile{eb-tcolorbox.cfg}{2024/08/14}{2024dj} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 { \tcbset{#1/.append~style = {#2}} } \cs_set_protected:Npn \deftcbstyle #1#2 { \tcbset{#1/.style = {#2}} } \cs_new_protected:Npn \tcbappstyle { \@ifstar{\deftcbstyle}{\addtotcbstyle} } \deftcbstyle{tc-easyboxi} { enhanced~jigsaw, center~title, left = 8pt,right = 8pt, coltitle = black,colframe = black, top = 0.5\baselineskip,bottom = 0.5\baselineskip, middle = 0.5\baselineskip, toptitle = 0.5\baselineskip, titlerule = 0pt, beforeafter~skip = 0.5\baselineskip } \deftcbstyle{tc-easyboxii} { enhanced~jigsaw, frame~hidden,boxrule = 0pt, left = 10pt, middle = 0.5\baselineskip,bottomtitle = 0.5\baselineskip, beforeafter~skip = 0.5\baselineskip } \deftcbstyle{tc-eboxi}{on~line,blank} \deftcbstyle{tc-eboxii} { standard~jigsaw,on~line, top = 3pt,bottom = 3pt,left = 3pt,right = 3pt, boxrule = 0.4pt,opacityback = 0.2 } \tcbset { breakable, pad~at~break* = 0.5\baselineskip, sharpish~corners, fonttitle = \sffamily, colframe = black, boxsep = 0pt, boxrule = 0.5pt } \DeclareTColorBox{easyboxi}{sO{LemonChiffon}d()O{}} { IfBooleanF = {#1}{frame~hidden,boxrule = 0pt}, IfValueT = {#3}{title = #3}, colback = #2,colbacktitle = #2, tc-easyboxi,#4 } \DeclareTColorBox{easyboxii}{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, top = \tl_if_blank:nTF {#3} { 0.5\baselineskip } { 0pt }, bottom = 0.5\baselineskip, toptitle = 0.5\baselineskip, right = 8pt }, title = #3,coltitle = #2, tc-easyboxii,#4 } \DeclareTotalTCBox{\eboxi}{O{Yellow}mO{}} { fuzzy~halo = 2pt~with~#1, tc-eboxi,#3 }{#2} \DeclareTotalTCBox{\eboxii}{O{Green}mO{}} { colback = #1,colframe = black, tc-eboxii,#3 }{#2} \endinput %% %% End of file `eb-tcolorbox.cfg'.