summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tcolorbox
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-18 03:05:29 +0000
committerNorbert Preining <norbert@preining.info>2023-03-18 03:05:29 +0000
commitb0cfbb3bcaeafdcb4da817c21937f10ce07f5dca (patch)
treee50beb9881e430a320ea9fc1003ead361d78b510 /macros/latex/contrib/tcolorbox
parentcb77be104201eaab9be41990136901f05d4fa4a6 (diff)
CTAN sync 202303180305
Diffstat (limited to 'macros/latex/contrib/tcolorbox')
-rw-r--r--macros/latex/contrib/tcolorbox/CHANGES.md27
-rw-r--r--macros/latex/contrib/tcolorbox/README.md2
-rw-r--r--macros/latex/contrib/tcolorbox/tcbbreakable.code.tex30
-rw-r--r--macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex5
-rw-r--r--macros/latex/contrib/tcolorbox/tcbexternal.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbfitting.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbhooks.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcblistings.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcblistingscore.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbmagazine.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbminted.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbposter.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbprocessing.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbraster.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbskins.code.tex19
-rw-r--r--macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbtheorems.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbvignette.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcbxparse.code.tex4
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdfbin281293 -> 281314 bytes
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex2
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox-example.pdfbin469022 -> 469224 bytes
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox-example.tex2
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdfbin455822 -> 456390 bytes
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex2
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.abstract.tex2
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex2
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex2
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.documentation.tex8
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.filling.tex2
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.initoptions.tex13
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.s_snippet.sty2
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.sidebyside.tex12
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.pdfbin7641872 -> 7645760 bytes
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.sty31
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.tex6
37 files changed, 155 insertions, 74 deletions
diff --git a/macros/latex/contrib/tcolorbox/CHANGES.md b/macros/latex/contrib/tcolorbox/CHANGES.md
index 58b92fe55e..b6256d3975 100644
--- a/macros/latex/contrib/tcolorbox/CHANGES.md
+++ b/macros/latex/contrib/tcolorbox/CHANGES.md
@@ -22,11 +22,36 @@ and this project adheres to
+## [6.0.2] - 2023-03-17
+
+### Added
+- Usage of `\tcblower` where not applicable gives a more helpful error message (issue #215)
+- Usage of `capture=fitbox` for `\tcbox` gives an error message (issue #217)
+- Library documentation:
+ - Macro `\sarg` (issue #193)
+
+### Changed
+- Documentation:
+ - List of initialization option macros enlarged (issue #213)
+ - Removed `xparse` references (issue #214)
+ - Typo correction (issue #216, issue #219)
+- Library `skins`:
+ - `\tcbhypernode` made compatible for xelatex (issue #221)
+
+### Fixed
+- `parbox=false` accumulated negative `\parskip` values, if called several times
+ or used with `attach title to upper` (issue #222)
+- Library `breakable`:
+ - Reverting to `\color{.}` hack to avoid color bleeding after the box
+ - `Discard zero height first box part` problem hopefully solved (issue #218)
+
+
+
## [6.0.1] - 2023-02-12
### Fixed
- Typo in CHANGES.md (issue #211)
-- Regression bug: `\NewTCBInputListing` without initialization options produces an error
+- Regression bug: `\NewTCBInputListing` without initialization options produces an error (issue #212)
diff --git a/macros/latex/contrib/tcolorbox/README.md b/macros/latex/contrib/tcolorbox/README.md
index 6dfef2db0f..bbb05cf127 100644
--- a/macros/latex/contrib/tcolorbox/README.md
+++ b/macros/latex/contrib/tcolorbox/README.md
@@ -1,4 +1,4 @@
-# The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+# The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
> Copyright (c) 2006-2023 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
diff --git a/macros/latex/contrib/tcolorbox/tcbbreakable.code.tex b/macros/latex/contrib/tcolorbox/tcbbreakable.code.tex
index e8ee1f0ba7..490c57aeed 100644
--- a/macros/latex/contrib/tcolorbox/tcbbreakable.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbbreakable.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\RequirePackage{pdfcol}
\pdfcolInitStack{tcb@breakable}
@@ -332,6 +332,7 @@
\tcb@parfillskip@check%
\tcb@split@start%
\endgroup%
+ \color{.}% hack for some special cases
\ifx\kvtcb@float\@empty\relax%
\aftergroup\tcb@use@after@lastbox%
\fi%
@@ -404,6 +405,13 @@
\unvbox\tcb@totalupperbox}%
\else%
\tcb@setbox@upper{\tcb@split@dim}{\tcb@upperbox}%
+ \ifdim\dimexpr\tcb@h@upper=0pt\relax%
+ \setbox\tcb@totalupperbox=\vbox{%
+ \unvbox\tcb@upperbox%
+ \splitdiscards%
+ \unvbox\tcb@totalupperbox}%
+ \def\tcb@upper@box@badness{1000000}%
+ \fi%
\fi%
\vbadness=\tcb@thevbadness\vfuzz=\tcb@thevfuzz\savingvdiscards=0%
}
@@ -438,11 +446,17 @@
\unvbox\tcb@totallowerbox}%
\else%
\tcb@setbox@lower{\tcb@split@dim}{\tcb@lowerbox}%
+ \ifdim\dimexpr\tcb@h@lower=0pt\relax%
+ \setbox\tcb@totallowerbox=\vbox{%
+ \unvbox\tcb@lowerbox%
+ \splitdiscards%
+ \unvbox\tcb@totallowerbox}%
+ \def\tcb@lower@box@badness{1000000}%
+ \fi%
\fi%
\vbadness=\tcb@thevbadness\vfuzz=\tcb@thevfuzz\savingvdiscards=0%
}
-
\def\tcb@split@lower@box{%
\vfuzz=\maxdimen\vbadness=10000%
\tcb@vsplit@lower%
@@ -592,13 +606,13 @@
\tcb@drawcolorbox@standalone%
\fi%
\else%
- \ifdim\dimexpr\tcb@h@upper=0pt\relax%
- \tcb@warning{Discard zero height first box part due to break problems (possible loss of zero height content)}%
- \tcb@split@break@to@start%
- \else%
+ %\ifdim\dimexpr\tcb@h@upper=0pt\relax%
+ % \tcb@warning{Discard zero height first box part due to break problems (possible loss of zero height content)}%
+ % \tcb@split@break@to@start%
+ %\else%
\tcb@sdraw@U%
\let\tcb@split@next=\tcb@split@USL%
- \fi%
+ %\fi%
\fi%
\fi%
\else%
diff --git a/macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex b/macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex
index 29ffa8592c..db066ad327 100644
--- a/macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcbdocumentation.code.tex: Code for LaTeX documentations
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{6.0.1}
+\tcb@set@library@version{6.0.3}
\tcbuselibrary{listings,skins,xparse,external,raster}
@@ -92,6 +92,7 @@
{\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}}
\def\oarg#1{%
\colOpt{{\ttfamily[}\meta{#1}{\ttfamily]}}}
+\def\sarg{\colOpt{\ttfamily*}}
\def\brackets#1{{\ttfamily\char`\{}#1{\ttfamily\char`\}}}
\newif\iftcb@doc@colorize
diff --git a/macros/latex/contrib/tcolorbox/tcbexternal.code.tex b/macros/latex/contrib/tcolorbox/tcbexternal.code.tex
index f5684747e1..98578e3749 100644
--- a/macros/latex/contrib/tcolorbox/tcbexternal.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbexternal.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcbexternal.code.tex: Code for externalization
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{6.0.1}
+\tcb@set@library@version{6.0.3}
\tcbuselibrary{pro@cessing}
diff --git a/macros/latex/contrib/tcolorbox/tcbfitting.code.tex b/macros/latex/contrib/tcolorbox/tcbfitting.code.tex
index 7dbddde94f..e339093144 100644
--- a/macros/latex/contrib/tcolorbox/tcbfitting.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbfitting.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\newdimen\tcbfitdim
\newdimen\tcb@lowerfitdim
diff --git a/macros/latex/contrib/tcolorbox/tcbhooks.code.tex b/macros/latex/contrib/tcolorbox/tcbhooks.code.tex
index aafaf4031f..fa0df2d86c 100644
--- a/macros/latex/contrib/tcolorbox/tcbhooks.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbhooks.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\tcbset{%
before upper app/.code={\appto\kvtcb@before@upper{#1}},%
diff --git a/macros/latex/contrib/tcolorbox/tcblistings.code.tex b/macros/latex/contrib/tcolorbox/tcblistings.code.tex
index 7c10d70773..266e626425 100644
--- a/macros/latex/contrib/tcolorbox/tcblistings.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcblistings.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\RequirePackage{listings}[2007/02/22]
diff --git a/macros/latex/contrib/tcolorbox/tcblistingscore.code.tex b/macros/latex/contrib/tcolorbox/tcblistingscore.code.tex
index ed6dd7c8e7..0add00ba12 100644
--- a/macros/latex/contrib/tcolorbox/tcblistingscore.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcblistingscore.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\tcbuselibrary{pro@cessing}
diff --git a/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex b/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex
index 341fea2d37..888a67402f 100644
--- a/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\tcbuselibrary{listings}
diff --git a/macros/latex/contrib/tcolorbox/tcbmagazine.code.tex b/macros/latex/contrib/tcolorbox/tcbmagazine.code.tex
index 1594d05e9e..7226083844 100644
--- a/macros/latex/contrib/tcolorbox/tcbmagazine.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbmagazine.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\tcbuselibrary{breakable}
diff --git a/macros/latex/contrib/tcolorbox/tcbminted.code.tex b/macros/latex/contrib/tcolorbox/tcbminted.code.tex
index d8aa808a1d..09a6e9c6c7 100644
--- a/macros/latex/contrib/tcolorbox/tcbminted.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbminted.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcbminted.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.0.1}
+\tcb@set@library@version{6.0.3}
\RequirePackage{minted}[2021/12/24]
diff --git a/macros/latex/contrib/tcolorbox/tcbposter.code.tex b/macros/latex/contrib/tcolorbox/tcbposter.code.tex
index a0c97a1a0f..d5e32ab1d5 100644
--- a/macros/latex/contrib/tcolorbox/tcbposter.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbposter.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcbposter.code.tex: Code for posters
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{6.0.1}
+\tcb@set@library@version{6.0.3}
\tcbuselibrary{breakable,magazine,skins,fitting}
diff --git a/macros/latex/contrib/tcolorbox/tcbprocessing.code.tex b/macros/latex/contrib/tcolorbox/tcbprocessing.code.tex
index 3b5904d044..7591e9e35b 100644
--- a/macros/latex/contrib/tcolorbox/tcbprocessing.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbprocessing.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\RequirePackage{pdftexcmds}
\RequirePackage{shellesc}
diff --git a/macros/latex/contrib/tcolorbox/tcbraster.code.tex b/macros/latex/contrib/tcolorbox/tcbraster.code.tex
index 9b08f76d4b..27d5e1e071 100644
--- a/macros/latex/contrib/tcolorbox/tcbraster.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbraster.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\newcounter{tcbrastercolumn}
\newcounter{tcbrasterrow}
diff --git a/macros/latex/contrib/tcolorbox/tcbskins.code.tex b/macros/latex/contrib/tcolorbox/tcbskins.code.tex
index 40dfba8cc8..8ff3c2d4d1 100644
--- a/macros/latex/contrib/tcolorbox/tcbskins.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbskins.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\RequirePackage{tikz}[2010/10/13]
\RequirePackage{tikzfill.image}
@@ -1861,6 +1861,18 @@
}
}
+\sys_if_engine_xetex:TF
+ {
+ \cs_set:Npn \tcb@XeTeXLinkBox
+ {
+ \setlength{\XeTeXLinkMargin}{0pt}
+ \XeTeXLinkBox
+ }
+ }
+ {
+ \cs_set_eq:NN \tcb@XeTeXLinkBox \use:n
+ }
+
\ExplSyntaxOff
@@ -1876,12 +1888,13 @@
graphics orientation/portrait*/.code={\def\kvtcb@graphics@orientation{3}},
}
+
\newcommand{\tcbhypernode}[2]{\ifdefined\hypersetup\@ifundefined{pgf@sh@ns@#2}{}{%
\node[inner sep=0pt,outer sep=0pt] at (#2.center){%
\tcbsetmacrotowidthofnode\tcb@w@hn{#2}%
\tcbsetmacrotoheightofnode\tcb@h@hn{#2}%
\hypersetup{pdfborder=0 0 0}%
- #1{\vtop to \dimexpr\tcb@h@hn-2bp\relax{\hbox to \dimexpr\tcb@w@hn-2bp\relax{}\vfil}}%
+ #1{\tcb@XeTeXLinkBox{\vtop to \dimexpr\tcb@h@hn-2bp\relax{\hbox to \dimexpr\tcb@w@hn-2bp\relax{}\vfil}}}%
};%
}\fi}
diff --git a/macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex b/macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex
index 3726f9ef71..2fe95bae58 100644
--- a/macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\tcbuselibrary{skins}
diff --git a/macros/latex/contrib/tcolorbox/tcbtheorems.code.tex b/macros/latex/contrib/tcolorbox/tcbtheorems.code.tex
index e5688bc3a1..abcf018183 100644
--- a/macros/latex/contrib/tcolorbox/tcbtheorems.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbtheorems.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\RequirePackage{amsmath}
diff --git a/macros/latex/contrib/tcolorbox/tcbvignette.code.tex b/macros/latex/contrib/tcolorbox/tcbvignette.code.tex
index efabe919b9..257abe7d14 100644
--- a/macros/latex/contrib/tcolorbox/tcbvignette.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbvignette.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\tcbuselibrary{skins}
diff --git a/macros/latex/contrib/tcolorbox/tcbxparse.code.tex b/macros/latex/contrib/tcolorbox/tcbxparse.code.tex
index ae7e215812..052c00dd78 100644
--- a/macros/latex/contrib/tcolorbox/tcbxparse.code.tex
+++ b/macros/latex/contrib/tcolorbox/tcbxparse.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% 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.0.1}
+\tcb@set@library@version{6.0.3}
\RequirePackage{xparse}[2013/12/31]
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdf b/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdf
index c2c43d64df..5a86a54edd 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdf
+++ b/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdf
Binary files differ
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex b/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex
index e3320325c6..27f6cb02f6 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcolorbox-example-poster.tex: a poster example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-example.pdf b/macros/latex/contrib/tcolorbox/tcolorbox-example.pdf
index bd17e2f6d9..86b42164a2 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox-example.pdf
+++ b/macros/latex/contrib/tcolorbox/tcolorbox-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-example.tex b/macros/latex/contrib/tcolorbox/tcolorbox-example.tex
index d415cda138..45bc994a99 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox-example.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox-example.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcolorbox-example.tex: an example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdf b/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdf
index 744ea41206..8ca17756e3 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdf
+++ b/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdf
Binary files differ
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex b/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex
index 44a485d1c5..361776ecdc 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox
%%
%% -------------------------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.abstract.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.abstract.tex
index 058a4c162f..0bdfb2842b 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.abstract.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.abstract.tex
@@ -77,7 +77,7 @@
\end{tcolorbox}
{\large Thomas F.~Sturm%
\footnote{Prof.~Dr.~Dr.~Thomas F.~Sturm, Institut f\"{u}r Mathematik und Informatik,
- Universit\"{a}t der Bundeswehr M\"{u}nchen, D-85577 Neubiberg, Germany;
+ University of the Bundeswehr Munich, D-85577 Neubiberg, Germany;
email: \href{mailto:thomas.sturm@unibw.de}{thomas.sturm@unibw.de}}\par\medskip
\normalsize\url{https://www.ctan.org/pkg/tcolorbox}\par
\url{https://github.com/T-F-S/tcolorbox}}
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex
index 7841220a06..be89357f35 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex
@@ -263,7 +263,7 @@ The |break at| option can be used to insert better break points by hand.
\clearpage
\begin{docTcbKey}{enlargepage flexible}{=\meta{length}}{no default, initially |0pt|}
This allows an automated page enlargement for up to \meta{length}.
- The algorithm can use this to avoid breaking a box, if there is anough room
+ The algorithm can use this to avoid breaking a box, if there is enough room
after enlargement. Also, the \emph{last} partial box of a break sequence
may be enlarged to avoid further breaking.\\
Note that this potential enlargement is \emph{additive} to settings of
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex
index 70ac6c7ff8..996a59253d 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex
@@ -269,7 +269,7 @@ This is a \textbf{tcolorbox} (but invisible).
\clearpage
\begin{docTcbKey}[][doc new=2015-05-04]{saveto}{=\meta{file name}}{no default, initially empty}
Saves the content of the box into a file for an optional later usage.
- This is the counterpart of \refKey{/tcb/savelowerto}, but is saves not
+ This is the counterpart of \refKey{/tcb/savelowerto}, but it saves not
only the upper part but the whole content. If a lower part is present,
it is also saved including \refCom{tcblower}.
\begin{marker}
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.documentation.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.documentation.tex
index 909ad20a24..ff9a02f154 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.documentation.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.documentation.tex
@@ -478,6 +478,14 @@ This is an optional \oarg{argument}.
\clearpage
+\begin{docCommand}[doc new=2023-02-16]{sarg}{}
+ Macro to typeset \sarg{} as an optional star.
+\begin{dispExample}
+This is an optional \sarg.
+\end{dispExample}
+\end{docCommand}
+
+
\begin{docCommand}{brackets}{\marg{text}}
Sets the given \meta{text} with curly brackets.
\begin{dispExample}
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.filling.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.filling.tex
index 7eae0cc4ff..9f1f4627ca 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.filling.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.filling.tex
@@ -104,7 +104,7 @@ and a border is to be drawn, this border width has to be substracted.
The following auxiliary macro is defined by the \mylib{skins} library.
\enlargethispage*{1cm}
-\begin{docCommand}[doc new=2016-02-03]{tcbhypernode}{\marg{macro}\marg{node}}
+\begin{docCommand}[doc new and updated={2016-02-03}{2023-02-28}]{tcbhypernode}{\marg{macro}\marg{node}}
% Sets the east-to-west dimension of the given \meta{node}
% to the \TeX\ \meta{register}.
Applies a hyperlink creating \meta{macro} from the package |hyperref| \cite{rahtz:hyperref}
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.initoptions.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.initoptions.tex
index bb7c0361ce..1491edd0d6 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.initoptions.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.initoptions.tex
@@ -7,13 +7,14 @@ The \emph{initialization} options are only applicable for the generation
of new environments and commands based on |tcolorbox| and friends.
Particularly, they can be used for
\begin{itemize}
-\item\refCom{newtcolorbox},
-\item\refCom{newtcbox},
-\item\refCom{newtcblisting},
-\item\refCom{newtcbinputlisting},
-\item\refCom{newtcbtheorem}, and
-\item\refCom{newtcboxfit}.
+\item\refCom{newtcolorbox}, \refCom{NewTColorBox}, \refCom{NewTotalTColorBox},
+\item\refCom{newtcbox}, \refCom{NewTCBox}, \refCom{NewTotalTCBox},
+\item\refCom{newtcblisting}, \refCom{NewTCBListing},
+\item\refCom{newtcbinputlisting}, \refCom{NewTCBInputListing},
+\item\refCom{newtcbtheorem}, \refCom{NewTcbTheorem},
+\item\refCom{newtcboxfit}, \refCom{NewTCBoxFit}, \refCom{NewTotalTCBoxFit},
\end{itemize}
+and friends like \refCom{renewtcolorbox}, etc.
\bigskip
\begin{marker}
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.s_snippet.sty b/macros/latex/contrib/tcolorbox/tcolorbox.doc.s_snippet.sty
index 3771159be2..2fd71f8aaa 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.s_snippet.sty
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.s_snippet.sty
@@ -130,7 +130,7 @@
\begin{tcbverbatimwrite}{\jobname_preamble_L.tex}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
\NewTColorBox[auto counter,number within=section]{exercise}{+!O{}}{%
enhanced,colframe=green!20!black,colback=yellow!10!white,coltitle=green!40!black,
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.sidebyside.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.sidebyside.tex
index 4783b10bc0..b287edf0ab 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.sidebyside.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.sidebyside.tex
@@ -218,7 +218,7 @@ its width. A more convenient way to handle this task is to use the
methods from \Fullref{subsec:sidebyside_xparse}.
\begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
% \usepackage{lipsum}
% \newsavebox\mysavebox % preamble
\DeclareTotalTColorBox{\mysidebox}{ O{} +m +m }{
@@ -262,7 +262,7 @@ and \refKey{/tcb/sidebyside switch}.
\begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
% \usepackage{lipsum}
\tcbsidebyside[title=The Triangle,
sidebyside adapt=left,
@@ -300,7 +300,7 @@ Feasible values for \meta{side(s)} are:
\end{itemize}
\begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
\tcbsidebyside[sidebyside adapt=left,
title=Very important table,
beamer,colframe=blue!50!black,colback=blue!10,
@@ -321,7 +321,7 @@ Feasible values for \meta{side(s)} are:
\begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
\tcbsidebyside[sidebyside adapt=right,
blanker,sidebyside gap=5mm
]{%
@@ -338,7 +338,7 @@ Feasible values for \meta{side(s)} are:
\begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
\tcbsidebyside[sidebyside adapt=both,
enhanced,center,
title=Both sides adapted,
@@ -375,7 +375,7 @@ The side switching can be made even/odd page sensitive, if used inside
\refKey{/tcb/if odd page}.
\begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
\tcbsidebyside{Left}{Right}
\tcbsidebyside[sidebyside switch]{Left}{Right}
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.pdf b/macros/latex/contrib/tcolorbox/tcolorbox.pdf
index f7dbfbcc4e..625c49046c 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.pdf
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.pdf
Binary files differ
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.sty b/macros/latex/contrib/tcolorbox/tcolorbox.sty
index 7aaf198415..85074afd25 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.sty
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.sty
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesPackage{tcolorbox}[2023/02/12 version 6.0.1 text color boxes]
-\def\tcb@version{6.0.1}
+\ProvidesPackage{tcolorbox}[2023/03/17 version 6.0.3 text color boxes]
+\def\tcb@version{6.0.3}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -953,11 +953,16 @@
\def\kvtcb@beforebox{}
\def\kvtcb@afterbox{}
+\def\tcb@set@parbox@indent@{%
+ \vspace{-\parskip}\noindent%
+ \let\tcb@set@parbox@indent\@empty%
+}
+
\def\tcb@parbox@true@indent{}%
\def\tcb@parbox@false@indent{%
- \preto\kvtcb@before@title{\vspace{-\parskip}\noindent}%
- \preto\kvtcb@before@upper{\vspace{-\parskip}\noindent}%
- \preto\kvtcb@before@lower{\vspace{-\parskip}\noindent}%
+ \preto\kvtcb@before@title{\tcb@set@parbox@indent}%
+ \preto\kvtcb@before@upper{\tcb@set@parbox@indent}%
+ \preto\kvtcb@before@lower{\tcb@set@parbox@indent}%
}%
\let\tcb@parboxrestore=\@parboxrestore
@@ -1192,6 +1197,13 @@
\tcb@@capture@minipage%
}
+% will be overwritten in `fitting` library
+\def\tcbox@inner@fitbox{%
+ \tcb@error{You need to load `fitting' library to use capture mode `fitbox'}{}%
+ % fallback
+ \tcbox@inner@hbox%
+}
+
% save 'comment' from 'verbatim'
\let\tcb@verbatim@comment\comment
\let\tcb@verbatim@endcomment\endcomment
@@ -1333,6 +1345,11 @@
\def\tcb@lowerdraw@begin@hook{\color{tcbcollower}}%
}%
+\def\tcb@error@nolower{\tcb@error{%
+ \string\tcblower\space cannot be used for \string\tcbox, \string\tcboxfit, and similar box macros,
+ also not for capture=hbox, capture=fitbox, etc.
+ I'll drop this `\string\tcblower'}{}}
+
\long\def\tcb@apply@box@options#1{%
\let\tcb@space\tcb@zpt%
\let\tcb@outer@textheight\tcbtextheight%
@@ -1348,6 +1365,7 @@
\fi%
\let\iftcb@minipage\if@minipage%
\let\iftcb@nobreak\if@nobreak%
+ \let\tcblower\tcb@error@nolower%
}
\long\def\tcb@@icolorbox[#1]{%
@@ -2636,6 +2654,7 @@
\let\tcb@upperdraw@end@hook\@empty%
\let\tcb@lowerdraw@begin@hook\@empty%
\let\tcb@lowerdraw@end@hook\@empty%
+ \let\tcb@set@parbox@indent\tcb@set@parbox@indent@%
},
breakable@false,
width=\linewidth,beforeafter skip balanced=0.5\baselineskip plus 2pt,arc is curved,
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.tex b/macros/latex/contrib/tcolorbox/tcolorbox.tex
index ecfc14c670..4192dfc417 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.tex
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
%% tcolorbox.tex: Manual
%%
%% -------------------------------------------------------------------------------------------
@@ -51,8 +51,8 @@
\setlength{\bibitemsep}{\smallskipamount}
\addbibresource{tcolorbox.doc.bib}
-\def\version{6.0.1}%
-\def\datum{2023/02/12}%
+\def\version{6.0.3}%
+\def\datum{2023/03/17}%
\makeindex
\hypersetup{