From c8aaf5923479f61c01270f4c3ec39e9967632ee3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 12 Jan 2018 22:36:11 +0000 Subject: tcolorbox (12jan18) git-svn-id: svn://tug.org/texlive/trunk@46292 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tcolorbox/CHANGES | 11 +++- Master/texmf-dist/doc/latex/tcolorbox/README | 2 +- .../latex/tcolorbox/tcolorbox-example-poster.pdf | Bin 273832 -> 274157 bytes .../latex/tcolorbox/tcolorbox-example-poster.tex | 4 +- .../doc/latex/tcolorbox/tcolorbox-example.pdf | Bin 457474 -> 457686 bytes .../doc/latex/tcolorbox/tcolorbox-example.tex | 4 +- .../latex/tcolorbox/tcolorbox-tutorial-poster.pdf | Bin 442470 -> 442941 bytes .../latex/tcolorbox/tcolorbox-tutorial-poster.tex | 4 +- .../latex/tcolorbox/tcolorbox.doc.coreoptions.tex | 4 +- .../doc/latex/tcolorbox/tcolorbox.doc.theorems.tex | 57 +++++++++++++++++++++ .../texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf | Bin 6516391 -> 6532055 bytes .../texmf-dist/doc/latex/tcolorbox/tcolorbox.tex | 10 ++-- .../tex/latex/tcolorbox/tcbbreakable.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbdocumentation.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbexternal.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbfitting.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbhooks.code.tex | 6 +-- .../tex/latex/tcolorbox/tcblistings.code.tex | 6 +-- .../tex/latex/tcolorbox/tcblistingscore.code.tex | 6 +-- .../tex/latex/tcolorbox/tcblistingsutf8.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbmagazine.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbminted.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbposter.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbprocessing.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbraster.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbskins.code.tex | 18 +++---- .../tex/latex/tcolorbox/tcbskinsjigsaw.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbtheorems.code.tex | 20 +++++--- .../tex/latex/tcolorbox/tcbvignette.code.tex | 6 +-- .../tex/latex/tcolorbox/tcbxparse.code.tex | 6 +-- .../texmf-dist/tex/latex/tcolorbox/tcolorbox.sty | 12 ++--- 31 files changed, 156 insertions(+), 86 deletions(-) diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index 508dae71cbe..2c62fb3824e 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm @@ -1026,3 +1026,12 @@ version 4.10 (2017/07/05) version 4.11 (2017/09/14) - Standard internal minipage settings changed from 'c' to 'b' which should fix some glitches + +version 4.12 (2018/01/12) +- color implementation changed to fix problems with expl3 (thanks to Ulrike Fischer) +- Documentation typo corrected ('tcbsetmanagedlayers' instead of 'tcbsetmanagedlayer') +- Bug fix: 'borderline south' and 'borderline north' created 'Missing character' + messages for breakable boxes +- library 'theorems': + * new options 'theorem label supplement', 'theorem full label supplement' + diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 28db73f0b8a..04e9868d1ca 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/README +++ b/Master/texmf-dist/doc/latex/tcolorbox/README @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm 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 a0aebad038f..de9a16bb061 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf 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 5b66c7c610c..0dc452d3cfb 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcolorbox-example-poster.tex: a poster example for tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf index 4cbf72cdde5..df144566c4a 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index 3672ea9b2c8..0d8f5532c73 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the 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 b43cc6e99c5..fa684589f38 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf 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 6a8b4b656a6..551b80c6416 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex @@ -1,9 +1,9 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the 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 893b929d5c0..d47f38d77c0 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -3456,7 +3456,7 @@ Here, footnote texts are administrated to find their intended place and specific layer dependent options may be set by changing \refKey{/tcb/every box on layer n}. If needed, the number of managed layers can be increased by setting -\refCom{tcbsetmanagedlayer} to a higher value than~4. +\refCom{tcbsetmanagedlayers} to a higher value than~4. The following styles have a considerable influence on how layered boxes are processed. Note especially that nested boxes are getting a @@ -3536,7 +3536,7 @@ managed layer number (4 by default). \end{docTcbKey} -\begin{docCommand}{tcbsetmanagedlayer}{\marg{number}} +\begin{docCommand}{tcbsetmanagedlayers}{\marg{number}} Replaces the highest managed layer number by \meta{number} where 4 is the default. This macro can only be used inside the preamble. Using a \meta{number} lower than 4 typically makes no sense, but is 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 1181b9570f7..df9f8974015 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex @@ -383,6 +383,63 @@ See Example~\ref{theo*myex}. \end{docTcbKey} +\clearpage + +\begin{docTcbKey}[][doc new=2018-01-12]{theorem full label supplement}{=\marg{style}}{no default, initially empty} + The given \meta{style} is used in connection with labels created with environments which + are defined themselves by \refCom{newtcbtheorem}. + This \meta{style} uses one argument which is automatically set to the + full label marker of the environment, i.e. a text consisting of + \meta{prefix} (defined by \refCom{newtcbtheorem}), + \refKey{/tcb/label separator}, + and \meta{marker} (defined by an actual theorem environment). + +\begin{dispExample} +% The following adds a hyper target to all environments +% created with \newtcbtheorem +\tcbset{theorem full label supplement={hypertarget={#1}}} + +\newtcbtheorem[use counter from=mytheo]{sometheorem}{Theorem}% + {colback=white,colframe=red!50!black,fonttitle=\bfseries}{theo} +\begin{sometheorem}{My example}{myex2} +My theorem text. +\end{sometheorem} +This automated \hyperlink{theo:myex2}{hyper target can be linked to with a + hyper link}. +\end{dispExample} + +A second usage of \refKey{/tcb/theorem full label supplement} overwrites +the first setting. +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2018-01-12]{theorem label supplement}{=\marg{style}}{no default, initially empty} + The given \meta{style} is used in connection with labels created with environments which + are defined themselves by \refCom{newtcbtheorem}. + This \meta{style} uses one argument which is automatically set to the + label \meta{marker} defined by an actual theorem environment.\par + A second usage of \refKey{/tcb/theorem label supplement} overwrites + the first setting, but + \refKey{/tcb/theorem full label supplement} + and \refKey{/tcb/theorem label supplement} can be used independently. + +\begin{dispExample} +% 'marginnote' has to be loaded +\newtcbtheorem[use counter from=mytheo]{sometheorem}{Theorem}% + {colback=white,colframe=red!50!black,fonttitle=\bfseries, + theorem label supplement={hypertarget={XYZ-##1}}, + theorem full label supplement={code={\marginnote{##1}}} + }{theo} +\begin{sometheorem}{My example}{myex3} +My theorem text. +\end{sometheorem} +This automated \hyperlink{XYZ-myex3}{hyper target can be linked to with a + hyper link}. +\end{dispExample} +\end{docTcbKey} + + + \clearpage \begin{docTcbKey}{theorem name and number}{}{style, no value, initially set} Prints theorem name followed by theorem number inside the title. diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf index c55c57600e0..90b394baad6 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf differ diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex index e91cc31170f..a4492686df2 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex @@ -1,9 +1,9 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -43,8 +43,8 @@ \setlength{\bibitemsep}{\smallskipamount} \addbibresource{tcolorbox.doc.bib} -\def\version{4.11}% -\def\datum{2017/09/14}% +\def\version{4.12}% +\def\datum{2018/01/12}% \makeindex \hypersetup{ @@ -58,7 +58,7 @@ %\tcbset{draftmode} \tcbset{/tcb/external/-}% for final run -%\includeonly{tcolorbox.doc.fitting} +%\includeonly{tcolorbox.doc.theorems} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index 92e38c25494..c6129c12dee 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \let\tcb@parboxrestore@true=\tcb@parboxrestore \let\tcb@parboxrestore@false\tcb@parbox@false@settings diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index 7091c231d6a..27a807d9159 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \tcbuselibrary{listings,skins,xparse,external} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 990dbf44b80..9fd9b69ff83 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 826818b38d4..1f4e21906de 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex index 4750103047f..15411be5749 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 1c8e2a6b117..0ce01409a8e 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 83ef1f505bc..7119462ba9e 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 69851dd23c6..58fe13d458c 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \RequirePackage{listingsutf8}[2011/11/10] \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 d9c6fb88ac9..160f5e7b6c2 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 c3161668beb..0fb6ec8d9c7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \RequirePackage{minted}[2011/09/17] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex index b10775bda29..0b43615daf6 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 8eb04a6ed4b..bda9545effb 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 21fd5fb2d99..74a16baa0b5 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index 37982980db1..90119646a62 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \RequirePackage{tikz}[2010/10/13] @@ -1443,9 +1443,9 @@ \draw[line width=#1,#3] ([yshift=-\tcb@border@ts]frame.north west) -- ([yshift=-\tcb@border@ts]frame.north east);% } -\def\tcb@bordernorth{% - \ifdefstring{\tcb@split@state}{unbroken}{\tcb@bordernorth@draw}{% - \ifdefstring{\tcb@split@state}{first}{\tcb@bordernorth@draw}{}}% +\def\tcb@bordernorth#1#2#3{% + \ifdefstring{\tcb@split@state}{unbroken}{\tcb@bordernorth@draw{#1}{#2}{#3}}{% + \ifdefstring{\tcb@split@state}{first}{\tcb@bordernorth@draw{#1}{#2}{#3}}{}}% } \def\tcb@bordersouth@draw#1#2#3{% @@ -1453,9 +1453,9 @@ \draw[line width=#1,#3] ([yshift=\tcb@border@ts]frame.south west) -- ([yshift=\tcb@border@ts]frame.south east);% } -\def\tcb@bordersouth{% - \ifdefstring{\tcb@split@state}{unbroken}{\tcb@bordersouth@draw}{% - \ifdefstring{\tcb@split@state}{last}{\tcb@bordersouth@draw}{}}% +\def\tcb@bordersouth#1#2#3{% + \ifdefstring{\tcb@split@state}{unbroken}{\tcb@bordersouth@draw{#1}{#2}{#3}}{% + \ifdefstring{\tcb@split@state}{last}{\tcb@bordersouth@draw{#1}{#2}{#3}}{}}% } \def\tcb@borderwest#1#2#3{% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index c5834a9fb60..ec1180d05cd 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 b8bb5b8da1e..8d666acced7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \RequirePackage{amsmath} @@ -51,7 +51,8 @@ \def\temp@a{#2}% \ifx\temp@a\@empty% \else% - \tcbset{label={#1\kvtcb@label@sep#2}}% + \tcbset{label={#1\kvtcb@label@sep#2},% + tcb@theo@full@label@supp={#1\kvtcb@label@sep#2},tcb@theo@label@supp={#2}}% \fi% } @@ -133,6 +134,8 @@ theorem style/margin/.style={theorem style=plain,theorem name,before title=\makebox[0pt][r]{\thetcbcounter\ }}, theorem style/margin apart/.style={theorem style=margin,attach title,terminator sign none}, 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}}, } \newcommand{\new@tcbtheorem}[5][]{% @@ -153,10 +156,6 @@ \def\renewtcbtheorem{\let\@@newtcolorbox\renewtcolorbox% \new@tcbtheorem} -\newcommand{\tcbmaketheorem}[5]{% - \newtcolorbox{#1}[3][]{#3,theorem={#2}{#4}{##2}{#5\kvtcb@label@sep##3},##1}% -} - \newtcbox{\tcboxmath}[1][]{nobeforeafter,math upper,tcbox raise base,#1} \newtcbox{\tcbhighmath}[1][]{highlight math,nobeforeafter,math upper,tcbox raise base,#1} @@ -165,7 +164,12 @@ description formatter,description color,description font, highlight math style={colframe=red,colback=yellow!25!white},% theorem style=standard,label separator=:,% + theorem label supplement=,theorem full label supplement=,% }, 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 fa0ffd17b07..4de697b72f7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 7194fb78179..2a862879679 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.11} +\tcb@set@library@version{4.12} \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 51df4d00710..76e1313224a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 4.11 (2017/09/14) +%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2017/09/14 version 4.11 text color boxes] -\def\tcb@version{4.11} +\ProvidesPackage{tcolorbox}[2018/01/12 version 4.12 text color boxes] +\def\tcb@version{4.12} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -872,13 +872,13 @@ } \def\tcb@set@color#1{% - \letcs{\current@color}{\string\color@#1}% + \edef\current@color{\@nameuse{\string\color@#1}}% \colorlet{.}{#1}% } \def\tcb@reset@color{% \colorlet{.}{tcbcol@origin}% - \letcs{\current@color}{\string\color@tcbcol@origin}% + \edef\current@color{\@nameuse{\string\color@tcbcol@origin}}% } \def\tcb@set@@upper@and@lower{% -- cgit v1.2.3