summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md (renamed from Master/texmf-dist/doc/latex/tcolorbox/CHANGES)240
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/README95
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/README.md96
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdfbin281257 -> 281300 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdfbin468990 -> 469092 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdfbin455955 -> 455894 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex3
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex4
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex44
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty47
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex63
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex52
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdfbin7270565 -> 7598115 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex9
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex12
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex10
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex20
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex134
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex14
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex44
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex296
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty115
37 files changed, 909 insertions, 441 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md
index a8166b7894d..382ed3d10b6 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
+++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md
@@ -1,21 +1,166 @@
-%% The LaTeX package tcolorbox - version 4.51 (2021/06/14)
-%%
-%% -------------------------------------------------------------------------------------------
-%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
-%% -------------------------------------------------------------------------------------------
-%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license or (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `author-maintained'.
-%%
-%% This work consists of all files listed in README
-%%
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on
+[Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to
+[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+
+### Added
+
+### Changed
+
+### Deprecated
+
+### Removed
+
+### Fixed
+
+### Security
+
+
+
+## [5.0.0] - 2021-12-16
+
+### Added
+- Library `skins`: Option `attach boxed title to top text left`
+- Library `skins`: Option `attach boxed title to top text right`
+- Library `skins`: Option `attach boxed title to bottom text left`
+- Library `skins`: Option `attach boxed title to bottom text right`
+- Library `theorems`: Option `theorem number`
+- Library `minted`: Option `default minted options`
+- Library `minted`: Temporary patch `\tcbTemporaryPatchMintedFancyvrb`
+ for the current minted/fancyvrb package clash (issue #158)
+
+### Changed
+- Changelog is switched to Markdown for entries from 2021 on
+ [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+- From now on version numbers adhere to
+ [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
+- Library `documentation`: warn about not installed `marvosym` and `pifont` (issue #153)
+- Environments wrapped with `\tcolorboxenvironment` are now compatible with
+ all three capture modes `minipage`, `hbox`, and `fitbox` (issue #154)
+- Meaningful error prompts when using unknown capture modes (issue #156)
+- Library `raster`: Inside a raster, `tcbrasternum` can now be
+ referenced using `label={mylabel}`, if the box is not numbered otherwise (issue #81 and #119)
+- Library `theorem`: Theorems with empty display name are now possible without glitches
+- Library `theorem`: Major code parts rewritten in expl3 code
+- Internal layer accounting changed from LaTeX to TeX code to avoid problems with counter macro
+ manipulations by amsmath alignment environments (issue #160)
+- Library `minted`: Option `minted options` now initialized with `default minted options`
+- Library `minted`: Code parts rewritten in expl3 code
+
+### Removed
+- Library 'theorems': `\tcbmaketheorem` removed which is deprecated since version 2.40 (2013/07/15).
+ Use `\newtcbtheorem` instead.
+
+### Fixed
+- Library `documentation`: Inconsistent local/global assignment corrected (issue #144)
+- Documentation: Changed bibtex link corrected (issue #145)
+- Library `breakable`: Option `use color stack` was order dependant (issue #157)
+- Library `raster`: Numbering for rasters inside rasters
+- In certain situations options were set twice
+
+
+
+## [4.51] - 2021-06-14
+
+### Changed
+- Library `documentation`: Package loading of `marvosym` and `pifont`
+ removed. Symbols are accessed directly now by `documentation`.
+
+### Fixed
+- Allocation error for write registers
+
+
+
+## [4.50] - 2021-05-21
+
+### Added
+- Library `skins`: Option `opacitybacklower`
+- Library `skins`: Option `bicolor jigsaw`
+- Library `skins`: Option `bicolorfirst jigsaw`
+- Library `skins`: Option `bicolormiddle jigsaw`
+- Library `skins`: Option `bicolorlast jigsaw`
+- Library `theorems`: Option `theorem hanging indent` (issue #126)
+
+### Changed
+- Documentation: Using group around arguments for title in the examples (issue #125)
+- Documentation: Recommend to use initialization options after loading hyperref (issue #135)
+- Documentation: Warn user about white title color becoming invisible
+ for the skin `empty` (issue #118)
+- Documentation: Corrections (issue #127)
+- Documentation of library `skins` is split into a general part and the catalog of skins
+- Allocate write registers `\tcb@out` and `\tcb@record@out` only when needed (issue #134)
+- `\tcblistof` enhanced to take an optional short title and mimic
+ `\listoffigures` where applicable (issue #124)
+- Library `skins`: Implementation of bicolor overhauled
+- Skin documentation complemented with sidebyside examples
+- Library `vignette`: Documentation examples for fading styles for every side added (issue #136)
+- Library `raster`: `\thetcbrasternum` changed to output the content of a counter (issue #119)
+- LaTeX counter `tcbrasterrow`, `tcbrastercolumn`, `tcbrasternum` documented.
+
+
+
+## [4.42] - 2020-10-09
+
+### Added
+- Library `breakble`: Option `use color stack`
+
+### Changed
+- Due to several problems with the color algorithm introduced with version 4.32,
+ essentially reversion to the proven pre 4.32 method.
+ - support of luacolor persists (since 4.32)
+ - color stacks (by pdfcol) are not mandatory any more,
+ but are optional now with `use color stack`. Note that effects of whatsits
+ on the vertical space have to be expected.
+
+
+
+## [4.41] - 2020-09-29
+
+### Fixed
+- Color bleeding for xelatex and breakable boxes (since 4.32) (issue #120)
+
+
+
+## [4.40] - 2020-09-25
+
+### Added
+- Support `hbox` for `minted` listings (issue #2)
+- New default vertical space options (issue #115)
+ - Option `before skip balanced`
+ - Option `after skip balanced`
+ - Option `beforeafter skip balanced`
+ - NOTE: These options replace the current default options
+ `parskip`, `noparskip`, `autoparskip`
+ - WARNING: Old documents may need adapted manual page breaks where used.
+ Otherwise: Use `\tcbsetforeverylayer{autoparskip}`
+ to restore the old behavior!
+
+### Changed
+- `capture=hbox` applies `\@parboxrestore` now to allow e.g. hbox style
+ listings inside indented environments like itemize (issue #113)
+- `before skip` and `before skip balanced` do not insert glue now, if
+ the tcolorbox is the first element in a minipage (or sourrounding tcolorbox)
+
+### Deprecated
+- Option `parskip`
+- Option `noparskip`
+- Option `autoparskip`
+
+### Fixed
+- `IfBooleanT`, `IfBooleanF` (issue #114)
+- `widget` set `toprule at break` and needed the breakable library (issue #117)
+- `marker` set `breakable` and needed the breakable library
+
+
+
+The following entries are following the old style (no Markdown, switched timeflow)
+==================================================================================
+
(2006-2011): pre publication usage
@@ -1165,62 +1310,3 @@ version 4.32 (2020/09/17)
* new options (#111): 'IfNoValueT', 'IfNoValueF', 'IfValueT', 'IfValueF',
'IfBooleanT', 'IfBooleanF'
-version 4.40 (2020/09/25)
-- bug fix (#114): 'IfBooleanT', 'IfBooleanF'
-- bug fix (#117): 'widget' set 'toprule at break' and needed the breakable library
-- (bug) fix: style 'marker' set 'breakable' and needed the breakable library
-- (#113) 'capture=hbox' applies '\@parboxrestore' now to allow e.g. hbox style
- listings inside indented environments like itemize
-- (#2) support 'hbox' for 'minted' listings
-- (#115) New default vertical space options
- 'before skip balanced', 'after skip balanced', 'beforeafter skip balanced'
- NOTE: These options replace the current default options
- 'parskip', 'noparskip', 'autoparskip'
- WARNING: Old documents may need adapted manual page breaks where used.
- Otherwise: Use \tcbsetforeverylayer{autoparskip}
- to restore the old behavior!
-- 'before skip' and 'before skip balanced' do not insert glue now, if
- the tcolorbox is the first element in a minipage (or sourrounding tcolorbox)
-
-version 4.41 (2020/09/29)
-- bug fix (#120): color bleeding for xelatex and breakable boxes (since 4.32)
-
-version 4.42 (2020/10/09)
-- due to several problems with the color algorithm introduced with version 4.32,
- essentially reversion to the proven pre 4.32 method.
- * support of luacolor persists (since 4.32)
- * color stacks (by pdfcol) are not mandatory any more,
- but are optional now with 'use color stack'. Note that effects of whatsits
- on the vertical space have to be expected.
-
-version 4.50 (2021/05/21)
-- bug fix (#128): 'tcbincludepdf' ignored some raster options
-- bug fix (#138): visible seam for 'bicolor' and 'tile' in 'sidebyside' mode
- around the lower (i.e. rightward) part
-- (#125) Using group around arguments for title in the examples
-- (#134) Allocate write registers \tcb@out and \tcb@record@out only when needed
-- (#135) Documentation: recommend to use initialization options after loading hyperref
-- (#118) Documentation: warn user about white title color becoming invisible
- for the skin 'empty'
-- documentation correction (#127)
-- documentation of library skins is split into a general part and the catalog of skins
-- (#124) '\tcblistof' enhanced to take an optional short title and mimic
- '\listoffigures' where applicable
-- library 'skins':
- * new option 'opacitybacklower'
- * new jigsaw variant of 'bicolor':
- 'bicolor jigsaw', 'bicolorfirst jigsaw', 'bicolormiddle jigsaw', 'bicolorlast jigsaw'
- * implementation of bicolor overhauled
- * skin documentation complemented with sidebyside examples.
-- library 'theorems':
- * (#126) new option 'theorem hanging indent'
-- library 'vignette':
- * (#133) documentation examples for fading styles for every side added
-- library 'raster':
- * (#119) '\thetcbrasternum' changed output the content of a counter.
- LaTeX counter 'tcbrasterrow', 'tcbrastercolumn', 'tcbrasternum' documented.
-
-version 4.51 (2021/06/14)
-- bug fix: allocation error for write registers
-- (#139) library 'documentation': package loading of 'marvosym' and 'pifont'
- removed. Symbols are accessed directly now by 'documentation'.
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README
deleted file mode 100644
index 5f0ebb3370f..00000000000
--- a/Master/texmf-dist/doc/latex/tcolorbox/README
+++ /dev/null
@@ -1,95 +0,0 @@
-%% The LaTeX package tcolorbox - version 4.51 (2021/06/14)
-%%
-%% -------------------------------------------------------------------------------------------
-%% Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
-%% -------------------------------------------------------------------------------------------
-%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license or (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `author-maintained'.
-%%
-%% This work consists of all files listed in README
-%%
-
-tcolorbox provides an environment for colored and framed text boxes with a
-heading line. Optionally, such a box can be split in an upper and a lower
-part. The package tcolorbox can be used for the setting of LaTeX examples where
-one part of the box displays the source code and the other part shows the
-output. Another common use case is the setting of theorems. The package supports
-saving and reuse of source code and text parts.
-
-Contents of the package
-=======================
- 'README' this file
- 'CHANGES' log of changes (history)
- 'tcolorbox.sty' LaTeX package file (style file)
- 'tcbbreakable.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbdocumenation.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbexternal.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbfitting.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbhooks.code.tex' LaTeX package file (library of tcolorbox)
- 'tcblistings.code.tex' LaTeX package file (library of tcolorbox)
- 'tcblistingscore.code.tex' LaTeX package file (library of tcolorbox)
- 'tcblistingsutf8.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbmagazine.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbminted.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbposter.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbprocessing.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbraster.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbskins.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbskinsjigsaw.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbtheorems.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbvignette.code.tex' LaTeX package file (library of tcolorbox)
- 'tcbxparse.code.tex' LaTeX package file (library of tcolorbox)
- 'blueshade.png' Picture (package)
- 'crinklepaper.png' Picture (package)
- 'goldshade.png' Picture (package)
- 'pink_marble.png' Picture (package)
- 'tcolorbox.pdf' Documentation for tcolorbox
- 'tcolorbox.tex' Source code of the documentation (main file)
- '*.doc.*' Source code of the documentation (include files)
- 'tcolorbox-tutorial-poster.pdf' Tutorial for poster creation
- 'tcolorbox-tutorial-poster.tex' Source code of the tutorial
- 'tcolorbox-example.tex' Example file for package usage
- 'tcolorbox-example.pdf' Compiled example
- 'tcolorbox-example-poster.tex' Example file for package usage
- 'tcolorbox-example-poster.pdf' Compiled example
- 'Basilica_5.png' Example picture
- 'lichtspiel.jpg' Example picture
-
-Installation
-============
-Copy the contents of the 'tcolorbox.tds.zip' from CTAN to your local TeX file tree.
-
-Alternatively, put the files to their respective locations within the TeX installation:
- 'tcolorbox.sty' -> /tex/latex/tcolorbox
- 'tcbbreakable.code.tex' -> /tex/latex/tcolorbox
- 'tcbdocumenation.code.tex' -> /tex/latex/tcolorbox
- 'tcbexternal.code.tex' -> /tex/latex/tcolorbox
- 'tcbfitting.code.tex' -> /tex/latex/tcolorbox
- 'tcbhooks.code.tex' -> /tex/latex/tcolorbox
- 'tcblistings.code.tex' -> /tex/latex/tcolorbox
- 'tcblistingscore.code.tex' -> /tex/latex/tcolorbox
- 'tcblistingsutf8.code.tex' -> /tex/latex/tcolorbox
- 'tcbmagazine.code.tex' -> /tex/latex/tcolorbox
- 'tcbminted.code.tex' -> /tex/latex/tcolorbox
- 'tcbposter.code.tex' -> /tex/latex/tcolorbox
- 'tcbprocessing.code.tex' -> /tex/latex/tcolorbox
- 'tcbraster.code.tex' -> /tex/latex/tcolorbox
- 'tcbskins.code.tex' -> /tex/latex/tcolorbox
- 'tcbskinsjigsaw.code.tex' -> /tex/latex/tcolorbox
- 'tcbtheorems.code.tex' -> /tex/latex/tcolorbox
- 'tcbvignette.code.tex' -> /tex/latex/tcolorbox
- 'tcbxparse.code.tex' -> /tex/latex/tcolorbox
- 'blueshade.png' -> /tex/latex/tcolorbox
- 'crinklepaper.png' -> /tex/latex/tcolorbox
- 'goldshade.png' -> /tex/latex/tcolorbox
- 'pink_marble.png' -> /tex/latex/tcolorbox
-
- all other files -> /doc/latex/tcolorbox
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README.md b/Master/texmf-dist/doc/latex/tcolorbox/README.md
new file mode 100644
index 00000000000..7948f69f80c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tcolorbox/README.md
@@ -0,0 +1,96 @@
+# The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
+
+
+> Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
+
+> This work may be distributed and/or modified under the
+> conditions of the LaTeX Project Public License, either version 1.3
+> of this license or (at your option) any later version.
+> The latest version of this license is in
+> http://www.latex-project.org/lppl.txt
+> and version 1.3 or later is part of all distributions of LaTeX
+> version 2005/12/01 or later.
+
+> This work has the LPPL maintenance status author-maintained.
+
+> This work consists of all files listed in README.md
+
+
+`tcolorbox` provides an environment for colored and framed text boxes with a
+heading line. Optionally, such a box can be split in an upper and a lower
+part. The package `tcolorbox` can be used for the setting of *LaTeX* examples where
+one part of the box displays the source code and the other part shows the
+output. Another common use case is the setting of theorems. The package supports
+saving and reuse of source code and text parts.
+
+
+## Contents of the package
+
+- `README.md` this file
+- `CHANGES.md` log of changes (history)
+- `tcolorbox.sty` LaTeX package file (style file)
+- `tcbbreakable.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbdocumenation.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbexternal.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbfitting.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbhooks.code.tex` LaTeX package file (library of tcolorbox)
+- `tcblistings.code.tex` LaTeX package file (library of tcolorbox)
+- `tcblistingscore.code.tex` LaTeX package file (library of tcolorbox)
+- `tcblistingsutf8.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbmagazine.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbminted.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbposter.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbprocessing.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbraster.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbskins.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbskinsjigsaw.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbtheorems.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbvignette.code.tex` LaTeX package file (library of tcolorbox)
+- `tcbxparse.code.tex` LaTeX package file (library of tcolorbox)
+- `blueshade.png` Picture (package)
+- `crinklepaper.png` Picture (package)
+- `goldshade.png` Picture (package)
+- `pink_marble.png` Picture (package)
+- `tcolorbox.pdf` Documentation for tcolorbox
+- `tcolorbox.tex` Source code of the documentation (main file)
+- `*.doc.*` Source code of the documentation (include files)
+- `tcolorbox-tutorial-poster.pdf` Tutorial for poster creation
+- `tcolorbox-tutorial-poster.tex` Source code of the tutorial
+- `tcolorbox-example.tex` Example file for package usage
+- `tcolorbox-example.pdf` Compiled example
+- `tcolorbox-example-poster.tex` Example file for package usage
+- `tcolorbox-example-poster.pdf` Compiled example
+- `Basilica_5.png` Example picture
+- `lichtspiel.jpg` Example picture
+
+
+## Installation
+
+Copy the contents of the `tcolorbox.tds.zip` from CTAN to your local TeX file tree.
+
+Alternatively, put the files to their respective locations within the TeX installation:
+
+- `tcolorbox.sty` -> /tex/latex/tcolorbox
+- `tcbbreakable.code.tex` -> /tex/latex/tcolorbox
+- `tcbdocumenation.code.tex` -> /tex/latex/tcolorbox
+- `tcbexternal.code.tex` -> /tex/latex/tcolorbox
+- `tcbfitting.code.tex` -> /tex/latex/tcolorbox
+- `tcbhooks.code.tex` -> /tex/latex/tcolorbox
+- `tcblistings.code.tex` -> /tex/latex/tcolorbox
+- `tcblistingscore.code.tex` -> /tex/latex/tcolorbox
+- `tcblistingsutf8.code.tex` -> /tex/latex/tcolorbox
+- `tcbmagazine.code.tex` -> /tex/latex/tcolorbox
+- `tcbminted.code.tex` -> /tex/latex/tcolorbox
+- `tcbposter.code.tex` -> /tex/latex/tcolorbox
+- `tcbprocessing.code.tex` -> /tex/latex/tcolorbox
+- `tcbraster.code.tex` -> /tex/latex/tcolorbox
+- `tcbskins.code.tex` -> /tex/latex/tcolorbox
+- `tcbskinsjigsaw.code.tex` -> /tex/latex/tcolorbox
+- `tcbtheorems.code.tex` -> /tex/latex/tcolorbox
+- `tcbvignette.code.tex` -> /tex/latex/tcolorbox
+- `tcbxparse.code.tex` -> /tex/latex/tcolorbox
+- `blueshade.png` -> /tex/latex/tcolorbox
+- `crinklepaper.png` -> /tex/latex/tcolorbox
+- `goldshade.png` -> /tex/latex/tcolorbox
+- `pink_marble.png` -> /tex/latex/tcolorbox
+- all other files -> /doc/latex/tcolorbox
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf
index 06f648a8619..5141f13bb70 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex
index b84a2b2e0ee..ca5965fa4ed 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcolorbox-example-poster.tex: a poster example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
index 9aa9a2d3026..f204554be2a 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
index c09a0935194..4bce9e10694 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcolorbox-example.tex: an example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf
index dfd5b1eb58b..7df55268d24 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex
index 851302103db..07a4e01a24c 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox
%%
%% -------------------------------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib
index be37700ea1a..5569800e3d4 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib
@@ -54,7 +54,7 @@
address = {Hannover},
edition = 12,
series = {IT-Handb\"ucher},
- url = {https://www.luis.uni-hannover.de/buch.html?&titel=latex},
+ url = {https://www.luis.uni-hannover.de/de/services/schulung-beratung-und-support/handbuecher/it-handbuecher-und-ebooks/details/manuals/latex/},
date = {2019-07},
language = {german}
}
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
index 7fe459fc940..42679d832aa 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
@@ -4532,7 +4532,8 @@ B
For example, if several box environments with the same environment name
are nested, for the outer environment \refKey{/tcb/void} cannot be used,
since the end of the inner environment will be misinterpreted as
- end of the outer environment.
+ end of the outer environment. Also, \refKey{/tcb/void} cannot be used
+ for environments wrapped with \refCom{tcolorboxenvironment}.
\end{marker}
\end{docTcbKey}
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
index a9cf4442069..385c6621542 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
@@ -21,6 +21,8 @@ the library \mylib{listings}, see \Vref{sec:listings},
the library \mylib{xparse}, see \Vref{sec:xparse},
and a bunch of packages, namely
|makeidx|, |marginnote|, |refcount|, and |hyperref|.
+The packages |pifont| and |marvosym| should be installed for some symbols, but
+need not to be loaded.
\begin{marker}
The package |makeidx| is loaded only, if \docAuxCommand*{printindex} is
@@ -1241,7 +1243,7 @@ keys to insert code before (or after) the description texts.
Used for \refKey{/tcb/listing engine}|=listings| only.
\end{docTcbKey}
-\begin{docTcbKey}{documentation minted options}{=\meta{minted style}}{no default,\\\hspace*{\fill} initially |tabsize=2,fontsize=\textbackslash small|}
+\begin{docTcbKey}{documentation minted options}{=\meta{key list}}{no default,\\\hspace*{\fill} initially |tabsize=2,fontsize=\textbackslash small|}
Sets the options from the package |minted| \cite{poore:minted}
which are used during typesetting of the listing, if used.
Note that this is not identical to the key
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
index d6b884dc192..2aa5b319740 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
@@ -474,10 +474,11 @@ Sets a \meta{programming language} known to |Pygments| \cite{pygments:web}.
\end{docTcbKey}
-\begin{docTcbKey}[][doc updated={2017-07-05}]{minted options}{=\meta{key list}}{no default, initially
- |tabsize=2,fontsize=\textbackslash small,|\linebreak|breaklines,autogobble|}
+\begin{docTcbKey}[][doc updated={2021-12-15}]{minted options}{=\meta{key list}}{no default, initially
+ \linebreak see \refKey{/tcb/default minted options}}
Sets the options from the package |minted| \cite{poore:minted}
which are used during typesetting of the listing.
+ Also see \refKey{/tcb/minted options app} and \refKey{/tcb/minted options pre}.
\begin{dispExample}
% \tcbuselibrary{skins}
\newtcblisting{myjava}{listing engine=minted,
@@ -500,7 +501,25 @@ Sets a \meta{programming language} known to |Pygments| \cite{pygments:web}.
\end{dispExample}
\end{docTcbKey}
+
\clearpage
+\begin{docTcbKey}[][doc new={2021-12-15}]{default minted options}{=\meta{key list}}{no default, initially
+ |tabsize=2,fontsize=\textbackslash small,|\linebreak|breaklines,autogobble|}
+ Sets the options from the package |minted| \cite{poore:minted}
+ which are used during typesetting of the listing, if
+ \refKey{/tcb/minted options} are \emph{not} used. The intended use is
+ inside the preamble to change the default behavior.
+ Note that setting \refKey{/tcb/default minted options} also resets \refKey{/tcb/minted options}.
+\begin{dispListing}
+% inside the preamble
+\tcbset{%
+ default minted options={tabsize=4,fontsize=\normalsize},
+}
+\end{dispListing}
+\end{docTcbKey}
+
+
+
\begin{docTcbKey}{minted style}{=\meta{style}}{no default, initially unset}
Sets a \meta{style} known to |Pygments| \cite{pygments:web}. This is
independent from \refKey{/tcb/minted options}. Note that styles are always
@@ -514,6 +533,27 @@ For examples of different styles, see
See further options in \Vref{sec:commonlistingkeys}.
+\medskip
+
+\begin{docCommand}[doc new=2021-12-16]{tcbTemporaryPatchMintedFancyvrb}{}
+ \begin{marker}
+ There is a package clash between the package |minted| (version 2.5)
+ and the package |fancyvrb| (from version 4.0 on) which is used by
+ package |minted|. This is results in compilation errors, if the
+ |autogobble| option is used by the \mylib{minted} library.
+ At the time of writing this package clash is unresolved by official releases.
+ Therefore, the \mylib{minted} library contains a patch
+ \refCom{tcbTemporaryPatchMintedFancyvrb} which is automatically applied
+ (do not use this manually).\par
+ To deactivate the patch, define \refCom{tcbTemporaryPatchMintedFancyvrb}
+ with any content \emph{before} the \mylib{minted} library is loaded.\par
+ This patch is going to be removed as soon as the package clash is
+ resolved by official releases of |minted| (or |fancyvrb|).
+ \end{marker}
+\end{docCommand}
+
+
+
\clearpage
\subsection{Common Option Keys of all Libraries}\label{sec:commonlistingkeys}
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
index 63944de20ae..4c4a85dce1b 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
@@ -4,38 +4,22 @@
\renewcommand*\l@subsubsection{\@dottedtocline{3}{4.2em}{3.2em}}
\RequirePackage[T1]{fontenc}
-\RequirePackage[latin1]{inputenc}
+\RequirePackage[utf8]{inputenc}
\RequirePackage[english]{babel}
\RequirePackage{lmodern,parskip,array,ifthen,calc}
\RequirePackage{amsmath,amssymb}
\RequirePackage[svgnames,table,hyperref]{xcolor}
-\RequirePackage{tikz}
-\RequirePackage{varioref}
-%\RequirePackage[makeindex]{imakeidx}
-\RequirePackage[pdftex,bookmarks,raiselinks,pageanchor,hyperindex,colorlinks]{hyperref}
-\RequirePackage{bookmark,varwidth,cleveref,incgraph}
-
-\RequirePackage[a4paper,left=2.5cm,right=2.5cm,top=1.5cm,bottom=1.5cm,
- marginparsep=3mm,marginparwidth=18mm,
- headheight=0mm,headsep=0cm,
- footskip=1.5cm,includeheadfoot%,showframe
- ]{geometry}
-\RequirePackage{fancyhdr}
-\fancyhf{}
-\fancyfoot[C]{\thepage}%
-\renewcommand{\headrulewidth}{0pt}
-\renewcommand{\footrulewidth}{0pt}
-\pagestyle{fancy}
-\tolerance=2000%
-\setlength{\emergencystretch}{20pt}%
-
+\RequirePackage{tikz}
\usetikzlibrary{shadings,shadows}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{patterns}
\usetikzlibrary{spy}
\usetikzlibrary{arrows.meta}
+\RequirePackage[nospace]{varioref}
+
+\RequirePackage{bookmark,varwidth,incgraph}
\RequirePackage{array,tabularx}
\RequirePackage{amsmath}
\RequirePackage{lipsum}
@@ -46,11 +30,32 @@
\RequirePackage{\tcbpkgprefix tcolorbox}
\tcbuselibrary{most,documentation}
+
\tcbifexternal{}{%
\tcbuselibrary{minted}%
\tcbset{listing engine=listings,initialize@reset={listing engine=listings}}%
}
+\RequirePackage{hyperref}
+
+
+\RequirePackage[a4paper,left=2.5cm,right=2.5cm,top=1.5cm,bottom=1.5cm,
+ marginparsep=3mm,marginparwidth=18mm,
+ headheight=0mm,headsep=0cm,
+ footskip=1.5cm,includeheadfoot%,showframe
+ ]{geometry}
+\RequirePackage{fancyhdr}
+\fancyhf{}
+\fancyfoot[C]{\thepage}%
+\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\footrulewidth}{0pt}
+\pagestyle{fancy}
+\tolerance=2000%
+\setlength{\emergencystretch}{20pt}%
+
+\RequirePackage{cleveref}
+
+
\tcbset{skin=enhanced,
doc head={colback=yellow!10!white,interior style=fill},
doc head key={colback=magenta!5!white,interior style=fill},
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
index 1f3833a7f7f..73d93d228b2 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
@@ -443,6 +443,18 @@ the top left corner of the main box.
\end{exdispExample*}
\end{docTcbKey}
+\begin{docTcbKey}[][doc new=2021-07-30]{attach boxed title to top text left}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
+The title is boxed with a \refCom{tcbox} and attached to
+the top left corner of the main box
+and shifted to match title text and box text.
+\begin{exdispExample*}{attach_boxed_title_to_top_text_left}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,title=My title,
+ attach boxed title to top text left]
+ This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{exdispExample*}
+\end{docTcbKey}
+
\begin{docTcbKey}{attach boxed title to top center}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
The title is boxed with a \refCom{tcbox} and attached to
the top of the main box.
@@ -454,6 +466,20 @@ the top of the main box.
\end{exdispExample*}
\end{docTcbKey}
+\begin{docTcbKey}[][doc new=2021-07-30]{attach boxed title to top text right}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
+The title is boxed with a \refCom{tcbox} and attached to
+the top right corner of the main box
+and shifted to match title text and box text.
+\begin{exdispExample*}{attach_boxed_title_to_top_text_right}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,title=My title,
+ halign=right,
+ attach boxed title to top text right]
+ This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{exdispExample*}
+\end{docTcbKey}
+
+
\begin{docTcbKey}{attach boxed title to top right}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
The title is boxed with a \refCom{tcbox} and attached to
the top right corner of the main box.
@@ -465,6 +491,8 @@ the top right corner of the main box.
\end{exdispExample*}
\end{docTcbKey}
+\clearpage
+
\begin{docTcbKey}{attach boxed title to bottom left}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
The title is boxed with a \refCom{tcbox} and attached to
the bottom left corner of the main box.
@@ -476,7 +504,20 @@ the bottom left corner of the main box.
\end{exdispExample*}
\end{docTcbKey}
-\enlargethispage*{1cm}
+
+\begin{docTcbKey}[][doc new=2021-07-30]{attach boxed title to bottom text left}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
+The title is boxed with a \refCom{tcbox} and attached to
+the bottom left corner of the main box
+and shifted to match title text and box text.
+Note that this matches the \emph{upper} part, even, if there is a \emph{lower} part.
+\begin{exdispExample*}{attach_boxed_title_to_bottom_text_left}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,title=My title,
+ attach boxed title to bottom text left]
+ This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{exdispExample*}
+\end{docTcbKey}
+
\begin{docTcbKey}{attach boxed title to bottom center}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
The title is boxed with a \refCom{tcbox} and attached to
@@ -489,6 +530,22 @@ the bottom of the main box.
\end{exdispExample*}
\end{docTcbKey}
+
+\begin{docTcbKey}[][doc new=2021-07-30]{attach boxed title to bottom text right}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
+The title is boxed with a \refCom{tcbox} and attached to
+the bottom right corner of the main box
+and shifted to match title text and box text.
+Note that this matches the \emph{upper} part, even, if there is a \emph{lower} part.
+\begin{exdispExample*}{attach_boxed_title_to_bottom_text_right}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,title=My title,
+ halign=right,
+ attach boxed title to bottom text right]
+ This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{exdispExample*}
+\end{docTcbKey}
+
+
\begin{docTcbKey}{attach boxed title to bottom right}{\colOpt{=\marg{boxtitle options}}}{style, default empty}
The title is boxed with a \refCom{tcbox} and attached to
the bottom right corner of the main box.
@@ -728,8 +785,8 @@ the \meta{options} are is appended.
colframe=red!50!black,colback=red!10!white,
arc=1mm,colbacktitle=red!10!white,
fonttitle=\bfseries,coltitle=red!50!black,
- attach boxed title to top left=
- {xshift=3.2mm,yshift=-0.50mm},
+ attach boxed title to top text left=
+ {yshift=-0.50mm},
boxed title style={skin=enhancedfirst jigsaw,
size=small,arc=1mm,bottom=-1mm,
interior style={fill=none,
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
index abaf34a4d4d..51d680c388a 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
@@ -83,27 +83,6 @@ To switch off the \texttt{nameref} feature permanently, add
\end{docCommand}
-\begin{docCommand}{tcbmaketheorem}{\marg{name}\marg{display name}\marg{options}\marg{counter}\marg{prefix}}
-\smallskip\begin{marker}
-\refCom{newtcbtheorem} supersedes this macro.
-\end{marker}
-\begin{deprecated}
- Creates a new environment \meta{name} based on |tcolorbox| to frame a
- (mathematical) theorem. The \meta{display name} is used in the title line
- with a number, e.\,g. \mbox{\flqq Theorem 5.1\frqq}.
- The \meta{options} are given to the underlying |tcolorbox| to control
- the appearance.
- The \meta{counter} is used for automatic numbering.
- The new environment \meta{name} takes one optional and two mandatory
- parameters. The optional parameter supplements the options and should be
- used only in rare cases.
- The first mandatory parameter is the title text for the theorem and
- the second mandatory parameter is a \meta{marker}. The theorem is
- automatically labeled with \meta{prefix}\meta{separator}\meta{marker}
- where \meta{separator} is predefined as \enquote{|:|}, see \refKey{/tcb/label separator}.
-\end{deprecated}
-\end{docCommand}
-
\clearpage
\begin{docCommand}{tcboxmath}{\oarg{options}\marg{mathematical box content}}
Creates a \refEnv{tcolorbox} which is fitted to the width of the given
@@ -507,18 +486,34 @@ My theorem text.
Prints theorem name without number inside the title.
\begin{dispExample}
\newtcbtheorem[use counter from=mytheo]{sometheorem}{Theorem}%
- {colback=white,colframe=red!50!black,fonttitle=\bfseries,
- theorem name,enhanced,watermark text={\thetcbcounter}}{theo}
+ {enhanced,colback=white,colframe=red!50!black,fonttitle=\bfseries,
+ theorem name,watermark text={\thetcbcounter}}{theo}
+\begin{sometheorem}{My example}{}
+My theorem text.
+\end{sometheorem}
+\end{dispExample}
+\end{docTcbKey}
+
+\enlargethispage*{20mm}
+
+\begin{docTcbKey}[][doc new=2021-12-03]{theorem number}{}{style, no value}
+Prints theorem name without name inside the title.
+\begin{dispExample}
+\newtcbtheorem[use counter from=mytheo]{sometheorem}{Theorem}%
+ {enhanced,colback=white,colframe=red!50!black,fonttitle=\bfseries,
+ theorem number}{theo}
\begin{sometheorem}{My example}{}
My theorem text.
\end{sometheorem}
\end{dispExample}
\end{docTcbKey}
+
\clearpage
\begin{docTcbKey}{theorem}{=\marg{display name}\marg{counter}\marg{title}\marg{marker}}{no default}
- This key is internally used by \refCom{tcbmaketheorem}, but can be used
- directly in a |tcolorbox| for a more flexible approach.
+ This key can be used
+ directly in a |tcolorbox| for a more flexible approach to create a
+ theorem type box.
The \meta{display name} is used together with the increased \meta{counter} value
and the \meta{title} for the title line of the box. Additionally, a
|\label| with the given \meta{marker} is created.
@@ -531,8 +526,7 @@ Here, we see the test \ref{myMarker}.
\end{dispExample}
For a common appearance inside the document, the key |theorem| should not be
used directly as in the example above, but as part of a new environment
-created by hand or using \refCom{tcbmaketheorem} or using its successor
-\refCom{newtcbtheorem}.
+created by hand or using \refCom{newtcbtheorem}.
\end{docTcbKey}
\clearpage
@@ -896,7 +890,7 @@ This is my theorem. \begin{equation*} a^2 + b^2 = c^2. \end{equation*}
%
\clearpage
\subsection{Examples for Definitions and Theorems}
-In the following, the application of \refCom{tcbmaketheorem}
+In the following, the application of \refCom{newtcbtheorem}
to highlight mathematical definitions, theorems, or the like is demonstrated.
At first, additional |tcb| keys are created for the appearance of
@@ -917,7 +911,7 @@ Now, everything is prepared for the following examples.
\begin{dispExample}
The following theorem is numbered as \Cref{theo:diffbarstetig} and
-referenced with the marker \texttt{theo:diffbarstetig}.\bigskip
+referenced with the marker \texttt{theo:diffbarstetig}.
\begin{Theorem}{Differenzierbarkeit bedingt Stetigkeit, wobei diese Benennung
zu Testzwecken ungew\"{o}hnlich lang ist}{diffbarstetig}%
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
index 27d0c1e5e41..482a4a615f7 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
index 6bd27975ce0..d7b89ec1ee5 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcolorbox.tex: Manual
%%
%% -------------------------------------------------------------------------------------------
@@ -25,6 +25,7 @@
% arara: pdflatex: { shell: yes, synctex: yes }
% arara: pdflatex: { shell: yes, synctex: yes }
%
+\PassOptionsToPackage{pdftex,bookmarks,raiselinks,pageanchor,hyperindex,colorlinks}{hyperref}
\documentclass[a4paper,11pt]{ltxdoc}
\usepackage{tcolorbox.doc.s_main}
@@ -43,8 +44,8 @@
\setlength{\bibitemsep}{\smallskipamount}
\addbibresource{tcolorbox.doc.bib}
-\def\version{4.51}%
-\def\datum{2021/06/14}%
+\def\version{5.0.0}%
+\def\datum{2021/12/16}%
\makeindex
\hypersetup{
@@ -62,7 +63,7 @@
%\geometry{showframe}
%\tcbset{draftmode}
\tcbset{/tcb/external/-}% for final run
-%\includeonly{tcolorbox.doc.documentation}
+%\includeonly{tcolorbox.doc.listings}
%\hypersetup{colorlinks=false}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
index 90724439f47..9b51bcdc38b 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbbreakable.code.tex: Code for breakable colorboxes
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.0}
\RequirePackage{pdfcol}
\pdfcolInitStack{tcb@breakable}
@@ -912,7 +912,7 @@
}
-\def\tcb@init@breakability{%
+\def\tcb@init@breakable{%
\let\tcb@savebox=\tcb@vbox%
\let\endtcb@savebox=\endtcb@vbox%
\let\tcb@drawcolorbox=\tcb@drawcolorbox@breakable%
@@ -927,16 +927,16 @@
\tcbset{%
breakable@true/.code={%
- \tcb@init@breakability%
+ \tcb@isbreakabletrue%
\let\tcb@defToTotalHeight=\tcb@defToTotalHeightBreakable},
breakable@unlimited/.code={%
- \tcb@init@breakability%
+ \tcb@isbreakabletrue%
\let\tcb@defToTotalHeight=\tcb@defToTotalHeightUnlimited},
breakable/.style={breakable@#1},
breakable/.default=true,%
unbreakable/.style={breakable=false},%
enforce breakable/.code={%
- \tcb@init@breakability%
+ \tcb@isbreakabletrue%
\let\tcb@defToTotalHeight=\tcb@defToTotalHeightBreakable},
title after break/.store in=\kvtcb@followingtitle,%
notitle after break/.style={title after break=},%
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
index 0264f5406d6..1c9689d7a76 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbdocumentation.code.tex: Code for LaTeX documentations
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.0}
\tcbuselibrary{listings,skins,xparse,external,raster}
@@ -25,6 +25,8 @@
\RequirePackage{refcount}[2011/10/16]
\RequirePackage{hyperref}[2012/02/06]
\ifdefined\marginnote\else\RequirePackage{marginnote}[2012/03/29]\fi
+\IfFileExists{pifont.sty}{}{\tcb@warning{Library 'documentation' may need symbols from package 'pifont' (not installed)}}
+\IfFileExists{marvosym.sty}{}{\tcb@warning{Library 'documentation' may need symbols from package 'marvosym' (not installed)}}
\definecolor{Option}{rgb}{0.118,0.546,0.222}
\definecolor{Definition}{rgb}{0.784,0.06,0.176}
@@ -371,7 +373,7 @@
{
\tcbset{doc~name=, doc~parameter=, doc~description=, #1}
\begin{tcb@manual@entry}
- \seq_clear:N \g__tcobox_label_seq
+ \seq_gclear:N \g__tcobox_label_seq
\begin{tcbraster}[raster~columns=1,raster~row~skip=0pt,
raster~after~skip=4.1pt,raster~force~size=false,doc@raster@#3]
\seq_set_from_clist:Nn \l_tmpa_seq {#2}
@@ -391,7 +393,7 @@
\group_end:
}
\end{tcbraster}
- \seq_clear:N \g__tcobox_label_seq
+ \seq_gclear:N \g__tcobox_label_seq
\nobreak
\tcbset{before~upper=}
\use:c { kvtcb@doc@body@#3@before }
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
index ffddc26eb5f..fedb6fc58cc 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbexternal.code.tex: Code for externalization
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.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 f3498292edf..d65e520c9bc 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% 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{4.51}
+\tcb@set@library@version{5.0.0}
\newdimen\tcbfitdim
\newdimen\tcb@lowerfitdim
@@ -71,7 +71,21 @@
\def\tcb@@capture@fitbox{%
\let\endtcolorbox=\relax%
- \Collect@Body\tcbox@inner@fitbox@collected%
+ \iftcb@wrap@environment%
+ \expandafter\@firstoftwo%
+ \else%
+ \expandafter\@secondoftwo%
+ \fi%
+ {\begingroup\tcb@hack@currenvir%
+ \Collect@Body\tcbox@inner@fitbox@collected@for@wrapping}%
+ {\Collect@Body\tcbox@inner@fitbox@collected}%
+}
+
+\long\def\tcbox@inner@fitbox@collected@for@wrapping#1\end#2{%
+ \endgroup%
+ \let\tcb@end@tcolorboxenvironment\relax%
+ \tcbox@inner@fitbox@collected{#1\end{#2}}%
+ \end{tcolorbox}%
}
\def\tcbfontsize#1{\fontsize{#1\tcbfitdim}{#1\dimexpr\kvtcb@fit@skip\tcbfitdim}\selectfont}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
index 8337770bdbe..8ae95cee03f 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% 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{4.51}
+\tcb@set@library@version{5.0.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 992259c371d..b5198624683 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% 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{4.51}
+\tcb@set@library@version{5.0.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 328ba791634..3ec7dd5ae5f 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% 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{4.51}
+\tcb@set@library@version{5.0.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 76cb24dc43a..1f1d771f597 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% 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{4.51}
+\tcb@set@library@version{5.0.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 a5bde8d84aa..ca10489beea 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% 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{4.51}
+\tcb@set@library@version{5.0.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 8417ab97cd2..6c3a2eea6b5 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbminted.code.tex: Code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,60 +18,128 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.0}
\RequirePackage{minted}[2011/09/17]
% to be removed, if integrated into the minted package (#281)
\minted@def@optcl{envname}{-P envname}{#1}
+% to be removed, if minted becomes newer than v2.5 (2017/07/19)
+% and resolves the package clash with fancyvrb
+\ProvideDocumentCommand\tcbTemporaryPatchMintedFancyvrb{}{%
+ \@ifpackagelater{minted}{2021/12/01}{}{\@ifpackagelater{fancyvrb}{2021/11/19}{%
+ % patch from muzimuzhi
+ \RequirePackage{regexpatch}%
+ \def\minted@use@FancyVerbStartNum{\the\numexpr\FancyVerbStartNum}%
+ \def\minted@use@FancyVerbStopNum{\the\numexpr\FancyVerbStopNum}%
+ % patch for fivesum computation
+ \xpatchcmd*\minted@pygmentize%
+ {\ifx\FancyVerbStartNum\z@ 0\else\FancyVerbStartNum\fi}%
+ {\minted@use@FancyVerbStartNum}%
+ {}{}%
+ \xpatchcmd*\minted@pygmentize%
+ {\ifx\FancyVerbStopNum\z@ 0\else\FancyVerbStopNum\fi}%
+ {\minted@use@FancyVerbStopNum}%
+ {}{}%
+ % patch for option "autogobble"
+ \xpatchcmd\minted@autogobble%
+ {\ifx\FancyVerbStartNum\z@ 0\else\FancyVerbStartNum\fi}%
+ {\minted@use@FancyVerbStartNum}%
+ {}{}%
+ \xpatchcmd\minted@autogobble%
+ {\ifx\FancyVerbStopNum\z@ 0\else\FancyVerbStopNum\fi}%
+ {\minted@use@FancyVerbStopNum}%
+ {}{}%
+}{}}}
+
+\tcbTemporaryPatchMintedFancyvrb
+
\tcbuselibrary{listings@core}
-\def\tcb@minted@input@listing#1#2#3#4{%
- \edef\temp@a{#4}%
- \ifx\temp@a\@empty%
- \else%
- \toks@=\expandafter{#4}%
- \edef\tcb@temp{\noexpand\usemintedstyle{\the\toks@}}%
- \tcb@temp%
- \fi%
- \ifdefstring{\tcb@listing@capture}{hbox}{%
- \toks@=\expandafter{#1,envname=BVerbatim}%
- }{%
- \toks@=\expandafter{#1}%
- }%
- \edef\tcb@temp{\noexpand\inputminted[\the\toks@]}%
- \IfFileExists{\minted@outputdir#3}%
- {\tcb@temp{#2}{\minted@outputdir#3}}%
- {\tcb@temp{#2}{#3}}%
-}
+\ExplSyntaxOn
-\def\tcb@minted@uselistinglisting{%
- \tcb@minted@input@listing{\kvtcb@minted@options}{\kvtcb@minted@language}{\kvtcb@listingfile}{\kvtcb@minted@style}%
-}%
+\cs_new_nopar:Npn \__tcobox_minted_input_listing:nnnn #1#2#3#4
+ {
+ \tl_if_empty:nF { #4 }
+ {
+ \usemintedstyle { #4 }
+ }
+ \tl_set:Nn \l_tmpa_tl { \inputminted[#1 }
+ \str_if_eq:VnT \tcb@listing@capture { hbox }
+ {
+ \tl_put_right:Nn \l_tmpa_tl { ,envname=BVerbatim }
+ }
+ \tl_put_right:Nn \l_tmpa_tl { ] }
+ \file_if_exist:nTF { \minted@outputdir #3 }
+ {
+ \l_tmpa_tl { #2 }{ \minted@outputdir #3 }
+ }
+ {
+ \l_tmpa_tl { #2 }{ #3 }
+ }
+ }
-\def\tcb@minted@usetemplisting{%
- \tcb@minted@input@listing{\kvtcb@minted@options}{\kvtcb@minted@language}{\kvtcb@tempfile}{\kvtcb@minted@style}%
-}%
+\cs_generate_variant:Nn \__tcobox_minted_input_listing:nnnn {VVVV}
+
+
+\cs_new_nopar:Npn \__tcbbox_minted_uselistinglisting:
+ {
+ \__tcobox_minted_input_listing:VVVV
+ \kvtcb@minted@options
+ \kvtcb@minted@language
+ \kvtcb@listingfile
+ \kvtcb@minted@style
+ }
+
+
+\cs_new_nopar:Npn \__tcbbox_minted_usetemplisting:
+ {
+ \__tcobox_minted_input_listing:VVVV
+ \kvtcb@minted@options
+ \kvtcb@minted@language
+ \kvtcb@tempfile
+ \kvtcb@minted@style
+ }
+
+
+\cs_new_nopar:Npn \__tcbbox_minted_doc_usetemplisting:
+ {
+ \__tcobox_minted_input_listing:VVVV
+ \kvtcb@docmintoptions
+ \kvtcb@docminted@language
+ \kvtcb@tempfile
+ \kvtcb@docmintstyle
+ }
+
+
+\tcbset
+ {
+ listing~engine/minted/.code=
+ {
+ \cs_set_eq:NN \tcbuselistinglisting \__tcbbox_minted_uselistinglisting:
+ \cs_set_eq:NN \tcbusetemplisting \__tcbbox_minted_usetemplisting:
+ \cs_set_eq:NN \tcb@doc@usetemplisting \__tcbbox_minted_doc_usetemplisting:
+ },
+ }
+
+\ExplSyntaxOff
-\def\tcb@minted@doc@usetemplisting{%
- \tcb@minted@input@listing{\kvtcb@docmintoptions}{\kvtcb@docminted@language}{\kvtcb@tempfile}{\kvtcb@docmintstyle}%
-}
\tcbset{%
minted language/.store in=\kvtcb@minted@language,
minted options/.store in=\kvtcb@minted@options,
+ default@minted@options/.store in=\kvtcb@default@minted@options,
+ default minted options/.style={default@minted@options={#1},minted options={#1}},
minted style/.store in=\kvtcb@minted@style,
- listing engine/minted/.code={\let\tcbuselistinglisting\tcb@minted@uselistinglisting%
- \let\tcbusetemplisting\tcb@minted@usetemplisting%
- \let\tcb@doc@usetemplisting\tcb@minted@doc@usetemplisting},
}
\tcbset{%
+ default@minted@options={tabsize=2,fontsize=\small,breaklines,autogobble},
reset@minted/.style={%
minted language=latex,
- minted options={tabsize=2,fontsize=\small,breaklines,autogobble},
+ code={\let\kvtcb@minted@options\kvtcb@default@minted@options},
minted style=,
listing engine=minted,
},
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex
index b61f49a7b25..107d1f7bec7 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbposter.code.tex: Code for posters
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.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 37fb7d65e71..d23d7838858 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbprocessing.code.tex: Code for conditional processing
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.0}
\RequirePackage{pdftexcmds}
\RequirePackage{shellesc}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
index 8905f8a0b6d..350f9494664 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins
%%
%% -------------------------------------------------------------------------------------------
@@ -17,12 +17,18 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.0}
\newcounter{tcbrastercolumn}
\newcounter{tcbrasterrow}
\newcounter{tcbrasternum}
\newcounter{tcbraster}
+\def\tcb@raster@number{\@arabic\c@tcbraster}%
+\def\theHtcbrasternum{\tcb@raster@number.\@arabic\c@tcbrasternum}
+
+\setcounter{tcbrasternum}{1}
+\setcounter{tcbrastercolumn}{1}
+\setcounter{tcbrasterrow}{1}
\def\tcb@raster@ehg@all{%
\tcbset{equal height group={\kvtcb@raster@ehgid}}%
@@ -126,6 +132,7 @@
\tcb@layer@pushup%
\stepcounter{tcbraster}%
\edef\tcb@raster@number{\number\c@tcbraster}%
+ \edef\tcb@raster@save@num{\number\c@tcbrasternum}%
\edef\tcb@raster@save@column{\number\c@tcbrastercolumn}%
\edef\tcb@raster@save@row{\number\c@tcbrasterrow}%
\let\tcb@raster@change@fitbox\@empty%
@@ -179,6 +186,7 @@
\stepcounter{tcbrastercolumn}%
\fi},%
box align=\kvtcb@raster@valign,%
+ code={\preto\kvtcb@phantom{\addtocounter{tcbrasternum}{-1}\refstepcounter{tcbrasternum}}},%
}%
\tcbdimto\tcb@raster@box@width{(\tcb@raster@width+\tcb@raster@xskip-\tcb@raster@skip@left-\tcb@raster@skip@right)/\kvtcb@raster@columns-\tcb@raster@xskip}%
\tcb@raster@set@size{%
@@ -215,9 +223,9 @@
\addvspace{\glueexpr\tcb@raster@skip@after-\parskip}%
\endgroup%
\tcb@end@raster%
+ \setcounter{tcbrasternum}{\tcb@raster@save@num}%
\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 54517b2ddd8..0aaa34246df 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% 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{4.51}
+\tcb@set@library@version{5.0.0}
\RequirePackage{tikz}[2010/10/13]
@@ -1124,7 +1124,7 @@
\fi%
\tcbdimto\kvtcb@bottom{\kvtcb@bottom+\kvtcb@yinnershift@boxedtitle}%
},
- attach@title@boxed/.style n args={5}{%
+ attach@title@boxed/.style n args={6}{%
detach title,
code={\def\tcb@specialtitle@hook{%
\ifx\tcbtitletext\@empty\else%
@@ -1135,7 +1135,15 @@
\let\tcb@trans@boxedstyle\kvtcb@style@boxedtitle%
\setbox\tcb@titlebox\color@hbox\bgroup\color{tcbcoltitle}\kvtcb@fonttitle\kvtcb@before@boxedtitle\kvtcb@haligntitle\kvtcb@before@title\tcbtitletext\kvtcb@after@title\kvtcb@after@boxedtitle\egroup\color@endbox%
\setbox\tcb@titlebox\color@hbox\tcbox[skin=\tcb@trans@skin@current,colframe=tcbtranscol@frame,colback=tcbtranscol@back,%
- code={\pgfkeysalsofrom\tcb@trans@boxedsize\pgfkeysalsofrom\tcb@trans@boxedstyle}]{\box\tcb@titlebox}\color@endbox%
+ code={\pgfkeysalsofrom\tcb@trans@boxedsize\pgfkeysalsofrom\tcb@trans@boxedstyle%
+ \ifcase#6
+ \or%
+ \global\tcbdimto\tcb@xshift@boxedtitle@delta{\kvtcb@left@rule+\kvtcb@boxsep+\kvtcb@leftupper}%
+ \else%
+ \global\tcbdimto\tcb@xshift@boxedtitle@delta{\kvtcb@right@rule+\kvtcb@boxsep+\kvtcb@rightupper}%
+ \fi%
+ }%
+ ]{\box\tcb@titlebox}\color@endbox%
%
\tcbdimto\tcboxedtitleheight{\ht\tcb@titlebox+\dp\tcb@titlebox}%
\tcbdimto\tcboxedtitlewidth{\wd\tcb@titlebox}%
@@ -1143,8 +1151,16 @@
\let\tcb@specialgeonodes@first\relax%
\let\tcb@specialgeonodes@middle\relax%
\let\tcb@specialgeonodes@last\relax%
+ \ifcase#6
+ \tcbdimto\tcb@xshift@boxedtitle{\kvtcb@xshift@boxedtitle}%
+ \or%
+ \tcbdimto\tcb@xshift@boxedtitle{\kvtcb@left@rule+\kvtcb@boxsep+\kvtcb@leftupper-\tcb@xshift@boxedtitle@delta}%
+ \else%
+ \tcbdimto\tcb@xshift@boxedtitle{\tcb@xshift@boxedtitle@delta-(\kvtcb@right@rule+\kvtcb@boxsep+\kvtcb@rightupper)}%
+ \fi%
\def\tcb@specialgeonodes@unbroken{%
- \node[#4,name=title,at={([xshift=\kvtcb@xshift@boxedtitle,yshift=\kvtcb@yshift@boxedtitle]frame.#5)},
+ \node[#4,name=title,at={([xshift=\tcb@xshift@boxedtitle,yshift=\kvtcb@yshift@boxedtitle]frame.#5)},
+ line width=0mm,inner sep=0mm,outer sep=0mm,draw=none,fill=none,rectangle,
minimum width=\tcboxedtitlewidth,minimum height=\tcboxedtitleheight]{};}%
\cslet{tcb@specialgeonodes@#3}{\tcb@specialgeonodes@unbroken}%
\def\tcb@specialgeonodes@hook{\csname tcb@specialgeonodes@\tcb@split@state\endcsname}%
@@ -1152,15 +1168,17 @@
\cspreto{tcb@underlay@#3}{\tcb@underlay@boxedtitle\pgftext[at={\pgfpointanchor{title}{center}}]{\box\tcb@titlebox}}%
\fi}}%
},
- attach@title@boxed@top/.style n args={3}{attach@title@boxed={#1}{top}{first}{#2}{#3}},%
- attach@title@boxed@bottom/.style n args={3}{attach@title@boxed={#1}{bottom}{last}{#2}{#3}},%
%
- attach boxed title to top left/.style={attach@title@boxed@top={#1}{above right}{north west}},
- attach boxed title to top center/.style={attach@title@boxed@top={#1}{above}{north}},
- attach boxed title to top right/.style={attach@title@boxed@top={#1}{above left}{north east}},
- attach boxed title to bottom left/.style={attach@title@boxed@bottom={#1}{below right}{south west}},
- attach boxed title to bottom center/.style={attach@title@boxed@bottom={#1}{below}{south}},
- attach boxed title to bottom right/.style={attach@title@boxed@bottom={#1}{below left}{south east}},
+ attach boxed title to top left/.style = {attach@title@boxed={#1}{top}{first}{above right}{north west}{0}},
+ attach boxed title to top text left/.style = {attach@title@boxed={#1}{top}{first}{above right}{north west}{1}},
+ attach boxed title to top center/.style = {attach@title@boxed={#1}{top}{first}{above}{north}{0}},
+ attach boxed title to top text right/.style = {attach@title@boxed={#1}{top}{first}{above left}{north east}{2}},
+ attach boxed title to top right/.style = {attach@title@boxed={#1}{top}{first}{above left}{north east}{0}},
+ attach boxed title to bottom left/.style = {attach@title@boxed={#1}{bottom}{last}{below right}{south west}{0}},
+ attach boxed title to bottom text left/.style = {attach@title@boxed={#1}{bottom}{last}{below right}{south west}{1}},
+ attach boxed title to bottom center/.style = {attach@title@boxed={#1}{bottom}{last}{below}{south}{0}},
+ attach boxed title to bottom text right/.style = {attach@title@boxed={#1}{bottom}{last}{below left}{south east}{2}},
+ attach boxed title to bottom right/.style = {attach@title@boxed={#1}{bottom}{last}{below left}{south east}{0}},
reduce@vertical@rules/.code={%
\ifdim\dimexpr\kvtcb@left@rule<\dimexpr\kvtcb@right@rule\relax%
\tcbdimto\tcb@temp{\kvtcb@left@rule/2}%
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
index beeccff8561..138b4b1bae9 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% 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{4.51}
+\tcb@set@library@version{5.0.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 3a992cad093..12a415fa4e0 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbtheorems.code.tex: Code for theorems in colorboxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,44 +18,218 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.0}
\RequirePackage{amsmath}
-\def\tcb@hack@amsmath{\tcb@hack@currenvir\vskip-\abovedisplayskip}
-\def\tcb@theo@form@namenumber#1#2{\hbox{#1~#2}}
-\def\tcb@theo@form@numbername#1#2{\hbox{#2~#1}}
-\def\tcb@theo@form@name#1#2{\hbox{#1}}
+\ExplSyntaxOn
-\def\tcb@theo@desc@form@std#1{\tcb@desc@col\kvtcb@desc@font\kvtcb@desc@delim@left#1\kvtcb@desc@delim@right}
+\tl_new:N \l__tcobox_theo_description_color_tl
+\tl_new:N \l__tcobox_theo_description_delimiter_left_tl
+\tl_new:N \l__tcobox_theo_description_delimiter_right_tl
+\tl_new:N \l__tcobox_theo_description_font_tl
+\tl_new:N \l__tcobox_theo_hanging_indent_tl
+\tl_new:N \l__tcobox_theo_label_separator_tl
+\tl_new:N \l__tcobox_theo_separatorsign_tl
+\tl_new:N \l__tcobox_theo_terminatorsign_tl
-\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}%
- \ifx\temp@a\@empty\relax%
- \unhbox\z@\kvtcb@terminatorsign%
- \else%
- \setbox\z@=\hbox{\unhbox\z@\kvtcb@separatorsign\ }%
- \tcb@theo@title@indent{\wd\z@}%
- \mbox{\unhbox\z@}{\tcb@theo@desc@form{#3}}\kvtcb@terminatorsign%
- \fi%
-}
+\cs_new_nopar:Npn \__tcobox_theo_format_name_number:nn #1#2
+ {
+ \tl_if_empty:nTF { #1 }
+ {
+ #2
+ }
+ {
+ #1
+ \tl_if_empty:nF { #2 }
+ {
+ \nobreakspace
+ #2
+ }
+ }
+ }
-\def\tcb@theo@listentry#1#2#3{%
- \def\kvtcb@listentry{\protect\numberline{#2}#3}%
-}
-\def\tcb@theo@label#1#2{%
- \def\temp@a{#2}%
- \ifx\temp@a\@empty%
- \else%
- \tcbset{label={#1\kvtcb@label@sep#2},%
- tcb@theo@full@label@supp={#1\kvtcb@label@sep#2},tcb@theo@label@supp={#2}}%
- \fi%
-}
+\cs_new_nopar:Npn \__tcobox_theo_format_number_name:nn #1#2
+ {
+ \__tcobox_theo_format_name_number:nn { #2 } { #1 }
+ }
+
+
+\cs_new:Npn \__tcobox_theo_format_description_standard:n #1
+ {
+ \l__tcobox_theo_description_color_tl
+ \l__tcobox_theo_description_font_tl
+ \l__tcobox_theo_description_delimiter_left_tl
+ #1
+ \l__tcobox_theo_description_delimiter_right_tl
+ }
+
+
+\cs_new:Npn \__tcobox_theo_title:nnn #1#2#3
+ {
+ % format and save display name and number
+ \tl_set:Nx \l_tmpa_tl { \__tcobox_theo_format:nn{#1}{#2} }
+ \tl_if_empty:nTF { #3 }
+ {
+ % no theorem title; insert name and number
+ \l_tmpa_tl
+ \l__tcobox_theo_terminatorsign_tl
+ }
+ {
+ % box display name and number
+ \tl_if_empty:NTF \l_tmpa_tl
+ {
+ \box_clear:N \l_tmpa_box
+ }
+ {
+ \hbox_set:Nn \l_tmpa_box
+ {
+ \tl_use:N \l_tmpa_tl
+ \l__tcobox_theo_separatorsign_tl
+ \nobreakspace
+ }
+ }
+ % set (hanging) indent for name and number
+ \str_if_eq:VnTF \l__tcobox_theo_hanging_indent_tl { auto }
+ {
+ \hangindent \box_wd:N \l_tmpa_box
+ \hangafter = 1
+ }
+ {
+ \dim_set:Nn \l_tmpa_dim { \l__tcobox_theo_hanging_indent_tl }
+ \if_dim:w \l_tmpa_dim = \c_zero_dim
+ \else:
+ \if_dim:w \l_tmpa_dim > \c_zero_dim
+ \hangindent \l_tmpa_dim
+ \hangafter = 1
+ \else:
+ \hangindent -\l_tmpa_dim
+ \hangafter = -1
+ \fi:
+ \fi:
+ }
+ % insert box with name and number
+ \mode_leave_vertical:
+ \box_use_drop:N \l_tmpa_box
+ % insert formated title
+ \group_begin:
+ \__tcobox_theo_format_description:n{#3}
+ \group_end:
+ \l__tcobox_theo_terminatorsign_tl
+ }
+ }
+
+
+\NewDocumentCommand \new@tcbtheorem { O{} m m +m m }
+ {
+ \@@newtcolorbox[auto~counter,#1]{#2}[3][]
+ {
+ #4,
+ title = {\__tcobox_theo_title:nnn{#3}{\thetcbcounter}{##2}},
+ list~entry = {\protect\numberline{\thetcbcounter}##2},
+ nameref = {##2},
+ theo@label = {#5}{##3},
+ ##1
+ }
+ \@@newtcolorbox[#1,no~counter,list~inside=]{#2*}[2][]
+ {
+ #4,
+ title = {\__tcobox_theo_title:nnn{#3}{}{##2}},
+ ##1
+ }
+ }
+
+
+\NewDocumentCommand \newtcbtheorem {}
+ {
+ \cs_set_eq:NN \@@newtcolorbox \newtcolorbox
+ \new@tcbtheorem
+ }
+
+
+\NewDocumentCommand \renewtcbtheorem {}
+ {
+ \cs_set_eq:NN \@@newtcolorbox \renewtcolorbox
+ \new@tcbtheorem
+ }
+
+
+\tcbset
+ {
+ theo@label/.code~n~args = {2}
+ {
+ \tl_if_empty:nF { #2 }
+ {
+ \tcbset
+ {
+ label = {#1\l__tcobox_theo_label_separator_tl#2},
+ tcb@theo@full@label@supp = {#1\l__tcobox_theo_label_separator_tl#2},
+ tcb@theo@label@supp = {#2}
+ }
+ }
+ },
+ theorem/.style~n~args = {4}
+ {
+ step~and~label={#2}{#4},
+ title={\__tcobox_theo_title:nnn{#1}{\cs:w the#2\cs_end:}{#3}}
+ },
+ theorem~name~and~number/.code =
+ {
+ \cs_set_eq:NN \__tcobox_theo_format:nn \__tcobox_theo_format_name_number:nn
+ },
+ theorem~number~and~name/.code =
+ {
+ \cs_set_eq:NN \__tcobox_theo_format:nn \__tcobox_theo_format_number_name:nn
+ },
+ theorem~name/.code =
+ {
+ \cs_set_eq:NN \__tcobox_theo_format:nn \use_i:nn
+ },
+ theorem~number/.code =
+ {
+ \cs_set_eq:NN \__tcobox_theo_format:nn \use_ii:nn
+ },
+ separator~sign/ .tl_set:N = \l__tcobox_theo_separatorsign_tl,
+ terminator~sign/ .tl_set:N = \l__tcobox_theo_terminatorsign_tl,
+ label~separator/ .tl_set:N = \l__tcobox_theo_label_separator_tl,
+ theorem~hanging~indent/ .tl_set:N = \l__tcobox_theo_hanging_indent_tl,
+ theorem~hanging~indent/.default=auto,
+ description~delimiters/.code~n~args = {2}
+ {
+ \tl_set:Nn \l__tcobox_theo_description_delimiter_left_tl { #1 }
+ \tl_set:Nn \l__tcobox_theo_description_delimiter_right_tl { #2 }
+ },
+ description~color/.code =
+ {
+ \tl_if_empty:nTF { #1 }
+ {
+ \tl_clear:N \l__tcobox_theo_description_color_tl
+ }
+ {
+ \tl_set:Nn \l__tcobox_theo_description_color_tl { \color{#1} }
+ }
+ },
+ description~color/.default=,
+ description~font/.tl_set:N = \l__tcobox_theo_description_font_tl,
+ description~font/.default =,
+ description~formatter/.code =
+ {
+ \cs_set_eq:NN \__tcobox_theo_format_description:n #1
+ },
+ description~formatter/.default = \__tcobox_theo_format_description_standard:n,
+ }
+
+\ExplSyntaxOff
+
+
+\newtcbox{\tcboxmath}[1][]{nobeforeafter,math upper,tcbox raise base,#1}
+\newtcbox{\tcbhighmath}[1][]{highlight math,nobeforeafter,math upper,tcbox raise base,#1}
+
+
+\def\tcb@hack@amsmath{\tcb@hack@currenvir\vskip-\abovedisplayskip}
\if@fleqn%
\tcbset{%
@@ -74,9 +248,6 @@
\fi
\tcbset{
- theorem/.style args={#1#2#3#4}{%
- step and label={#2}{#4},%
- title={\letcs\tcb@temp{the#2}\tcb@theo@title{#1}{\tcb@temp}{#3}}},%
math upper/.style={before upper*=$\displaystyle,after upper*=$},%
math lower/.style={before lower*=$\displaystyle,after lower*=$},%
math/.style={math upper,math lower},%
@@ -98,28 +269,14 @@
ams nodisplayskip lower/.style={before lower=\vskip-\abovedisplayskip},%
ams nodisplayskip/.style={ams nodisplayskip upper,ams nodisplayskip lower},%
highlight math style/.style={highlight math/.style={notitle,nophantom,#1}},%
- separator sign/.store in=\kvtcb@separatorsign,%
separator sign colon/.style={separator sign={:}},%
- separator sign dash/.style={separator sign={\ --}},%
+ separator sign dash/.style={separator sign={\nobreakspace --}},%
separator sign none/.style={separator sign=},%
- terminator sign/.store in=\kvtcb@terminatorsign,%
terminator sign colon/.style={terminator sign={:}},%
- terminator sign dash/.style={terminator sign={\ --}},%
+ terminator sign dash/.style={terminator sign={\nobreakspace --}},%
terminator sign none/.style={terminator sign=},%
- label separator/.store in=\kvtcb@label@sep,%
- description delimiters/.code n args={2}{\def\kvtcb@desc@delim@left{#1}\def\kvtcb@desc@delim@right{#2}},%
description delimiters parenthesis/.style={description delimiters=()},
description delimiters none/.style={description delimiters={}{}},
- description color/.code={\def\temp@a{#1}\ifx\temp@a\@empty\relax%
- \def\tcb@desc@col{}\else\def\tcb@desc@col{\color{#1}}\fi},%
- description color/.default=,
- description font/.store in=\kvtcb@desc@font,
- description font/.default=,
- description formatter/.code={\let\tcb@theo@desc@form=#1},%
- description formatter/.default={\tcb@theo@desc@form@std},%
- theorem name and number/.code={\let\tcb@theo@form=\tcb@theo@form@namenumber},
- theorem number and name/.code={\let\tcb@theo@form=\tcb@theo@form@numbername},
- theorem name/.code={\let\tcb@theo@form=\tcb@theo@form@name},
theorem style/.is choice,
theorem style/standard/.style={separator sign colon,description delimiters none,
terminator sign none,theorem name and number,attach title},
@@ -137,45 +294,8 @@
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][]{%
- \@@newtcolorbox[auto counter,#1]{#2}[3][]{#4,%
- title={\tcb@theo@title{#3}{\thetcbcounter}{##2}},%
- list entry={\protect\numberline{\thetcbcounter}##2},%
- nameref={##2},%
- code={\tcb@theo@label{#5}{##3}},%
- ##1}%
- \@@newtcolorbox[#1,no counter,list inside=]{#2*}[2][]{#4,%
- title={\tcb@theo@title{#3}{\@empty}{##2}},%
- ##1}%
}
-\def\newtcbtheorem{\let\@@newtcolorbox\newtcolorbox%
- \new@tcbtheorem}
-
-\def\renewtcbtheorem{\let\@@newtcolorbox\renewtcolorbox%
- \new@tcbtheorem}
-
-\newtcbox{\tcboxmath}[1][]{nobeforeafter,math upper,tcbox raise base,#1}
-\newtcbox{\tcbhighmath}[1][]{highlight math,nobeforeafter,math upper,tcbox raise base,#1}
\tcbset{%
reset@theorems/.style={%
@@ -188,7 +308,3 @@
initialize@reset=reset@theorems,
}
-% DEPRECATED
-\newcommand{\tcbmaketheorem}[5]{%
- \newtcolorbox{#1}[3][]{#3,theorem={#2}{#4}{##2}{#5\kvtcb@label@sep##3},##1}%
-}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
index 2dd113a57c8..56a837171e0 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbvignette.code.tex: Code for ornamental frames
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.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 e07be17169f..cdefe0ab270 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcbxparse.code.tex: Code for xparse features
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{4.51}
+\tcb@set@library@version{5.0.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 47a03bc0cbc..a60f658eb30 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 4.51 (2021/06/14)
+%% The LaTeX package tcolorbox - version 5.0.0 (2021/12/16)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tcolorbox}[2021/06/14 version 4.51 text color boxes]
-\def\tcb@version{4.51}
+\ProvidesPackage{tcolorbox}[2021/12/16 version 5.0.0 text color boxes]
+\def\tcb@version{5.0.0}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -42,6 +42,8 @@
\newif\iftcb@ignorenobreak
\newif\iftcb@checkpage
\newif\iftcb@resetcounteronoverlays
+\newif\iftcb@wrap@environment
+\newif\iftcb@isbreakable
\newbox\tcb@titlebox
\newbox\tcb@upperbox
@@ -90,7 +92,7 @@
\tcbset{autoparskip}%
}
-\def\tcb@hack@currenvir{\edef\tcb@temp{\noexpand\def\noexpand\@currenvir{\kvtcb@savedelimiter}}\tcb@temp}
+\def\tcb@hack@currenvir{\edef\@currenvir{\kvtcb@savedelimiter}}
\def\tcb@sbs@quota@leftwidth{%
\tcbdimto\tcb@w@upper{\kvtcb@sbs@ratio}%
@@ -132,6 +134,13 @@
\pgfkeys{/handlers/.dimstore in/.code=\pgfkeysalso{\pgfkeyscurrentpath/.code=\def#1{\the\dimexpr##1\relax}}}
\pgfkeys{/handlers/.colorlet/.code=\pgfkeysalso{\pgfkeyscurrentpath/.code=\colorlet{#1}{##1}}}
+\ExplSyntaxOn
+
+\pgfkeys{/handlers/.tl_set:N/.code=\pgfkeysalso{\pgfkeyscurrentpath/.code=\tl_set:Nn#1{##1}}}
+
+\ExplSyntaxOff
+
+
\newcommand\tcbtitle{\ifx\tcbtitletext\@empty\else%
\leavevmode{\color{tcbcoltitle}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@before@title\tcbtitletext\kvtcb@after@title}\fi}
@@ -708,15 +717,17 @@
lefthand ratio/.code={\def\kvtcb@sbs@ratio{#1}\let\tcb@sbs@quota=\tcb@sbs@quota@leftratio},
righthand ratio/.code={\def\kvtcb@sbs@ratio{#1}\let\tcb@sbs@quota=\tcb@sbs@quota@rightratio},
breakable@false/.code={%
- \let\tcb@savebox=\tcb@lrbox%
- \let\endtcb@savebox=\endtcb@lrbox%
+ \tcb@isbreakablefalse%
\let\tcb@defToTotalHeight=\tcb@defToTotalHeightStandard%
- \let\tcb@drawcolorbox=\tcb@drawcolorbox@standalone%
- \def\tcb@upperdraw@begin@hook{\color{tcbcolupper}}%
- \def\tcb@lowerdraw@begin@hook{\color{tcbcollower}}%
},
code/.code={#1},
- capture/.store in=\kvtcb@capture,%
+ capture/.code={%
+ \def\kvtcb@capture{#1}%
+ \ifcsname tcb@@capture@\kvtcb@capture\endcsname\else%
+ \tcb@error{Unknown capture mode `\kvtcb@capture'. Use `minipage', `hbox', or `fitbox'}{}%
+ \def\kvtcb@capture{minipage}%
+ \fi%
+ },%
hbox/.style={capture=hbox},%
minipage/.style={capture=minipage},%
void/.style={capture=v@@d,capture/.code=,options@for/.code=,code={\def\tcbinputlisting@core{}}},
@@ -808,16 +819,12 @@
verbatim ignore percent/true/.code={\def\tcb@verbatim@change@percent{\catcode`\^^e=9}},
verbatim ignore percent/false/.code={\let\tcb@verbatim@change@percent\@empty},
verbatim ignore percent/.default=true,
+ wrap@environment/.is if=tcb@wrap@environment,
}
\def\kvtcb@beforebox{}
\def\kvtcb@afterbox{}
-\tcbset{%
- autoparskip,minipage,savedelimiter=tcolorbox,%
- set@extensions@preframe=,set@extensions@postframe=,set@extensions@final=,%
-}%
-
\def\tcb@set@label#1{%
\ifx\kvtcb@label@type\@empty%
\label{#1}%
@@ -1031,8 +1038,29 @@
}
\def\tcb@@capture@hbox{%
- \let\endtcolorbox=\relax%
- \Collect@Body\tcbox@inner@hbox@collected%
+ \let\endtcolorbox\relax%
+ \iftcb@wrap@environment%
+ \expandafter\@firstoftwo%
+ \else%
+ \expandafter\@secondoftwo%
+ \fi%
+ {\begingroup\tcb@hack@currenvir%
+ \Collect@Body\tcbox@inner@hbox@collected@for@wrapping}%
+ {\Collect@Body\tcbox@inner@hbox@collected}%
+}
+
+\long\def\tcbox@inner@hbox@collected@for@wrapping#1\end#2{%
+ \endgroup%
+ \let\tcb@end@tcolorboxenvironment\relax%
+ \tcbox@inner@hbox@collected{#1\end{#2}}%
+ \end{tcolorbox}%
+}
+
+% will be overwritten in `fitting` library
+\def\tcb@@capture@fitbox{%
+ \tcb@error{You need to load `fitting' library to use capture mode `fitbox'}{}%
+ % fallback
+ \tcb@@capture@minipage%
}
% save 'comment' from 'verbatim'
@@ -1055,7 +1083,7 @@
}
\def\tcb@count@boxes{%
- \global\advance\c@tcolorbox@number by 1\relax%
+ \global\advance\c@tcolorbox@number 1\relax%
\edef\thetcolorboxnumber{\number\c@tcolorbox@number}%
\expandafter\ifx\csname tcolorboxpage@\thetcolorboxnumber\endcsname\relax%
\edef\thetcolorboxpage{\number\c@page}%
@@ -1097,10 +1125,10 @@
\def\tcb@managed@layers@max{0}
\def\tcbsetmanagedlayers#1{%
- \setcounter{tcblayer}{\tcb@managed@layers@max}%
+ \global\c@tcblayer\tcb@managed@layers@max\relax%
\ifnum\c@tcblayer<#1\relax%
\loop
- \stepcounter{tcblayer}%
+ \global\advance\c@tcblayer 1\relax%
\newbox\tcb@temp%
\cslet{tcb@footnote@\romannumeral\c@tcblayer}{\tcb@temp}%
\tcbset{every box on layer \number\c@tcblayer/.style={reset,every box}}
@@ -1108,7 +1136,7 @@
\else%
\fi%
\xdef\tcb@managed@layers@max{#1}%
- \setcounter{tcblayer}{0}%
+ \global\c@tcblayer 0\relax%
}
\@onlypreamble\tcbsetmanagedlayers
\tcbsetmanagedlayers{4}%
@@ -1121,7 +1149,7 @@
\def\tcb@layer@inc{%
\tcb@count@boxes%
- \stepcounter{tcblayer}%
+ \global\advance\c@tcblayer 1\relax%
\ifnum\c@tcblayer>1\relax%
\tcbset{breakable@true/.code=}%
\else%
@@ -1138,8 +1166,8 @@
\def\tcb@layer@pushup{%
\tcb@count@boxes%
- \global\advance\c@tcolorbox@number by -1\relax%
- \stepcounter{tcblayer}%
+ \global\advance\c@tcolorbox@number -1\relax%
+ \global\advance\c@tcblayer 1\relax%
\ifnum\c@tcblayer>1\relax%
\tcbset{breakable@true/.code=}%
\else%
@@ -1152,7 +1180,7 @@
\tcbset{every box on layer \number\c@tcblayer}%
\tcbset{every box on layer \number\c@tcblayer/.code=}%
\fi%
- \addtocounter{tcblayer}{-1}%
+ \global\advance\c@tcblayer -1\relax%
}
\def\tcb@layer@dec{%
@@ -1161,17 +1189,34 @@
\expandafter\global\setbox\@mpfootins\box\csname tcb@footnote@\romannumeral\c@tcblayer\endcsname%
\setcounter{mpfootnote}{\csname tcb@footnote@cnt@\romannumeral\c@tcblayer\endcsname}%
\fi%
- \addtocounter{tcblayer}{-1}%
+ \global\advance\c@tcblayer -1\relax%
}
\let\tcbtextheight\tcb@zpt%
+\def\tcb@init@breakable{}
+
+\def\tcb@init@unbreakable{%
+ \let\tcb@savebox=\tcb@lrbox%
+ \let\endtcb@savebox=\endtcb@lrbox%
+ \let\tcb@drawcolorbox=\tcb@drawcolorbox@standalone%
+ \def\tcb@upperdraw@begin@hook{\color{tcbcolupper}}%
+ \def\tcb@lowerdraw@begin@hook{\color{tcbcollower}}%
+}%
+
\long\def\tcb@apply@box@options#1{%
\let\tcb@space\tcb@zpt%
\let\tcb@outer@textheight\tcbtextheight%
\let\tcbtextheight\tcb@zpt%
\let\tcbtextwidth\tcb@zpt%
- \tcbset{#1}\tcb@lateoptions@hook\tcb@afteroptions@hook%
+ \tcbset{#1}%
+ \tcb@lateoptions@hook\let\tcb@lateoptions@hook\@empty%
+ \tcb@afteroptions@hook%
+ \iftcb@isbreakable%
+ \tcb@init@breakable%
+ \else%
+ \tcb@init@unbreakable%
+ \fi%
\let\iftcb@minipage\if@minipage%
\let\iftcb@nobreak\if@nobreak%
}
@@ -2041,8 +2086,13 @@
\tcb@process@newenvironment}
\newcommand{\tcolorboxenvironment}[2]{%
- \BeforeBeginEnvironment{#1}{\begin{tcolorbox}[savedelimiter={#1},#2]}%
- \AfterEndEnvironment{#1}{\end{tcolorbox}}%
+ \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%
+ }%
}
% auxiliary code to remove a leading backspace
@@ -2299,12 +2349,17 @@
list entry=,no label type,
opacityupper=1.0,opacitylower=1.0,opacitytitle=1.0,opacityframe=1.0,opacityback=1.0,@opacitybacktitle=1.0,
subtitle style=,title filled=false,every float=,ignore nobreak=false,before nobreak=\noindent,
- tcbox width=auto,
+ tcbox width=auto,wrap@environment=false,
},
initialize@reset=reset@core,
shield externalize=false,
}
+\tcbset{%
+ autoparskip,minipage,savedelimiter=tcolorbox,%
+ set@extensions@preframe=,set@extensions@postframe=,set@extensions@final=,%
+}%
+
\def\tcbsetforeverylayer#1{\tcbset{initialize@reset={#1}}}
% libraries