summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-23 22:29:26 +0000
committerKarl Berry <karl@freefriends.org>2013-07-23 22:29:26 +0000
commit393d6ac7f30401efc47612d4f4322910f32fcee5 (patch)
tree2d181466a6ff19d1c4518e7d1e2853c453baf887 /Master
parentf59ca1d9cbe7adbdacee09b1da37ca357965c0c9 (diff)
tcolorbox (23jul13)
git-svn-id: svn://tug.org/texlive/trunk@31275 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/CHANGES16
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/README2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdfbin274565 -> 280582 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex19
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib8
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex6
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex21
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.fitting.tex6
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex19
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex30
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex79
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdfbin2821113 -> 2854565 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex13
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex8
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex36
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex18
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty43
22 files changed, 265 insertions, 79 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
index c05aa0ba06d..183e401167c 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2013 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
@@ -287,3 +287,17 @@ version 2.40 (2013/07/15)
* new macros '\refCom*', '\refEnv*', '\refKey*'
* docCommand and docEnvironment take options now
+version 2.41 (2013/07/23)
+- NOTE: The deprecated macro '\tcbmaketheorem' is redefined to its signature
+ of v2.33 and before to ensure backward compatibility. This may break code
+ written with v2.40 using '\tcbmaketheorem'.
+- minor internal improvements
+- support for the cleveref package with
+ * new initialization options 'crefname', 'Crefname'
+ * new options 'label type', 'no label type'
+- library 'theorems':
+ * new options: 'separator sign', 'separator sign colon', 'separator sign dash'
+- library 'listings':
+ * capture mode can be changed for 'tcblisting' and '\tcbinputlisting'
+ * new option: 'listing remove caption'
+
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README
index 822c82956fe..3b9c7cd1ec1 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2013 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
index cb6a19c21c3..4352b1219e8 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 31e236008de..bdca33ba0c2 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% tcolorbox-example.tex: an example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
@@ -116,6 +116,23 @@ We have given Theorem \ref{theorem:summation} on page \pageref{theorem:summation
\end{tcolorbox}
%----------------------------------------------------------
+\section{Boxes in boxes}
+\begin{tcolorbox}[colback=yellow!10!white,colframe=yellow!50!black,
+ every box/.style={fonttitle=\bfseries},title=Box]
+ \begin{tcolorbox}[enhanced,colback=red!10!white,colframe=red!50!black,
+ colbacktitle=red!85!black,
+ title=Box inside box,drop fuzzy shadow]
+ \begin{tcolorbox}[beamer,colframe=blue!50!black,title=Box inside box inside box]
+ An now for something completely different: Boxes!\par\medskip
+ \newtcbox{\mybox}{nobeforeafter,tcbox raise base,colframe=green!50!black,colback=green!10!white,arc=0pt}
+ \mybox{This} \mybox{is} \mybox{another} \mybox{box.}
+ \end{tcolorbox}
+ \end{tcolorbox}
+\end{tcolorbox}
+
+
+
+%----------------------------------------------------------
\section{Breakable Boxes}
\begin{tcolorbox}[enhanced,breakable,
colback=blue!5!white,colframe=blue!75!black,title=Breakable box,
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib
index d222847b8ad..05e8cc7d120 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib
@@ -130,3 +130,11 @@
date = {2011-01-03},
}
+
+@manual{cubitt:2013a,
+ author = {Toby Cubitt},
+ title = {The cleveref Package},
+ url = {http://mirror.ctan.org/macros/latex/contrib/cleveref/cleveref.pdf},
+ date = {2013-03-22},
+}
+
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex
index 95c117a5059..45801e6b456 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex
@@ -155,10 +155,10 @@ numbered title and options.
\clearpage
-\begin{docCommand}{newtcbox}{\oarg{init options}\marg{\texttt{\textbackslash}name}\oarg{number}\oarg{default}\marg{options}}
- Creates a new macro \meta{\texttt{\textbackslash}name} based on \refCom{tcbox}.
+\begin{docCommand}{newtcbox}{\oarg{init options}\brackets{\texttt{\textbackslash}\rmfamily\meta{name}}\oarg{number}\oarg{default}\marg{options}}
+ Creates a new macro \texttt{\textbackslash}\meta{name} based on \refCom{tcbox}.
Basically, |\newtcbox| operates like |\newcommand|.
- The new macro \meta{\texttt{\textbackslash}name} optionally takes \meta{number}$+1$ arguments, where
+ The new macro \texttt{\textbackslash}\meta{name} optionally takes \meta{number}$+1$ arguments, where
\meta{default} is the default value for the optional first argument.
The \meta{options} are given to the underlying |tcbox|.
The \meta{init options} allow to set up automatic numbering,
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 c96326f8f5e..159b5112672 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
@@ -2169,12 +2169,25 @@ Removes the phantom code if set before.
\end{docTcbKey}
\begin{docTcbKey}{label}{=\meta{marker}}{no default, initially unset}
-Shortcut for |phantom={\label{#1}}|. The \meta{marker} is set as label text
-for a reference with the |\ref| macro.
+The \meta{marker} is set as label text for a reference with the |\ref| macro.
Typically, this option is used for numbered boxes, see Subsection \ref{sec:numberedboxes}
from page \pageref{sec:numberedboxes}, e.\,g.\ \refKey{/tcb/new/auto counter}.
\end{docTcbKey}
+\begin{docTcbKey}{label type}{=\meta{type}}{no default, initially unset}
+This option key can be used only in conjunction with the |cleveref| package
+\cite{cubitt:2013a} which has to be loaded separately.
+\meta{type} has to be a cross-reference type \emph{known} to |cleveref|
+like |theorem|, |algorithm|, |result|, etc. References made with |cleveref|
+will use this type. Note that using |label type| will result in compilation
+errors, if |cleveref| is not loaded.
+For an example, see \Vref{theo:meanvaluetheorem}.
+\end{docTcbKey}
+
+\begin{docTcbKey}{no label type}{}{no value, initially set}
+Removes a \refKey{/tcb/label type}, if set before.
+\end{docTcbKey}
+
\begin{docTcbKey}{step}{=\meta{counter}}{no default, initially unset}
Shortcut for |phantom={\refstepcounter{#1}}|. The given \meta{counter} is
increased and ready for labelling. This option is not needed when
@@ -2191,6 +2204,7 @@ from page \pageref{sec:numberedboxes}.
\end{docTcbKey}
+\clearpage
\begin{docTcbKey}{list entry}{=\meta{text}}{no default, initially unset}
If the \flqq list of tcolorbox(es)\frqq\ feature described in Subsection
\ref{sec:listsof} from page \pageref{sec:listsof} is used, this key
@@ -2212,7 +2226,6 @@ This issues:\\
\end{docTcbKey}
-\clearpage
\begin{docTcbKey}{check odd page}{\colOpt{=\meta{boolean value}}}{default |true|, initially |false|}
If set to |true|, the even/odd page testing from the package |changepage|
is applied. The \refKey{/tcb/toggle enlargement} check
@@ -2238,7 +2251,7 @@ box content.
% \usepackage{changepage}
\tcbset{colframe=blue!75!black,colback=white}
-\begin{tcolorbox}[enhanced,
+\begin{tcolorbox}[enhanced,check odd page,
watermark text={\ifoddpage Odd\else Even\fi\ page!}]
\lipsum[1]
\end{tcolorbox}
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.fitting.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.fitting.tex
index e3afeacb0f5..48cc75048ab 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.fitting.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.fitting.tex
@@ -36,10 +36,10 @@ The library is loaded by a package option or inside the preamble by:
\end{docCommand}
-\begin{docCommand}{newtcboxfit}{\oarg{init options}\marg{\texttt{\textbackslash}name}\oarg{number}\oarg{default}\marg{options}}
- Creates a new macro \meta{\texttt{\textbackslash}name} based on \refCom{tcboxfit}.
+\begin{docCommand}{newtcboxfit}{\oarg{init options}\brackets{\texttt{\textbackslash}\rmfamily\meta{name}}\oarg{number}\oarg{default}\marg{options}}
+ Creates a new macro \texttt{\textbackslash}\meta{name} based on \refCom{tcboxfit}.
Basically, |\newtcboxfit| operates like |\newcommand|.
- The new macro \meta{\texttt{\textbackslash}name} optionally takes \meta{number}$+1$ arguments, where
+ The new macro \texttt{\textbackslash}\meta{name} optionally takes \meta{number}$+1$ arguments, where
\meta{default} is the default value for the optional first argument.
The \meta{options} are given to the underlying |tcboxfit|.
The \meta{init options} allow to set up automatic numbering,
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex
index e1335c1f5db..e8ca304eb37 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex
@@ -142,6 +142,25 @@ The real counter name is \texttt{\tcbcounter}.
\end{dispExample}
\end{newTcbKey}
+\clearpage
+\begin{newTcbKey}{crefname}{=\marg{singular}\marg{plural}}{no default, initially unset}
+ This option key can be used only in conjunction with the |cleveref| package
+ \cite{cubitt:2013a} which has to be loaded separately.
+ It creates a cross-reference type for the new |tcolorbox|'es, where the
+ lowercase \meta{singular} and \meta{plural} forms of the cross-reference are given.
+ See \refKey{/tcb/label type} and \cite{cubitt:2013a} for more information.
+\end{newTcbKey}
+
+
+\begin{newTcbKey}{Crefname}{=\marg{singular}\marg{plural}}{no default, initially unset}
+ This option key can be used only in conjunction with the |cleveref| package
+ \cite{cubitt:2013a} which has to be loaded separately.
+ It creates a cross-reference type for the new |tcolorbox|'es, where the
+ uppercase \meta{singular} and \meta{plural} forms of the cross-reference are given.
+ See \refKey{/tcb/label type} and \cite{cubitt:2013a} for more information.
+\end{newTcbKey}
+
+
\clearpage
\subsection{Lists of \texttt{tcolorbox}es}\label{sec:listsof}
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 6bbac3e8cb5..544afba872b 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
@@ -48,6 +48,17 @@ and in compiled form.
</project>
\end{tcblisting}
\end{dispExample}
+
+\begin{dispExample}
+% This box is as wide as needed (listing only !!)
+% \usetikzlibrary{skins}
+\begin{tcblisting}{colback=green!5!white,colframe=green!50!black,listing only,
+ hbox,enhanced,drop fuzzy shadow,before=\begin{center},after=\end{center}}
+\begin{tikzpicture}
+\fill[red] (0,0) rectangle (1,1);
+\end{tikzpicture}
+\end{tcblisting}
+\end{dispExample}
\end{docEnvironment}
@@ -64,6 +75,7 @@ This \textbf{text} is written to a standardized file for later usage.
\end{docEnvironment}
+\clearpage
\begin{docCommand}{tcbinputlisting}{\marg{options}}
Creates a colored boxed based on a |tcolorbox|. The text content is read
from a file named by the key value of |listing file|. Apart from that,
@@ -74,7 +86,6 @@ This \textbf{text} is written to a standardized file for later usage.
\end{dispExample}
\end{docCommand}
-\clearpage
\begin{docCommand}{tcbuselistingtext}{}
Loads text from a file named by the key value of |listing file|.
\begin{dispExample}
@@ -163,10 +174,10 @@ This is my \LaTeX\ box.
\clearpage
-\begin{docCommand}{newtcbinputlisting}{\oarg{init options}\marg{\texttt{\textbackslash}name}\oarg{number}\oarg{default}\marg{options}}
- Creates a new macro \meta{\texttt{\textbackslash}name} based on \refCom{tcbinputlisting}.
+\begin{docCommand}{newtcbinputlisting}{\oarg{init options}\brackets{\texttt{\textbackslash}\rmfamily\meta{name}}\oarg{number}\oarg{default}\marg{options}}
+ Creates a new macro \texttt{\textbackslash}\meta{name} based on \refCom{tcbinputlisting}.
Basically, |\newtcbinputlisting| operates like |\newcommand|.
- The new macro \meta{\texttt{\textbackslash}name} optionally takes \meta{number}$+1$ arguments, where
+ The new macro \texttt{\textbackslash}\meta{name} optionally takes \meta{number}$+1$ arguments, where
\meta{default} is the default value for the optional first argument.
The \meta{options} are given to the underlying |tcbinputlisting|.
The \meta{init options} allow to set up automatic numbering,
@@ -420,6 +431,17 @@ This is a \LaTeX\ example.
\clearpage
+\begin{docTcbKey}{listing remove caption}{\colOpt{=\meta{boolean value}}}{default |true|, initially |true|}
+If set to |true|, some part of the caption building code of the |listings| package
+is silenced to prevent some unwanted interaction with the |hyperref| package resulting
+in additional vertical space.
+If set to |false|, the |listings| package code is kept unchanged.
+Note that listings outside \refEnv{tcblisting} and
+\refCom{tcbinputlisting} are always processed normally.
+Typically, a user is not expected to use this key at all.
+\end{docTcbKey}
+
+\clearpage
\subsection{Creation of \LaTeX\ Tutorials}\label{sec:latextutorial}
The following source code gives a guideline for the creation of \LaTeX\ tutorials.
In the next section, a framework for \LaTeX\ exercises is described.
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 8766b6d1eff..99fbd74fd30 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
@@ -10,7 +10,6 @@ This also loads the package |amsmath|.
\subsection{Macros of the Library}
-
\begin{docCommand}{newtcbtheorem}{\oarg{init options}\marg{name}\marg{display name}\marg{options}\marg{prefix}}
Creates a new environment \meta{name} based on |tcolorbox| to frame a
(mathematical) theorem. The \meta{display name} is used in the title line
@@ -54,24 +53,25 @@ This also loads the package |amsmath|.
\clearpage
+\begin{docCommand}{tcbmaketheorem}{\marg{name}\marg{display name}\marg{options}\marg{counter}\marg{prefix}}
+\begin{marker}
+\refCom{newtcbtheorem} supersedes this macro.
+\end{marker}
\begin{deprecated}
-\begin{docCommand}{tcbmaketheorem}{\oarg{init options}\marg{name}\marg{display name}\marg{options}\marg{counter}\marg{prefix}}
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 \meta{init options} allow to set up automatic numbering,
- see Section \ref{sec:initkeys} from page \pageref{sec:initkeys}.\par
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{marker}.
-\end{docCommand}
\end{deprecated}
+\end{docCommand}
\begin{docCommand}{tcboxmath}{\oarg{options}\marg{mathematical box content}}
Creates a \refEnv{tcolorbox} which is fitted to the width of the given
@@ -120,6 +120,39 @@ This also loads the package |amsmath|.
\subsection{Option Keys of the Library}
+\begin{docTcbKey}{separator sign}{=\meta{sign}}{no default, initial |:|}
+ The given \meta{sign} is used inside the title text of a theorem
+ as separater between display name combined with number and
+ the specific title text. It is omitted, if there is no specific title text.
+
+\begin{dispExample}
+% \usepackage{amssymb}
+\newtcbtheorem[use counter from=mytheo]{sometheorem}{Theorem}%
+ {colback=white,colframe=red!50!black,fonttitle=\bfseries,
+ separator sign={\ $\blacktriangleright$}}{theo}
+\begin{sometheorem}{My example}{}
+My theorem text.
+\end{sometheorem}
+\end{dispExample}
+\end{docTcbKey}
+
+\begin{docTcbKey}{separator sign colon}{}{style, no value, initially set}
+Sets \refKey{/tcb/separator sign} to the default colon |:| sign.
+\end{docTcbKey}
+
+\begin{docTcbKey}{separator sign dash}{}{style, no value}
+Sets \refKey{/tcb/separator sign} to an en-dash sign.
+\begin{dispExample}
+\newtcbtheorem[use counter from=mytheo]{sometheorem}{Theorem}%
+ {colback=white,colframe=red!50!black,fonttitle=\bfseries,
+ separator sign dash}{theo}
+\begin{sometheorem}{My example}{}
+My theorem text.
+\end{sometheorem}
+\end{dispExample}
+\end{docTcbKey}
+
+
\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.
@@ -127,6 +160,7 @@ This also loads the package |amsmath|.
and the \meta{title} for the title line of the box. Additionally, a
|\label| with the given \meta{marker} is created.
\begin{dispExample}
+% \newcounter{texercise}% preamble
\begin{tcolorbox}[colback=green!10,colframe=green!50!black,arc=4mm,
theorem={Test}{texercise}{Direct usage}{myMarker}]
Here, we see the test \ref{myMarker}.
@@ -134,10 +168,11 @@ 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}.
+created by hand or using \refCom{tcbmaketheorem} or using its successor
+\refCom{newtcbtheorem}.
\end{docTcbKey}
-
+\clearpage
\begin{docTcbKey}{highlight math}{}{style, no value}
Predefined style which is used for \refCom{tcbhighmath}.
It can be changed comfortable with \refKey{/tcb/highlight math style}.
@@ -433,16 +468,18 @@ referenced with the marker \texttt{cor:nullstellen}.\bigskip
\end{dispExample}
\begin{dispExample}
+% \usepackage{varioref}
+% \usepackage{cleveref}
% \tcbuselibrary{skins}
\newtcbtheorem[use counter from=Definition]{YetAnotherTheorem}{Theorem}%
- {enhanced,frame hidden,
+ {label type=theorem,enhanced,frame hidden,
boxrule=2mm,titlerule=0mm,toptitle=1mm,bottomtitle=1mm,
fonttitle=\bfseries\large,fontupper=\normalsize,
coltitle=green!35!black,colbacktitle=green!15!white,
colback=green!50!yellow!15!white,borderline={1pt}{0pt}{green!25!blue},
}{theo}
-\begin{YetAnotherTheorem}{Mittelwertsatz f\"{u}r $n$ Variable}{mittelwertsatz_n}%
+\begin{YetAnotherTheorem}{Mittelwertsatz f\"{u}r $n$ Variable}{meanvaluetheorem}%
Es sei $n\in\mathbb{N}$, $D\subseteq\mathbb{R}^n$ eine offene Menge und
$f\in C^{1}(D,\mathbb{R})$. Dann gibt es auf jeder Strecke
$[x_0,x]\subset D$ einen Punkt $\xi\in[x_0,x]$, so dass gilt
@@ -450,6 +487,22 @@ referenced with the marker \texttt{cor:nullstellen}.\bigskip
f(x)-f(x_0) = \operatorname{grad} f(\xi)^{\top}(x-x_0)
\end{equation*}
\end{YetAnotherTheorem}
+
+\medskip
+Here, |cleveref| support is used to reference \Cref{theo:meanvaluetheorem}
+on \Cpageref{theo:meanvaluetheorem}. This \namecref{theo:meanvaluetheorem}
+can also be referenced by |\Vref| resulting in \Vref{theo:meanvaluetheorem}.
+\end{dispExample}
+
+\begin{marker}
+Note that \refKey{/tcb/label type} was used in the example above to feed
+|cleveref| \cite{cubitt:2013a} with the needed name information.
+\end{marker}
+
+\clearpage
+
+\begin{dispExample}
+Here, using |\Vref| resulting in \Vref{theo:meanvaluetheorem} is more interesting\ldots
\end{dispExample}
@@ -465,7 +518,7 @@ referenced with the marker \texttt{cor:nullstellen}.\bigskip
fonttitle=\bfseries\sffamily\normalsize,fontupper=\normalsize\itshape,
}{theo}
-\begin{YetAnotherTheorem}{Mittelwertsatz f\"{u}r $n$ Variable}{mittelwertsatz_n}%
+\begin{YetAnotherTheorem}{Mittelwertsatz f\"{u}r $n$ Variable}{mittelwertsatz_n2}%
Es sei $n\in\mathbb{N}$, $D\subseteq\mathbb{R}^n$ eine offene Menge und
$f\in C^{1}(D,\mathbb{R})$. Dann gibt es auf jeder Strecke
$[x_0,x]\subset D$ einen Punkt $\xi\in[x_0,x]$, so dass gilt
@@ -476,7 +529,7 @@ referenced with the marker \texttt{cor:nullstellen}.\bigskip
\end{dispExample}
-
+\clearpage
You need more attention for your theorems? Here, you are \ldots
\begin{dispExample}
@@ -492,7 +545,7 @@ You need more attention for your theorems? Here, you are \ldots
\end{Theorem}
\end{dispExample}
-\clearpage
+
Using \refCom{newtcbtheorem} is a convenient way to generate a new
theorem type. On the other hand, it enforces to use a titled |tcolorbox|.
If you prefer to have an embedded title, you may create a new theorem
@@ -509,7 +562,7 @@ type with the more flexible \refCom{newtcolorbox} macro:
list entry={\numberline{\thetcbcounter}#2},%
label={theo:#3},#1}
-\begin{YetAnotherTheorem}{Mittelwertsatz f\"{u}r $n$ Variable}{mittelwertsatz_n}%
+\begin{YetAnotherTheorem}{Mittelwertsatz f\"{u}r $n$ Variable}{mittelwertsatz_n3}%
Es sei $n\in\mathbb{N}$, $D\subseteq\mathbb{R}^n$ eine offene Menge und
$f\in C^{1}(D,\mathbb{R})$. Dann gibt es auf jeder Strecke
$[x_0,x]\subset D$ einen Punkt $\xi\in[x_0,x]$, so dass gilt
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
index f57d4b89109..47df6302cfb 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 94e5b372b2c..e6ac3165013 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% tcolorbox.tex: Manual
%%
%% -------------------------------------------------------------------------------------------
@@ -27,7 +27,9 @@
\usepackage{amsmath,amssymb}
\usepackage[svgnames,table,hyperref]{xcolor}
\usepackage{tikz}
+\usepackage{varioref}
\usepackage[pdftex,bookmarks,raiselinks,pageanchor,hyperindex,colorlinks]{hyperref}
+\usepackage{cleveref}
\usepackage[a4paper,left=2.5cm,right=2.5cm,top=1.5cm,bottom=1.5cm,
marginparsep=5mm,marginparwidth=10mm,
@@ -79,8 +81,8 @@
\newtcolorbox{marker}[1][]{marker,#1}
-\def\version{2.40}%
-\def\datum{2013/07/15}%
+\def\version{2.41}%
+\def\datum{2013/07/23}%
\makeindex
\hypersetup{
@@ -160,11 +162,13 @@
utf,
% theorems
ams,align,
+ dash,
equation,
gather,
highlight,
math,
nodisplayskip,
+ separator,sign,
theorem,
% documentation
actual,
@@ -314,8 +318,7 @@
\input{\jobname_preamble_H.tex}
-%\includeonly{tcolorbox.doc.abstract,tcolorbox.doc.coreoptions}
-
+%\includeonly{tcolorbox.doc.theorems}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
index b4edf570e2c..84ee098f379 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% tcbbreakable.code.tex: Code for breakable colorboxes
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{2.40}
+\tcb@set@library@version{2.41}
\let\tcb@parboxrestore@true=\tcb@parboxrestore
\def\tcb@parboxrestore@false{\vskip-\parskip\linewidth\hsize}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
index 9c8de529ae5..3b29a2bf9a7 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% tcbdocumentation.code.tex: Code for LaTeX documentations
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{2.40}
+\tcb@set@library@version{2.41}
\tcbuselibrary{listings}
@@ -131,7 +131,7 @@
\tcbset{docexample,#1}\tcbwritetemp%
}{\enddispExample}
-\def\dispListing{\tcbset{docexample}\tcbwritetemp}
+\def\dispListing{\tcb@layer@pushup\tcbset{docexample}\tcbwritetemp}
\def\enddispListing{%
\endtcbwritetemp%
@@ -141,7 +141,7 @@
}
\newenvironment{dispListing*}[1]{%
- \tcbset{docexample,#1}\tcbwritetemp%
+ \tcb@layer@pushup\tcbset{docexample,#1}\tcbwritetemp%
}{\enddispListing}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
index 6305645aa4a..da86046b55a 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% 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{2.40}
+\tcb@set@library@version{2.41}
\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 c0cdd6ad05a..4eb0c6bad32 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% 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{2.40}
+\tcb@set@library@version{2.41}
\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 9e3d2a12d1d..07d9207c93d 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% tcblistings.code.tex: Code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,10 +18,18 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{2.40}
+\tcb@set@library@version{2.41}
\RequirePackage{listings}[2007/02/22]
+\let\tcb@listing@MakeCaption@org=\lst@MakeCaption
+
+\def\tcb@listing@set@MakeCaption@org{%
+ \let\lst@MakeCaption\tcb@listing@MakeCaption@org}
+\def\tcb@listing@set@MakeCaption@empty{%
+ \lst@HRefStepCounter{lstlisting}%
+ \let\lst@MakeCaption\@gobble}
+
\lstdefinestyle{tcblatex}{language={[LaTeX]TeX},
aboveskip={0\p@ \@plus 6\p@}, belowskip={0\p@ \@plus 6\p@},
columns=fullflexible, keepspaces=true,
@@ -32,9 +40,12 @@
\def\tcbuselistingtext{\input{\kvtcb@listingfile}}%
\def\tcbuselistinglisting{%
+ \begingroup%
\toks@=\expandafter{\kvtcb@listingoptions}%
- \edef\tcb@temp{\noexpand\lstinputlisting[\the\toks@]}%
+ \edef\tcb@temp{\noexpand\lstinputlisting[nolol,\the\toks@]}%
+ \tcb@listing@set@MakeCaption%
\tcb@temp{\kvtcb@listingfile}%
+ \endgroup%
}%
\def\tcb@listing@listingAndText{%
@@ -106,7 +117,7 @@
}
\def\tcb@inputlisting@inside{%
- \begin{tcolorbox}[]\tcb@listing@process\end{tcolorbox}%
+ \begin{tcolorbox}[capture=\tcb@listing@capture]\tcb@listing@process\end{tcolorbox}%
}
\let\tcb@inputlisting\tcb@inputlisting@inside
@@ -133,6 +144,10 @@
listing side text/.style={sidebyside,listing and text},%
text outside listing/.code={\let\tcb@inputlisting\tcb@inputlisting@out@textAndListing},%
listing outside text/.code={\let\tcb@inputlisting\tcb@inputlisting@out@listingAndText},%
+ listing remove caption/.is choice,
+ listing remove caption/true/.code={\let\tcb@listing@set@MakeCaption\tcb@listing@set@MakeCaption@empty},
+ listing remove caption/false/.code={\let\tcb@listing@set@MakeCaption\tcb@listing@set@MakeCaption@org},
+ listing remove caption/.default=true,
}
\newenvironment{tcblisting}[1]{%
@@ -144,14 +159,9 @@
\long\def\tcbinputlisting#1{%
\begingroup%
- \stepcounter{tcblayer}%
- \ifnum\c@tcblayer>\tcb@managed@layers@max%
- \else%
- \tcbset{every box on layer \number\c@tcblayer}%
- \tcbset{every box on layer \number\c@tcblayer/.style={}}%
- \fi%
- \addtocounter{tcblayer}{-1}%´
- \tcbset{#1}%
+ \tcb@layer@pushup%´
+ \tcbset{capture=minipage,#1}%
+ \let\tcb@listing@capture=\kvtcb@capture%
\tcb@inputlisting\endgroup%
}
@@ -230,7 +240,7 @@
comment=,
listing and text,
listing inputencoding=\inputencodingname,
- },
+ listing remove caption, },
initialize@reset=reset@listings,
}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
index e97c59f903b..fda425379a2 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% 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{2.40}
+\tcb@set@library@version{2.41}
\RequirePackage{listingsutf8}[2011/11/10]
\tcbuselibrary{listings}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
index 04be331c9ff..ece95e163d9 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% 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{2.40}
+\tcb@set@library@version{2.41}
\RequirePackage{tikz}[2010/10/13]
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
index 358fa624bf3..b8a2b188399 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% tcbtheorems.code.tex: Code for theorems in colorboxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{2.40}
+\tcb@set@library@version{2.41}
\RequirePackage{amsmath}
@@ -30,7 +30,7 @@
\ifx\temp@a\@empty\relax%
\unhbox\z@%
\else%
- \setbox\z@=\hbox{\unhbox\z@:\ }%
+ \setbox\z@=\hbox{\unhbox\z@\kvtcb@separatorsign\ }%
\hangindent\wd\z@%
\hangafter=1%
\mbox{\unhbox\z@}#3%
@@ -78,6 +78,9 @@
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={\ --}},%
}
\newcommand{\newtcbtheorem}[5][]{%
@@ -89,12 +92,8 @@
}
-\newcommand{\tcbmaketheorem}[6][]{%
- \def\temp@a{#5}\ifx\temp@a\@empty%
- \newtcbtheorem[#1]{#2}{#3}{#4}{#6}%
- \else%
- \newtcbtheorem[use counter=#5,#1]{#2}{#3}{#4}{#6}%
- \fi%
+\newcommand{\tcbmaketheorem}[5]{%
+ \newtcolorbox{#1}[3][]{#3,theorem={#2}{#4}{##2}{#5:##3},##1}%
}
\newtcbox{\tcboxmath}[1][]{nobeforeafter,math upper,tcbox raise base,#1}
@@ -103,6 +102,7 @@
\tcbset{%
reset@theorems/.style={%
highlight math style={colframe=red,colback=yellow!25!white},%
+ separator sign colon,%
},
initialize@reset=reset@theorems,
}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
index 59daeeb479a..645054c5673 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 2.40 (2013/07/15)
+%% The LaTeX package tcolorbox - version 2.41 (2013/07/23)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tcolorbox}[2013/07/15 version 2.40 text color boxes]
-\def\tcb@version{2.40}
+\ProvidesPackage{tcolorbox}[2013/07/23 version 2.41 text color boxes]
+\def\tcb@version{2.41}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -311,9 +311,11 @@
},
check odd page/.default=true,
phantom/.code={\appto\kvtcb@phantom{#1}},
- step and label/.style 2 args={phantom={\refstepcounter{#1}\label{#2}}},%
+ step and label/.style 2 args={phantom={\refstepcounter{#1}\tcb@set@label{#2}}},%
step/.style={phantom={\refstepcounter{#1}}},%
- label/.style={phantom={\label{#1}}},%
+ label/.style={phantom={\tcb@set@label{#1}}},%
+ label type/.store in=\kvtcvb@label@type,%
+ no label type/.style={label type=},%
add to list/.style 2 args={phantom={\tcb@addcontentsline{#1}{#2}}},
nophantom/.code={\def\kvtcb@phantom{}},%
shield externalize/.is choice,
@@ -330,6 +332,14 @@
set@extensions@preframe=,set@extensions@postframe=,%
}%
+\def\tcb@set@label#1{%
+ \ifx\kvtcvb@label@type\@empty%
+ \label{#1}%
+ \else%
+ \label[\kvtcvb@label@type]{#1}%
+ \fi%
+}
+
\let\tcb@parboxrestore=\@parboxrestore
\def\tcb@parbox@use@false{%
@@ -493,12 +503,24 @@
\fi%
}
+\def\tcb@layer@pushup{%
+ \stepcounter{tcblayer}%
+ \ifnum\c@tcblayer>\tcb@managed@layers@max%
+ \tcbset{every box on higher layers}%
+ \tcbset{every box on higher layers/.style={}}% not ideal
+ \else%
+ \tcbset{every box on layer \number\c@tcblayer}%
+ \tcbset{every box on layer \number\c@tcblayer/.style={}}%
+ \fi%
+ \addtocounter{tcblayer}{-1}%´
+}
+
\def\tcb@layer@dec{%
\ifnum\c@tcblayer>\tcb@managed@layers@max%
\else%
\expandafter\global\setbox\@mpfootins\box\csname tcb@footnote@\romannumeral\c@tcblayer\endcsname%
\setcounter{mpfootnote}{\csname tcb@footnote@cnt@\romannumeral\c@tcblayer\endcsname}%
- \fi
+ \fi%
\addtocounter{tcblayer}{-1}%
}
@@ -888,7 +910,11 @@
list inside/.store in=\kvtcb@new@listof,
list type/.store in=\kvtcb@new@listtype,
%
- reset@new/.style={no counter,number within=,number format=\arabic,number freestyle=,list inside=,list type=tcolorbox},
+ init@hook@clear/.code={\def\kvtcb@init@hook{}},
+ crefname/.code 2 args={\appto\kvtcb@init@hook{\crefname{\tcbcounter}{#1}{#2}}},
+ Crefname/.code 2 args={\appto\kvtcb@init@hook{\Crefname{\tcbcounter}{#1}{#2}}},
+ %
+ reset@new/.style={no counter,number within=,number format=\arabic,number freestyle=,list inside=,list type=tcolorbox,init@hook@clear},
}
\def\tcb@proc@counter@autoanduse#1{%
@@ -937,6 +963,7 @@
\csedef{tcb@lsttp@#2}{\kvtcb@new@listtype}%
\appto\tcb@new@colopt{,add to list={\csname tcb@lstof@\kvtcb@savedelimiter\endcsname}{\csname tcb@lsttp@\kvtcb@savedelimiter\endcsname}}%
\fi%
+ \kvtcb@init@hook%
}%
\long\def\tcb@newtcolorbox#1#2{\newenvironment{#1}{\tcolorbox[#2,options@for=#1]}{\endtcolorbox}}
@@ -1099,7 +1126,7 @@
before title=,after title=,before upper=,after upper=,before lower=,after lower=,
sidebyside=false,sidebyside align=center,sidebyside gap=10mm,
lefthand ratio=0.5,check odd page=false,nophantom,
- shield externalize=false,list entry=,
+ shield externalize=false,list entry=,no label type,
},
initialize@reset=reset@core,
}