From c9f58a161ca46fb8e6b793573bceaff412b353d2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 23 May 2021 20:36:02 +0000 Subject: tcolorbox (23may21) git-svn-id: svn://tug.org/texlive/trunk@59319 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/tcolorbox/tcbbreakable.code.tex | 6 +- .../tex/latex/tcolorbox/tcbdocumentation.code.tex | 6 +- .../tex/latex/tcolorbox/tcbexternal.code.tex | 7 +- .../tex/latex/tcolorbox/tcbfitting.code.tex | 6 +- .../tex/latex/tcolorbox/tcbhooks.code.tex | 6 +- .../tex/latex/tcolorbox/tcblistings.code.tex | 6 +- .../tex/latex/tcolorbox/tcblistingscore.code.tex | 6 +- .../tex/latex/tcolorbox/tcblistingsutf8.code.tex | 6 +- .../tex/latex/tcolorbox/tcbmagazine.code.tex | 6 +- .../tex/latex/tcolorbox/tcbminted.code.tex | 6 +- .../tex/latex/tcolorbox/tcbposter.code.tex | 6 +- .../tex/latex/tcolorbox/tcbprocessing.code.tex | 7 +- .../tex/latex/tcolorbox/tcbraster.code.tex | 22 +- .../tex/latex/tcolorbox/tcbskins.code.tex | 222 +++++++++++++++------ .../tex/latex/tcolorbox/tcbskinsjigsaw.code.tex | 27 ++- .../tex/latex/tcolorbox/tcbtheorems.code.tex | 29 ++- .../tex/latex/tcolorbox/tcbvignette.code.tex | 6 +- .../tex/latex/tcolorbox/tcbxparse.code.tex | 6 +- .../texmf-dist/tex/latex/tcolorbox/tcolorbox.sty | 72 +++++-- 19 files changed, 319 insertions(+), 139 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index d77ecad60ba..5e9133d6682 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 569308b3b5b..8fa8fde32e4 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \tcbuselibrary{listings,skins,xparse,external,raster} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 776a5694ecd..cee87d113da 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \tcbuselibrary{pro@cessing} @@ -69,6 +69,7 @@ \begingroup% \ifnum\the\catcode`\"=13 \tcbexternal@activate@normal@dq\fi% \message{=== Compile external '\tcbexternal@job@name': }% + \tcb@allocate@tcb@out% \immediate\openout\tcb@out="\tcbexternal@run@tex" \immediate\write\tcb@out{\string\gdef\string\TCBEXTERNALINPUT{"\tcbexternal@job@source"}}% \immediate\write\tcb@out{\string\gdef\string\TCBEXTERNALSAFETY{\tcbexternal@safety}}% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex index 31e0b379809..c9a63da68f5 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 9e3be34df08..db39f0cb23b 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 f44cbe9a4e5..84e3bccff52 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 b070c4e7272..5f0afcc8af8 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 b4fb28f9878..1ad84adf573 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 0e29cfe97d9..caa2b0cb0f1 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 20b548f0ae4..13f1e26f9e7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \RequirePackage{minted}[2011/09/17] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex index 591806e8e5c..cdec336256d 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 14e7c8d4305..7de64918b3e 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \RequirePackage{pdftexcmds} \RequirePackage{shellesc} @@ -35,6 +35,7 @@ } \def\tcbproc@writemdfive#1{% + \tcb@allocate@tcb@out% \immediate\openout\tcb@out=#1% \immediate\write\tcb@out{\string\def\string\tcbproclastmdfivesum{\tcbprocmdfivesum}\@percentchar}% \immediate\closeout\tcb@out% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex index 2cdfbfcd7bb..3a00af7be6f 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,14 +17,13 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} +\newcounter{tcbrasternum} \newcounter{tcbraster} -\newrobustcmd{\thetcbrasternum}{\the\numexpr(\c@tcbrasterrow-1)*\kvtcb@raster@columns+\c@tcbrastercolumn\relax} - \def\tcb@raster@ehg@all{% \tcbset{equal height group={\kvtcb@raster@ehgid}}% } @@ -75,7 +74,7 @@ \tcb@warning{'raster multicolumn' combined too much columns}% \else% \tcbset@late@options{% - code={\preto\kvtcb@afterbox{\addtocounter{tcbrastercolumn}{\numexpr#1-1}}}, + code={\preto\kvtcb@afterbox{\addtocounter{tcbrastercolumn}{\numexpr#1-1}\addtocounter{tcbrasternum}{\numexpr#1-1}}}, width=(\tcb@raster@box@width+\tcb@raster@xskip)*#1-\tcb@raster@xskip}% \fi% }, @@ -130,10 +129,11 @@ \edef\tcb@raster@save@column{\number\c@tcbrastercolumn}% \edef\tcb@raster@save@row{\number\c@tcbrasterrow}% \let\tcb@raster@change@fitbox\@empty% + \setcounter{tcbrasternum}{1}% \setcounter{tcbrastercolumn}{1}% \setcounter{tcbrasterrow}{1}% \let\tcb@height@fill@unbroken\tcb@height@fill@unbroken@raster% - \tcbset{every box on layer \the\numexpr\number\c@tcblayer+1\relax/.code={% + \tcbset{every box on layer \the\numexpr\number\c@tcblayer+1\relax/.append code={% \tcb@raster@ehg@set% \tcbset{raster every box/.try}% \ifodd\c@tcbrastercolumn\relax% @@ -148,13 +148,13 @@ \tcbset{raster even row/.try}% \fi% \tcbset{raster row \number\c@tcbrasterrow/.try}% - \ifodd\thetcbrasternum\relax% + \ifodd\c@tcbrasternum\relax% \tcbset{raster odd number/.try}% \else% \tcbset{raster even number/.try}% \fi% \tcbset{raster row \number\c@tcbrasterrow\space column \number\c@tcbrastercolumn/.try}% - \tcbset{raster number \thetcbrasternum/.try}% + \tcbset{raster number \number\c@tcbrasternum/.try}% }}% \tcbset{#1}% % sanitize @@ -171,9 +171,10 @@ \ifnum\c@tcbrasterrow>1 \parindent\z@\parskip\z@\par\nointerlineskip\addvspace{\the\dimexpr\tcb@raster@yskip\relax}\noindent\fi% \kern\tcb@raster@skip@left\fi}, after={% + \stepcounter{tcbrasternum}% \ifnum\c@tcbrastercolumn=\kvtcb@raster@columns\relax% \kern\tcb@raster@skip@right% - \setcounter{tcbrastercolumn}{1}\addtocounter{tcbrasterrow}{1}% + \setcounter{tcbrastercolumn}{1}\stepcounter{tcbrasterrow}% \else% \stepcounter{tcbrastercolumn}% \fi},% @@ -216,6 +217,7 @@ \tcb@end@raster% \setcounter{tcbrastercolumn}{\tcb@raster@save@column}% \setcounter{tcbrasterrow}{\tcb@raster@save@row}% + \setcounter{tcbrasternum}{\the\numexpr(\c@tcbrasterrow-1)*\kvtcb@raster@columns+\c@tcbrastercolumn\relax}% } \newcommand{\tcbitem@following}[1][]{% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index 0df4c6b0c6d..fc1ad843fa7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \RequirePackage{tikz}[2010/10/13] @@ -111,6 +111,7 @@ \tikzset{% tcb fill frame/.style={fill=tcbcolframe,fill opacity=\kvtcb@opacityframe,tcb@spec,frame@style},% tcb fill interior/.style={fill=tcbcolback,fill opacity=\kvtcb@opacityback,tcb@spec,interior@style},% + tcb fill lower bicolor/.style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,tcb@spec,segmentation@style},% tcb fill title/.style={fill=tcbcolbacktitle,fill opacity=\kvtcb@opacitybacktitle,tcb@spec,title@style},% } @@ -225,33 +226,63 @@ {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}% } -\def\tcb@drawspec@sbs@A#1{% - \tcb@pathbase{#1,segmentation@style}{segmentation.south}{interior.north east}% +\def\tcb@drawspec@sbs@a{% + \tcb@pathbase{tcb fill interior}{interior.south west}{segmentation.north}% + {\tcb@arc@ins@SW}{\tcb@arc@ins@NW}{\tcb@arc@zpt}{\tcb@arc@zpt}% +} + +\def\tcb@drawspec@sbs@A{% + \tcb@pathbase{tcb fill lower bicolor}{segmentation.south}{interior.north east}% {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@ins@NE}{\tcb@arc@ins@SE}% } -\def\tcb@drawspec@sbs@B#1{% - \tcb@pathbase{#1,segmentation@style}{segmentation.south}{interior.north east}% +\def\tcb@drawspec@sbs@b{% + \tcb@pathbase{tcb fill interior}{interior.south west}{segmentation.north}% + {\tcb@arc@ins@SW}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}% +} + +\def\tcb@drawspec@sbs@B{% + \tcb@pathbase{tcb fill lower bicolor}{segmentation.south}{interior.north east}% {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@ins@SE}% } -\def\tcb@drawspec@sbs@C#1{% - \tcb@pathbase{#1,segmentation@style}{segmentation.south|-frame.south}{interior.north east}% +\def\tcb@drawspec@sbs@c{% + \tcb@pathbase{tcb fill interior}{interior.south west|-frame.south}{segmentation.north}% + {\tcb@arc@zpt}{\tcb@arc@ins@NW}{\tcb@arc@zpt}{\tcb@arc@zpt}% +} + +\def\tcb@drawspec@sbs@C{% + \tcb@pathbase{tcb fill lower bicolor}{segmentation.south|-frame.south}{interior.north east}% {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@ins@NE}{\tcb@arc@zpt}% } -\def\tcb@drawspec@sbs@D#1{% - \tcb@pathbase{#1,segmentation@style}{segmentation.south|-frame.south}{interior.north east}% +\def\tcb@drawspec@sbs@d{% + \tcb@pathbase{tcb fill interior}{interior.south west|-frame.south}{segmentation.north}% + {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}% +} + +\def\tcb@drawspec@sbs@D{% + \tcb@pathbase{tcb fill lower bicolor}{segmentation.south|-frame.south}{interior.north east}% {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}% } -\def\tcb@drawspec@sbs@E#1{% - \tcb@pathbase{#1,segmentation@style}{segmentation.south|-frame.south}{interior.east|-frame.north}% +\def\tcb@drawspec@sbs@e{% + \tcb@pathbase{tcb fill interior}{interior.south west|-frame.south}{segmentation.north|-frame.north}% + {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}% +} + +\def\tcb@drawspec@sbs@E{% + \tcb@pathbase{tcb fill lower bicolor}{segmentation.south|-frame.south}{interior.east|-frame.north}% {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}% } -\def\tcb@drawspec@sbs@F#1{% - \tcb@pathbase{#1,segmentation@style}{segmentation.south}{interior.east|-frame.north}% +\def\tcb@drawspec@sbs@f{% + \tcb@pathbase{tcb fill interior}{interior.south west}{segmentation.north|-frame.north}% + {\tcb@arc@ins@SW}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}% +} + +\def\tcb@drawspec@sbs@F{% + \tcb@pathbase{tcb fill lower bicolor}{segmentation.south}{interior.east|-frame.north}% {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@ins@SE}% } @@ -377,6 +408,7 @@ ([yshift=-\kvtcb@title@rule/2]title.south west)--([yshift=-\kvtcb@title@rule/2]title.south east); \fi}},% colbacklower/.colorlet=tcbcolbacklower,% + opacitybacklower/.store in=\kvtcb@opacitybacklower, clear@spec/.code={\tcb@spec{}},% tikz/.code={\appto\tcb@tikz@option@hook{,#1}},% tikz reset/.code={\let\tcb@tikz@option@hook\@empty},% @@ -511,30 +543,45 @@ interior titled code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@path}% + \iftcb@sidebyside% + \tcb@drawspec@sbs@b% + \else% + \tcb@drawwithtitle@path% + \fi \or% - \tcb@spec{fill=tcbcolback}\tcb@drawspec@UT% + \tcb@drawspec@UT% \else% - {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithtitle@path}% + {\tcbset{interior style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,segmentation@style}}\tcb@drawwithtitle@path}% \fi% \else% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@path}% + \tcb@drawwithtitle@path% \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@path}% + \iftcb@sidebyside% + \tcb@drawspec@sbs@a% + \else% + \tcb@drawwithouttitle@path% + \fi% \or% - \tcb@spec{fill=tcbcolback}\tcb@drawspec@UR% + \tcb@drawspec@UR% \else% - {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithouttitle@path}% + {\tcbset{interior style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,segmentation@style}}\tcb@drawwithouttitle@path}% \fi% \else% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@path}% + \tcb@drawwithouttitle@path% \fi\tcb@spec{}}, - segmentation code={\iftcb@sidebyside% - \iftcb@hasTitle\tcb@drawspec@sbs@B{fill=tcbcolbacklower}\else% - \tcb@drawspec@sbs@A{fill=tcbcolbacklower}\fi\else\tcb@drawspec@LR{fill=tcbcolbacklower}\fi\tcb@spec{}},% + segmentation code={% + \iftcb@sidebyside% + \iftcb@hasTitle% + \tcb@drawspec@sbs@B% + \else% + \tcb@drawspec@sbs@A% + \fi% + \else% + \tcb@drawspec@LR{fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower}% + \fi\tcb@spec{}},% skin first=bicolorfirst,skin middle=bicolormiddle,skin last=bicolorlast} \tcbset{bicolor/.style={skin=bicolor}} @@ -544,30 +591,45 @@ interior titled code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathfirst}% + \iftcb@sidebyside% + \tcb@drawspec@sbs@d% + \else% + \tcb@drawwithtitle@pathfirst% + \fi% \or% - \tcb@spec{fill=tcbcolback}\tcb@drawspec@UT% + \tcb@drawspec@UT% \else% - {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithtitle@pathfirst}% + {\tcbset{interior style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,segmentation@style}}\tcb@drawwithtitle@pathfirst}% \fi% \else% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathfirst}% + \tcb@drawwithtitle@pathfirst% \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathfirst}% + \iftcb@sidebyside% + \tcb@drawspec@sbs@c% + \else% + \tcb@drawwithouttitle@pathfirst% + \fi% \or% - \tcb@spec{fill=tcbcolback}\tcb@drawspec@UR% + \tcb@drawspec@UR% \else% - {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithouttitle@pathfirst}% + {\tcbset{interior style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,segmentation@style}}\tcb@drawwithouttitle@pathfirst}% \fi% \else% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathfirst}% + \tcb@drawwithouttitle@pathfirst% \fi\tcb@spec{}}, - segmentation code={\iftcb@sidebyside% - \iftcb@hasTitle\tcb@drawspec@sbs@D{fill=tcbcolbacklower}\else% - \tcb@drawspec@sbs@C{fill=tcbcolbacklower}\fi\else\tcb@drawspec@LS{fill=tcbcolbacklower}\fi\tcb@spec{}},% + segmentation code={% + \iftcb@sidebyside% + \iftcb@hasTitle% + \tcb@drawspec@sbs@D% + \else% + \tcb@drawspec@sbs@C + \fi% + \else% + \tcb@drawspec@LS{fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower}% + \fi\tcb@spec{}},% skin first=bicolorfirst,skin middle=bicolormiddle,skin last=bicolormiddle} \tcb@new@skin{bicolormiddle}{base@middle,% @@ -575,30 +637,45 @@ interior titled code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathmiddle}% + \iftcb@sidebyside% + \tcb@drawspec@sbs@d% + \else% + \tcb@drawwithtitle@pathmiddle% + \fi% \or% - \tcb@spec{fill=tcbcolback}\tcb@drawspec@UT% + \tcb@drawspec@UT% \else% - {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithtitle@pathmiddle}% + {\tcbset{interior style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,segmentation@style}}\tcb@drawwithtitle@pathmiddle}% \fi% \else% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathmiddle}% + \tcb@drawwithtitle@pathmiddle% \fi\tcb@spec{}},% interior code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathmiddle}% + \iftcb@sidebyside% + \tcb@drawspec@sbs@e% + \else% + \tcb@drawwithouttitle@pathmiddle% + \fi% \or% - \tcb@spec{fill=tcbcolback}\tcb@drawspec@US% + \tcb@drawspec@US% \else% - {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithouttitle@pathmiddle}% + {\tcbset{interior style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,segmentation@style}}\tcb@drawwithouttitle@pathmiddle}% \fi% \else% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathmiddle}% + \tcb@drawwithouttitle@pathmiddle% \fi\tcb@spec{}}, - segmentation code={\iftcb@sidebyside% - \iftcb@hasTitle\tcb@drawspec@sbs@D{fill=tcbcolbacklower}\else% - \tcb@drawspec@sbs@E{fill=tcbcolbacklower}\fi\else\tcb@drawspec@LS{fill=tcbcolbacklower}\fi\tcb@spec{}},% + segmentation code={% + \iftcb@sidebyside% + \iftcb@hasTitle% + \tcb@drawspec@sbs@D% + \else% + \tcb@drawspec@sbs@E% + \fi% + \else% + \tcb@drawspec@LS{fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower}% + \fi\tcb@spec{}},% skin first=bicolormiddle,skin middle=bicolormiddle,skin last=bicolormiddle} \tcb@new@skin{bicolorlast}{base@last,% @@ -606,30 +683,45 @@ interior titled code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate - {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathlast}% + \iftcb@sidebyside% + \tcb@drawspec@sbs@b% + \else% + \tcb@drawwithtitle@pathlast% + \fi% \or% - \tcb@spec{fill=tcbcolback}\tcb@drawspec@UT% + \tcb@drawspec@UT% \else% - {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithtitle@pathlast}% + {\tcbset{interior style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,segmentation@style}}\tcb@drawwithtitle@pathlast}% \fi% \else% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathlast}% + \tcb@drawwithtitle@pathlast% \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathlast}% + \iftcb@sidebyside% + \tcb@drawspec@sbs@f% + \else% + \tcb@drawwithouttitle@pathlast% + \fi% \or% - \tcb@spec{fill=tcbcolback}\tcb@drawspec@US% + \tcb@drawspec@US% \else - {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithouttitle@pathlast}% + {\tcbset{interior style={fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower,segmentation@style}}\tcb@drawwithouttitle@pathlast}% \fi% \else% - {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathlast}% + \tcb@drawwithouttitle@pathlast% + \fi\tcb@spec{}},% + segmentation code={% + \iftcb@sidebyside% + \iftcb@hasTitle% + \tcb@drawspec@sbs@B% + \else% + \tcb@drawspec@sbs@F% + \fi% + \else% + \tcb@drawspec@LR{fill=tcbcolbacklower,fill opacity=\kvtcb@opacitybacklower}% \fi\tcb@spec{}},% - segmentation code={\iftcb@sidebyside% - \iftcb@hasTitle\tcb@drawspec@sbs@B{fill=tcbcolbacklower}\else% - \tcb@drawspec@sbs@F{fill=tcbcolbacklower}\fi\else\tcb@drawspec@LR{fill=tcbcolbacklower}\fi\tcb@spec{}},% skin first=bicolormiddle,skin middle=bicolormiddle,skin last=bicolorlast} \tcb@new@skin{tile}{skin@bicolor,frame engine=empty,% @@ -1830,17 +1922,17 @@ } \newcommand{\tcbincludepdf}[2][]{% - \begingroup% - \tcb@layer@pushup% - \tcb@apply@box@options{enhanced,clip upper=true,valign=center,center upper,#1}% - \appto\kvtcb@graphics@options{,page=\imagepage}% \tcb@include@graphics@preparefile{#2}% \tcb@set@pdfpages\pdfpages{\imagepath}% \foreach \imagepage in \kvtcb@graphics@pages% {% + \begingroup% + \tcb@layer@pushup% + \tcb@apply@box@options{enhanced,clip upper=true,valign=center,center upper,#1}% + \appto\kvtcb@graphics@options{,page=\imagepage}% \tcb@include@graphics% + \endgroup% }% - \endgroup% } \tcbset{% @@ -1891,7 +1983,7 @@ \tcbset{% reset@skins/.style={% frame style=,interior style=,segmentation style=,@title style=,% - colbacklower=black!15!white,% + colbacklower=black!15!white,opacitybacklower=1.0,% extend freelance=,extend freelancefirst=,extend freelancemiddle=,extend freelancelast=,% clear@spec,% watermark opacity=1.00,watermark color=tcbcolback!85!tcbcolframe,% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index ca0940971a3..5ea2f296ae5 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \tcbuselibrary{skins} @@ -217,10 +217,31 @@ set@extensions@preframe={\tcb@draw@shadowjigsaw@last},% skin first=enhancedmiddle jigsaw,skin middle=enhancedmiddle jigsaw,skin last=enhancedlast jigsaw} +\tcb@new@skin{bicolor jigsaw}{skin@bicolor,% + frame engine=pathjigsaw,% + set@extensions@preframe={\tcb@draw@shadowjigsaw@unbroken},% + skin first=bicolorfirst jigsaw,skin middle=bicolormiddle jigsaw,skin last=bicolorlast jigsaw} + +\tcb@new@skin{bicolorfirst jigsaw}{skin@bicolorfirst,% + frame engine=pathfirstjigsaw,% + set@extensions@preframe={\tcb@draw@shadowjigsaw@first},% + skin first=bicolorfirst jigsaw,skin middle=bicolormiddle jigsaw,skin last=bicolormiddle jigsaw} + +\tcb@new@skin{bicolormiddle jigsaw}{skin@bicolormiddle,% + frame engine=pathmiddlejigsaw,% + set@extensions@preframe={\tcb@draw@shadowjigsaw@middle},% + skin first=bicolormiddle jigsaw,skin middle=bicolormiddle jigsaw,skin last=bicolormiddle jigsaw} + +\tcb@new@skin{bicolorlast jigsaw}{skin@bicolorlast,% + frame engine=pathlastjigsaw,% + set@extensions@preframe={\tcb@draw@shadowjigsaw@last},% + skin first=bicolormiddle jigsaw,skin middle=bicolormiddle jigsaw,skin last=bicolorlast jigsaw} + \tcbset{% enhanced jigsaw/.style={skin=enhanced jigsaw},% enhanced standard jigsaw/.style={skin=enhanced jigsaw, skin first=enhanced jigsaw,skin middle=enhanced jigsaw,skin last=enhanced jigsaw},% + bicolor jigsaw/.style={skin=bicolor jigsaw},% frame engine/pathjigsaw/.style={frame code=\tcb@drawframe@pathjigsaw}, frame engine/pathfirstjigsaw/.style={frame code=\tcb@drawframe@pathfirstjigsaw}, frame engine/pathmiddlejigsaw/.style={frame code=\tcb@drawframe@pathmiddlejigsaw}, diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex index 334f51dea95..fb99f3ef128 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \RequirePackage{amsmath} @@ -30,6 +30,8 @@ \def\tcb@theo@desc@form@std#1{\tcb@desc@col\kvtcb@desc@font\kvtcb@desc@delim@left#1\kvtcb@desc@delim@right} +\def\tcb@theo@title@indent@std#1{\hangindent#1\hangafter=1\relax} + \def\tcb@theo@title#1#2#3{% \ifdefempty{#2}{\setbox\z@=\color@hbox#1\color@endbox}{\setbox\z@=\tcb@theo@form{#1}{#2}}% \def\temp@a{#3}% @@ -37,8 +39,7 @@ \unhbox\z@\kvtcb@terminatorsign% \else% \setbox\z@=\hbox{\unhbox\z@\kvtcb@separatorsign\ }% - \hangindent\wd\z@% - \hangafter=1% + \tcb@theo@title@indent{\wd\z@}% \mbox{\unhbox\z@}{\tcb@theo@desc@form{#3}}\kvtcb@terminatorsign% \fi% } @@ -136,6 +137,23 @@ theorem style/margin break/.style={theorem style=margin,attach title to upper={\par}}, theorem label supplement/.style={tcb@theo@label@supp/.style={#1}}, theorem full label supplement/.style={tcb@theo@full@label@supp/.style={#1}}, + theorem hanging indent/.code={% + \ifstrequal{#1}{auto}{% + \let\tcb@theo@title@indent\tcb@theo@title@indent@std% + }{% + \def\tcb@theo@title@indent##1{% + \ifdim#1=0pt\relax% + \else% + \ifdim#1>0pt\relax% + \hangindent#1\hangafter=1\relax% + \else% + \hangindent\dimexpr-#1\relax\hangafter=-1\relax% + \fi% + \fi + }% + }% + }, + theorem hanging indent/.default=auto, } \newcommand{\new@tcbtheorem}[5][]{% @@ -165,6 +183,7 @@ highlight math style={colframe=red,colback=yellow!25!white},% theorem style=standard,label separator=:,% theorem label supplement=,theorem full label supplement=,% + theorem hanging indent% }, initialize@reset=reset@theorems, } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex index cd02d69ff37..ec97bb5363f 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 8fbf7fb8a11..00586c8109e 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.42} +\tcb@set@library@version{4.50} \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 a5f9d23397d..9dc3606c0ef 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.42 (2020/10/09) +%% The LaTeX package tcolorbox - version 4.50 (2021/05/21) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2020/10/09 version 4.42 text color boxes] -\def\tcb@version{4.42} +\ProvidesPackage{tcolorbox}[2021/05/21 version 4.50 text color boxes] +\def\tcb@version{4.50} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -2105,19 +2105,57 @@ \newcommand*\l@tcolorbox{\@dottedtocline{1}{1.5em}{2.3em}} -\newcommand{\tcblistof}[3][\section]{% - \ifnum\c@tocdepth<1\relax% - \tcb@warning{'tocdepth' value lower than 1 for 'tcblistof'}% - \fi% - #1{#3}% - \@starttoc{#2}% -} - +\ExplSyntaxOn +\NewDocumentCommand{\tcblistof}{ O{\section} m o m } + { + \ifnum\c@tocdepth<1\relax + \tcb@warning{'tocdepth'~value~lower~than~1~for~'tcblistof'} + \fi + \tl_set:Nx \l_tmpa_tl {\tl_trim_spaces:n{#1}} + \tl_set:Nx \l_tmpb_tl {\str_range:Nnn \l_tmpa_tl {2}{8}} + \str_if_eq:VnT \l_tmpb_tl { chapter } + { + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + } + \tl_set:Nx \l_tmpa_tl {\str_item:Nn \l_tmpa_tl {-1}} + \str_if_eq:VnTF \l_tmpa_tl { * } + { + #1{#4} + \IfNoValueTF{#3} + { + \@mkboth{\MakeUppercase{#4}} + {\MakeUppercase{#4}} + } + { + \@mkboth{\MakeUppercase{#3}} + {\MakeUppercase{#3}} + } + } + { + \IfNoValueTF{#3} + { + #1{#4} + } + { + #1[#3]{#4} + } + } + \@starttoc{#2} + \if@restonecol\twocolumn\fi + } +\ExplSyntaxOff % verbatim output as in 'verbatim' -\newwrite\tcb@out +\def\tcb@allocate@tcb@out{% + \newwrite\tcb@out% + \xdef\tcb@allocate@tcb@out{}% +} \let\tcb@verbatim@begin@hook\@empty \let\tcb@verbatim@end@hook\@empty @@ -2125,6 +2163,7 @@ \def\tcbverbatimwrite#1{% \@bsphack + \tcb@allocate@tcb@out% \immediate\openout\tcb@out #1 \tcb@verbatim@begin@hook% \let\do\@makeother\dospecials @@ -2185,7 +2224,11 @@ % recording -\newwrite\tcb@record@out +\def\tcb@allocate@tcb@record@out{% + \newwrite\tcb@record@out% + \xdef\tcb@allocate@tcb@out{}% +} + \def\tcb@null#1{} \newcommand{\tcb@record}[1]{\immediate\write\tcb@record@out{#1}} @@ -2193,6 +2236,7 @@ \newcommand{\tcbstartrecording}[1][\jobname.records]{% \let\tcbrecord\tcb@record% \edef\tcb@record@file{#1}% + \tcb@allocate@tcb@record@out% \immediate\openout\tcb@record@out\tcb@record@file% } -- cgit v1.2.3