diff options
author | Karl Berry <karl@freefriends.org> | 2021-12-09 21:04:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-12-09 21:04:51 +0000 |
commit | aaf82f524c0dfe58de47f941d55875e5a7a3e8da (patch) | |
tree | 2120172340bfe7c670600f735497ac1a93217338 /Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | |
parent | 65ced2bb364c8d8a073845d6d98569f24c24f43c (diff) |
easybook (9dec21)
git-svn-id: svn://tug.org/texlive/trunk@61259 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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index 602ac7c0de4..554368186a6 100644 --- a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg +++ b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg @@ -18,17 +18,17 @@ %% LaTeX version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. -\ProvidesExplFile{eb-tcolorbox.cfg}{2021/12/08}{1.41L} +\ProvidesExplFile{eb-tcolorbox.cfg}{2021/12/08}{1.41N} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \setexercise #1 { \keys_set:nn { eb/exercise } {#1} } -\cs_set_protected:Npn \addtcbstyle #1#2 +\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}{\addtcbstyle} } + { \@ifstar{\deftcbstyle}{\addtotcbstyle} } \cs_set_eq:NN \newtcbstyle \deftcbstyle \keys_define:nn { eb/exercise } { @@ -44,7 +44,7 @@ tocnumsep .initial:n = 1em, label .tl_set:N = \eb@tc@exercise@label, enumitem .code:n = \setexerlist{#1}, - tcolorbox .code:n = \addtcbstyle{exercise}{#1} + tcolorbox .code:n = \addtotcbstyle{exercise}{#1} } \tl_gset:Nn \eb@tc@line@skip { 0.5\baselineskip } |