diff options
author | Karl Berry <karl@freefriends.org> | 2024-10-01 19:49:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-10-01 19:49:32 +0000 |
commit | 2adb0472442c7e3739938646bd1f2a69a9461d15 (patch) | |
tree | d6125cd6be934f1f5c2622f0e3928db3715ba072 /Master/texmf-dist/tex | |
parent | 0ad02711f2c880f13e7d59ec0f76c7513a13c201 (diff) |
tcolorbox (1oct24)
git-svn-id: svn://tug.org/texlive/trunk@72438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
19 files changed, 97 insertions, 72 deletions
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index cade134ab2d..82cdde4e21e 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \RequirePackage{pdfcol} \pdfcolInitStack{tcb@breakable} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index a550de9fff3..7de745b5007 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- @@ -17,13 +17,13 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbuselibrary{listings,skins,external,raster} \ifdefined\printindex\else% \RequirePackage{makeidx}[2000/03/29]% - \AddToHook{begindocument/before}{% + \AddToHook{begindocument/before}[tcolorbox]{% \@ifpackageloaded{imakeidx}{% \tcb@warning{`imakeidx' package should be loaded before `documentation' library}% }{}}% @@ -66,7 +66,7 @@ \DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} \def\meta@font@select{\rmfamily\itshape} -\AtEndPreamble{% +\AtEndPreamble[tcolorbox]{% \@ifpackageloaded{doc}{% }{% code taken from doc.sty \ifx\l@nohyphenation\undefined @@ -228,7 +228,7 @@ value=value,values=Values}}, } -\AtBeginDocument{% +\AtBeginDocument[tcolorbox]{% \csname tcb@doc@index@\idx@format\endcsname% \hypersetup{ citecolor=\kvtcb@colhyper, @@ -922,7 +922,16 @@ \def\refKey{\tcb@ref@doc{key}} \def\refPathOperation{\tcb@ref@doc{path}} -\AtBeginDocument{% +\NewDocumentCommand \refPkg { O{#2} m } {% + \href{https://ctan.org/pkg/#1}% + {% + \refAux{#2}% + \kvtcb@doc@format@page{{\fontfamily{pzd}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char213}% + \,CTAN}% + }% +} + +\AtBeginDocument[tcolorbox]{% \ifHy@colorlinks \def\refAux#1{\textcolor{\kvtcb@colhyper}{\tcb@scantokens{#1}}}% \def\refAuxcs#1{\textcolor{\kvtcb@colhyper}{\tcb@cs{#1}}}% @@ -1065,8 +1074,6 @@ % deprecated \tcbset{ - before example/.store in=\kvtcb@beforeexample, - after example/.store in=\kvtcb@afterexample, - before example=\par\smallskip, - after example=, + before example/.code = {\tcb@warning@deprecatedkey{v3.50 (2015/03/16)}}, + after example/.code = {\tcb@warning@deprecatedkey{v3.50 (2015/03/16)}}, } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 060f1bb9a0e..e9a93db6196 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex index e133063705f..73d73f5a998 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex index 6a60587177c..6d825fc61c0 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbset{% before upper app/.code={\appto\kvtcb@before@upper{#1}},% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex index 9a869f870f6..09c5723e8d7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \RequirePackage{listings}[2007/02/22] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex index f3ffb31b906..4022b58069f 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex index 0fb3fd8d22a..0bdbef42903 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbuselibrary{listings} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex index 49059a0863a..0f54466b1e5 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbuselibrary{breakable} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex index d21bc110367..60de31f6bfa 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,12 +18,14 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \RequirePackage{minted}[2021/12/24] % to be removed, if integrated into the minted package (#281) -\minted@def@optcl{envname}{-P envname}{#1} +\IfPackageAtLeastTF{minted}{2024/08/25}{}{% + \minted@def@optcl{envname}{-P envname}{#1}% +} \tcbuselibrary{listings@core} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex index 3fcec6b22c3..67705b7b57d 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbuselibrary{breakable,magazine,skins,fitting} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex index a5bdabc874b..086bc374587 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \ExplSyntaxOn diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex index e3645497e90..3aead9fbb89 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index 5e3faed9dde..bd5f3f9fdfd 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \RequirePackage{tikzfill.image} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 6a54fca567f..a046fcd34dc 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbuselibrary{skins} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex index cfbc1ba796c..7a8b2d42615 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \RequirePackage{amsmath} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex index 51a4c9d6d05..92c23ca3f1a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \tcbuselibrary{skins} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex index 5223be23ea1..a4c44387038 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- @@ -18,6 +18,6 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{6.3.0} +\tcb@set@library@version{6.4.0} \RequirePackage{xparse}[2013/12/31] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty index 23f0d51569f..29c209ece69 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) +%% The LaTeX package tcolorbox - version 6.4.0 (2024/09/27) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e}[2023-11-01] -\ProvidesPackage{tcolorbox}[2024/07/10 version 6.3.0 text color boxes] -\def\tcb@version{6.3.0} +\ProvidesPackage{tcolorbox}[2024/09/27 version 6.4.0 text color boxes] +\def\tcb@version{6.4.0} %\RequirePackage{pgf}[2008/01/15] \RequirePackage{tikz}[2023/01/15] @@ -73,7 +73,9 @@ \def\tcb@info#1{\PackageInfo{tcolorbox}{#1}} \def\tcb@warning#1{\PackageWarning{tcolorbox}{#1}} \def\tcb@error#1#2{\PackageError{tcolorbox}{#1}{#2}} - +\def\tcb@warning@deprecatedkey#1{% + \tcb@warning{`\pgfkeyscurrentkey' key is deprecated hence ignored since #1.}% +} % key management \pgfkeys{/tcb/.is family} @@ -563,7 +565,6 @@ toggle left and right/evenpage/.code={\let\tcb@lrtoggle=\tcb@lrtoggle@evenpage\tcbset{check odd page}}, toggle left and right/forced/.code={\let\tcb@lrtoggle=\tcb@lrtoggle@forced}, toggle left and right/.default=evenpage, - graphical environment/.style=,% deprecated % frame engine/.is choice, frame engine/standard/.style={frame code=\tcb@drawframe@standard}, @@ -1103,7 +1104,7 @@ % counter for float -\AtBeginDocument{% +\AtBeginDocument[tcolorbox]{% \@ifundefined{c@float@type}% {\edef\ftype@tcbfloat{\ifx\c@figure\@undefined 1\else 4\fi}}% {\edef\ftype@tcbfloat{\the\c@float@type}% @@ -1594,7 +1595,7 @@ \fi% }{% \csxdef{tcb@ehg@current@\tcb@ehgid}{#1}% - \begingroup\edef\x{\endgroup\noexpand\AtEndDocument{\noexpand\tcb@saveehg{\tcb@ehgid}}}\x% + \begingroup\edef\x{\endgroup\noexpand\AtEndDocument[tcolorbox]{\noexpand\tcb@saveehg{\tcb@ehgid}}}\x% }% } @@ -2035,6 +2036,8 @@ \ExplSyntaxOn +\exp_args_generate:n {nNo} + \NewSocket{tagsupport/tcb/drawing/begin}{0} \NewSocket{tagsupport/tcb/drawing/end}{0} \NewSocketPlug{tagsupport/tcb/drawing/begin}{suspend} @@ -2047,7 +2050,7 @@ \NewDocumentEnvironment{ tcb@drawing }{ } { \use:c{ tcb@before@\tcb@split@state } - \exp_last_unbraced:NnNo \begin{tikzpicture}[\tcb@tikz@option@hook] + \exp_args:NnNo \begin{tikzpicture}[\tcb@tikz@option@hook] \UseTaggingSocket{tcb/drawing/begin} \SuspendTagging{tcb/drawing} \tcb@tikz@begin@hook @@ -2557,28 +2560,36 @@ \__tcobox_new_TotalTCBox:w \ProvideDocumentCommand } +\NewDocumentCommand \tcolorboxenvironment { m +m } + { + \hook_gput_code:nnn{ env/#1/before }{ tcolorbox } + { + \begin{tcolorbox} + [{ + savedelimiter = {#1}, + #2, + wrap@environment, + code = \def\tcb@end@tcolorboxenvironment{\end{tcolorbox}} + }] + } + \hook_gput_code:nnn{ env/#1/after }{ tcolorbox } + { + \tcb@end@tcolorboxenvironment + } + } -\ExplSyntaxOff - - -\newcommand{\tcolorboxenvironment}[2]{% - \AddToHook{env/#1/before}{% - \begin{tcolorbox}[{savedelimiter={#1},#2,wrap@environment,% - code={\def\tcb@end@tcolorboxenvironment{\end{tcolorbox}}}}]% - }% - \AddToHook{env/#1/after}{% - \tcb@end@tcolorboxenvironment% - }% -} +\DeclareTotalTCBox{ \tcboxverb }{ O{} v }{ verbatim,#1 }{ #2 } -\DeclareTotalTCBox{\tcboxverb}{ O{} v }{verbatim,#1}{#2} +\DeclareTotalTColorBox{ \tcbsidebyside }{ +O{} +m +m } + { + code = \long\def\tcb@sbs@text@left{#2}\long\def\tcb@sbs@text@right{#3}, + #1, + sidebyside, + sidebyside@switch, + sidebyside@adapt@process + }{ \tcb@sbs@content } -\DeclareTotalTColorBox{\tcbsidebyside}{ +O{} +m +m }{% - code={\long\def\tcb@sbs@text@left{#2}\long\def\tcb@sbs@text@right{#3}},% - #1,% - sidebyside,% - sidebyside@switch,sidebyside@adapt@process% -}{\tcb@sbs@content} +\ExplSyntaxOff \def\tcb@addcontentsline#1#2{% @@ -2919,3 +2930,8 @@ \ProcessOptions* \begingroup\edef\x{\endgroup\noexpand\tcbuselibrary{\tcb@optionlist}}\x + +% deprecated +\tcbset{ + graphical environment/.code = {\tcb@warning@deprecatedkey{v6.3.0 (2024/07/10)}}, +} |