diff options
41 files changed, 680 insertions, 324 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index b09e5ddb85a..721d974d1e1 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES @@ -1,7 +1,7 @@ -%% The LaTeX package tcolorbox - version 4.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -1071,3 +1071,16 @@ version 4.15 (2018/12/07) * new options (#52) 'raster width center', 'raster width flush left', 'raster width flush right' - Example source code of 'tcolorbox-example-poster' and 'tcolorbox-tutorial-poster' adapted to be compatible with lipsum package version 2.0 + +version 4.20 (2019/03/02) +- bug fix (#60): \multicolumn could not be used for first cell with option 'tabularx' +- internal colors names renamend and offially documented (Section 9.5 Color Names): + 'tcbcolframe', 'tcbcolback', 'tcbcolbacktitle', 'tcbcolbacklower', + 'tcbcolupper', 'tcbcollower', 'tcbcoltitle' +- listingsutf8 compatability better documented (#58) +- semantic changed for options: 'after upper*', 'after lower*' +- new options: 'before upper*', 'before lower*', 'titlebox', 'nirvana' +- library 'skins': + * new options: 'beamer hidden', 'beamer alerted', 'hide', 'alert' + * option 'only' moved from package to skins library +- new documentation section '13 Beamer Support' diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index ebaab0b4e19..67e8c16547e 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/README +++ b/Master/texmf-dist/doc/latex/tcolorbox/README @@ -1,7 +1,7 @@ -%% The LaTeX package tcolorbox - version 4.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf Binary files differindex 7c384e06e8f..6745fadb2be 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf 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 c6616a68054..4cd8461954e 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcolorbox-example-poster.tex: a poster example for tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 Binary files differindex d7ddaa54a82..ea5dc03ad17 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index 495fd4c9934..64bd2eacedb 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 Binary files differindex 13d4d8bf10a..67a36b97ebe 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf 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 70525e98704..11d6d47954b 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.beamer.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.beamer.tex new file mode 100644 index 00000000000..0fcb15e5a3f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.beamer.tex @@ -0,0 +1,210 @@ +% !TeX root = tcolorbox.tex +% include file of tcolorbox.tex (manual of the LaTeX package tcolorbox) +\clearpage +\section{Beamer Support}\label{sec:beamer}% +\tcbset{external/prefix=external/beamer_}% +The \mylib{skins} library adds some supporting options for the |beamer| package +\cite{tantau:beamer}. +For the following options, the \mylib{skins} library has to be loaded +by a package option or inside the preamble by: +\begin{dispListing} +\tcbuselibrary{skins} +\end{dispListing} + +See \Vref{sec:skins} for the documentation of all other options of the \mylib{skins} library. + +\begin{docTcbKey}[][doc new and updated={2015-01-09}{2019-03-01}]{only}{=\textless\meta{overlay specification}\textgreater\marg{options}}{style, no default, initially unset} +Sets the given |tcolorbox| \meta{options} in dependency of +a |beamer| \meta{overlay specification}. +Note that this needs the |beamer| class \cite{tantau:beamer}. +The \meta{options} will only be used on the specified |beamer| frames. + + +\begin{fulldocumentlisting}{} +\documentclass{beamer} +\usepackage[many]{tcolorbox} +\begin{document} + +\begin{frame} + \begin{tcolorbox}[title=My title,fonttitle=\bfseries, + enhanced,colframe=red!50!black,colback=red!10,colbacktitle=red, + sidebyside,righthand width=3cm, + lowerbox=invisible,lower separated=false, + drop lifted shadow, + only=<1>{colbacktitle=yellow,coltitle=red!50!black,colframe=red}, + only=<3>{colback=yellow!50,watermark text={Attention!}}, + only=<3->{lowerbox=visible} ] + This is a test. + \begin{itemize}[<+->] + \item One + \item Two + \item \alert<3>{Three} + \item Four + \end{itemize} + \tcblower + \begin{equation*} + \int\limits_{1}^{x} \frac{1}{t}~dt = \ln(x). + \end{equation*} + \end{tcolorbox} +\end{frame} +\end{document} +\end{fulldocumentlisting} + + +\begin{fulldocumentlisting}{} +\documentclass{beamer} +\usepackage[most]{tcolorbox} +\begin{document} + +\begin{frame}[fragile] + \begin{tcblisting}{beamer,colback=blue!5,colframe=blue!20!gray,coltitle=yellow, + title=Example, + only=<1>{lowerbox=invisible},only=<2>{} + } +This is an \textbf{example listing} + \end{tcblisting} +\end{frame} +\end{document} +\end{fulldocumentlisting} + +\begin{marker} +The option \refKey{/tcb/only} belonged to the base package before version 4.20. +\end{marker} +\end{docTcbKey} + + + +\begin{docTcbKey}[][doc new={2019-03-01}]{hide}{=\textless\meta{overlay specification}\textgreater}{style, no default, initially unset} +Sets the \refKey{/tcb/beamer hidden} style in dependency of +a |beamer| \meta{overlay specification}. +\refKey{/tcb/beamer hidden} can be redefined for customization. +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new={2019-03-01}]{beamer hidden}{}{style, no options, initially |nirvana|} +This style is not intended to be used directly, but in concealed way by applying +\refKey{/tcb/hide}. The style can be redefined. +\begin{dispListing} +\tcbset{ + beamer hidden/.style={invisible,interior hidden,colframe=blue!20!gray!15}, +} +\end{dispListing} +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new={2019-03-01}]{alert}{=\textless\meta{overlay specification}\textgreater}{style, no default, initially unset} +Sets the \refKey{/tcb/beamer alerted} style in dependency of +a |beamer| \meta{overlay specification}. +\refKey{/tcb/beamer alerted} can be redefined for customization. +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new={2019-03-01}]{beamer alerted}{}{style, no options, initially |fuzzy halo|} +This style is not intended to be used directly, but in concealed way by applying +\refKey{/tcb/alert}. The style can be redefined. +\begin{dispListing} +\tcbset{ + beamer alerted/.style={colframe=red!50!gray}, +} +\end{dispListing} +\end{docTcbKey} + + +\bigskip + +The following examples use \refEnv{tcbitemize} from \mylib{raster} for +convenient use of a list of boxes which are uncovered one by one. + + +\begin{fulldocumentlisting}{run pdflatex} +\documentclass{beamer} +\usepackage[most]{tcolorbox} +\begin{document} + +\begin{frame} + \begin{tcbitemize}[raster equal height=rows, + enhanced,colback=blue!5,colframe=blue!20!gray,coltitle=yellow, + ] + \tcbitem[title=One,alert=<1>] + First Statement + \tcbitem[title=Two,hide=<-1>,alert=<2>] + Second Statement + \tcbitem[title=Three,hide=<-2>,alert=<3>] + Test + \tcbitem[title=Four,hide=<-3>,alert=<4>] + \begin{equation*} + \int\limits_{1}^{x} \frac{1}{t}~dt = \ln(x). + \end{equation*} + \tcbitem[title=Five,hide=<-4>,alert=<5>] + \includegraphics[width=1cm]{goldshade.png} + \tcbitem[title=Six,hide=<-5>,alert=<6>] + Test + \end{tcbitemize} +\end{frame} +\end{document} +\end{fulldocumentlisting} + + + +\begin{fulldocumentlisting}{run pdflatex} +\documentclass{beamer} +\usepackage[most]{tcolorbox} +\begin{document} + +\begin{frame} + \begin{tcbitemize}[raster equal height=rows, + enhanced,colback=blue!5,colframe=blue!20!gray,coltitle=yellow, + beamer hidden/.style={invisible,interior hidden,colframe=blue!20!gray!15}, + beamer alerted/.style={colframe=red!50!gray}, + ] + \tcbitem[title=One,alert=<1>] + First Statement + \tcbitem[title=Two,hide=<-1>,alert=<2>] + Second Statement + \tcbitem[title=Three,hide=<-2>,alert=<3>] + Test + \tcbitem[title=Four,hide=<-3>,alert=<4>] + \begin{equation*} + \int\limits_{1}^{x} \frac{1}{t}~dt = \ln(x). + \end{equation*} + \tcbitem[title=Five,hide=<-4>,alert=<5>] + \includegraphics[width=1cm]{goldshade.png} + \tcbitem[title=Six,hide=<-5>,alert=<6>] + Test + \end{tcbitemize} +\end{frame} +\end{document} +\end{fulldocumentlisting} + + + +\begin{fulldocumentlisting}{run pdflatex} +\documentclass{beamer} +\usepackage[most]{tcolorbox} +\begin{document} + +\begin{frame} + \begin{tcbitemize}[raster equal height=rows, + beamer,colback=blue!5,colframe=blue!20!gray,coltitle=yellow, + beamer hidden/.style={colback=white,colframe=gray!50,opacityupper=0.2,opacitytitle=0.2}, + beamer alerted/.style={colframe=red!50!gray,fuzzy halo}, + ] + \tcbitem[title=One,alert=<1>] + First Statement + \tcbitem[title=Two,hide=<-1>,alert=<2>] + Second Statement + \tcbitem[title=Three,hide=<-2>,alert=<3>] + Test + \tcbitem[title=Four,hide=<-3>,alert=<4>] + \begin{equation*} + \int\limits_{1}^{x} \frac{1}{t}~dt = \ln(x). + \end{equation*} + \tcbitem[title=Five,hide=<-4>,alert=<5>] + \includegraphics[width=1cm]{goldshade.png} + \tcbitem[title=Six,hide=<-5>,alert=<6>] + Test + \end{tcbitemize} +\end{frame} +\end{document} +\end{fulldocumentlisting} + diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib index f0bc3dea967..8f1e4f7924f 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib @@ -60,12 +60,21 @@ } -@manual{tantau:2015a, +@manual{tantau:tikz_and_pgf, author = {Till Tantau}, title = {The TikZ and PGF Packages}, - subtitle = {Manual for version 3.0.1a}, + subtitle = {Manual for version 3.1.1}, url = {http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf}, - date = {2015-08-29}, + date = {2019-02-02}, +} + + +@manual{tantau:beamer, + author = {Till Tantau and Joseph Wright and Vedran Mileti\'{c}}, + title = {The Beamer Class}, + subtitle = {User Guide for version 3.55}, + url = {http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf}, + date = {2018-12-02}, } 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 2aa3bd08a7e..b8effa83e99 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -6,7 +6,7 @@ For the \meta{options} in \refEnv{tcolorbox} respectively \refCom{tcbset} the following |pgf| keys can be applied. The key tree path |/tcb/| is not to be used inside these macros. It is easy to add your own style keys using -the syntax for |pgf| keys, see \cite{tantau:2015a,sturm:2016e} or the examples +the syntax for |pgf| keys, see \cite{tantau:tikz_and_pgf,sturm:2016e} or the examples starting from page~\pageref{sec:latextutorial}. @@ -88,6 +88,24 @@ Now, we try again with adjusted titles:\\ \end{exdispExample} \end{docTcbKey} + +\begin{docTcbKey}[][doc new=2019-03-01]{titlebox}{=\meta{mode}}{no default, initially \texttt{visible}} + Controls the treatment of the title part of the box. + Feasible values for \meta{mode} are: + \begin{itemize} + \item\docValue{visible}: usual type setting of the title box, + \item\docValue{invisible}: empty space instead of the title contents. + \end{itemize} +\begin{exdispExample}{titlebox} +\begin{tcolorbox}[title=My invisible title, + titlebox=invisible] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{exdispExample} +\end{docTcbKey} + + + \clearpage \begin{docTcbKey}{detach title}{}{no value} Detaches the title from its normal position. The text of the title is @@ -141,6 +159,8 @@ More title options are documented in \Vref{subsec:contentadditions} and \Vref{subsec:skinboxedtitle}. \end{marker} + + \clearpage \subsection{Subtitle} @@ -231,13 +251,13 @@ This is the lower part. \end{docTcbKey} -\begin{docTcbKey}[][doc new=2015-01-06]{visible}{}{style, no value} - Shortcut for setting \refKey{/tcb/upperbox} and \refKey{/tcb/lowerbox} +\begin{docTcbKey}[][doc new and updated={2015-01-06}{2019-03-01}]{visible}{}{style, no value} + Shortcut for setting \refKey{/tcb/upperbox}, \refKey{/tcb/lowerbox}, and \refKey{/tcb/titlebox} to be \docValue{visible}. \end{docTcbKey} -\begin{docTcbKey}[][doc new=2015-01-06]{invisible}{}{style, no value} - Shortcut for setting \refKey{/tcb/upperbox} and \refKey{/tcb/lowerbox} +\begin{docTcbKey}[][doc new and updated={2015-01-06}{2019-03-01}]{invisible}{}{style, no value} + Shortcut for setting \refKey{/tcb/upperbox}, \refKey{/tcb/lowerbox}, and \refKey{/tcb/titlebox} to be \docValue{invisible}. \begin{exdispExample}{invisible} \begin{tcolorbox}[invisible] @@ -590,7 +610,7 @@ This is a \textbf{tcolorbox}. \item\docValue{flush center}: centering with |\centering| of \LaTeX. \end{itemize} The differences between the flush and non-flush version are explained in - detail in the \tikzname\ manual \cite{tantau:2015a}. The short story is that + detail in the \tikzname\ manual \cite{tantau:tikz_and_pgf}. The short story is that the non-flush versions will often look more balanced but with more hyphenations. @@ -2137,9 +2157,10 @@ This is a \textbf{tcolorbox}. \clearpage -\begin{docTcbKey}{before upper}{=\meta{code}}{no default, initially unset} +\begin{docTcbKey}{before upper}{=\meta{code}}{no default, initially empty} The given \meta{code} is placed \emph{after} the color and font settings and \emph{before} the content of the upper part. + The \meta{code} is appended by a final |\ignorespaces|. \begin{exdispExample}{before_upper} \tcbset{before upper={\textit{The story:}\par}, colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries} @@ -2151,8 +2172,31 @@ This is a \textbf{tcolorbox}. \end{docTcbKey} -\begin{docTcbKey}[][doc updated=2016-10-21]{after upper}{=\meta{code}}{no default, initially unset} +\begin{docTcbKey}[][doc new=2019-02-26]{before upper*}{=\meta{code}}{no default, initially unset} + The given \meta{code} is placed \emph{after} the color and font settings + and \emph{before} the content of the upper part. + In contrast to \refKey{/tcb/before upper}, no |\ignorespaces| is appended. + Use this for situations where |\ignorespaces| is not needed or causes harm. +\begin{exdispExample}{before_upper_star} +\begin{tcolorbox}[size=small,tile, + colback=yellow!20,colbacktitle=yellow!70!black, + title=My table,hbox,center,center title, + before upper*=\begin{tabular}{cc}, + after upper*=\end{tabular}, +] + \multicolumn{2}{c}{Title}\\ + one & two \\ + three & four\\ +\end{tcolorbox} +\end{exdispExample} +\end{docTcbKey} + +\clearpage + +\begin{docTcbKey}[][doc updated=2016-10-21]{after upper}{=\meta{code}}{no default, initially empty} The given \meta{code} is placed \emph{after} the content of the upper part. + The \meta{code} is prepended by a leading |\unskip|. + \begin{exdispExample}{after_upper_1} \tcbset{after upper={\par\hfill\textit{Read more next week}}, colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries} @@ -2168,26 +2212,28 @@ This is a \textbf{tcolorbox}. This is a \textbf{tcolorbox}. \end{tcolorbox} \end{exdispExample} +\end{docTcbKey} -\begin{marker} -An |\unskip| is placed in front of the given \meta{code}. -From version 3.80 to 3.94, this |\unskip| was omitted to avoid certain -problems which (hopefully) should not occur with the new improved code. -\end{marker} -\end{docTcbKey} +\begin{docTcbKey}[][doc new and updated={2016-10-21}{2019-02-28}]{after upper*}{=\meta{code}}{no default, initially unset} + The given \meta{code} is placed \emph{after} the content of the upper part. + In contrast to \refKey{/tcb/after upper}, no |\unskip| is prepended. + Use this for situations where |\unskip| is not needed or causes harm. + See \refKey{/tcb/before upper*} for an example. -\begin{docTcbKey}[][doc new and updated={2016-10-21}{2016-10-21}]{after upper*}{=\meta{code}}{no default, initially unset} - Alias for \refKey{/tcb/after upper}. - From version 3.80 to 3.94, it prepended an |\unskip| to the given \meta{code}. - Now, this key is considered to be deprecated. +\begin{marker} + From version 3.80 to 3.94, this option prepended an |\unskip| to the given \meta{code}.\\ + From version 3.95 to 4.15, this option was deprecated.\\ + From version 4.20, this option is re-established with changed semantic (no |\unskip|!) +\end{marker} \end{docTcbKey} \clearpage -\begin{docTcbKey}{before lower}{=\meta{code}}{no default, initially unset} +\begin{docTcbKey}{before lower}{=\meta{code}}{no default, initially empty} The given \meta{code} is placed \emph{after} the color and font settings and \emph{before} the content of the lower part. + The \meta{code} is appended by a final |\ignorespaces|. \begin{exdispExample}{before_lower} \tcbset{before lower=\textit{Behold:~},colback=red!5!white,colframe=red!75!black} @@ -2200,16 +2246,33 @@ This is the lower part. \end{docTcbKey} -\begin{docTcbKey}[][doc updated=2016-10-21]{after lower}{=\meta{code}}{no default, initially unset} - The given \meta{code} is placed \emph{after} the content of the lower part. -\begin{exdispExample}{after_lower_1} -\begin{tcolorbox}[before lower=$,after lower=$, - colback=red!5!white,colframe=red!75!black] -This is a \textbf{tcolorbox}. +\begin{docTcbKey}[][doc new=2019-02-26]{before lower*}{=\meta{code}}{no default, initially unset} + The given \meta{code} is placed \emph{after} the color and font settings + and \emph{before} the content of the lower part. + In contrast to \refKey{/tcb/before lower}, no |\ignorespaces| is appended. + Use this for situations where |\ignorespaces| is not needed or causes harm. +\begin{exdispExample}{before_lower_star} +\begin{tcolorbox}[size=small,bicolor,sidebyside,center lower, + colback=yellow!30,colbacklower=yellow!20,colframe=yellow!80!black, + before lower*=\begin{tabular}{cc}, + after lower*=\end{tabular}, +] +My table \tcblower -\sin^2(x)+\cos^2(x)=1. + \multicolumn{2}{c}{Title}\\ + one & two \\ + three & four\\ \end{tcolorbox} \end{exdispExample} +\end{docTcbKey} + + +\clearpage + +\begin{docTcbKey}[][doc updated=2016-10-21]{after lower}{=\meta{code}}{no default, initially empty} + The given \meta{code} is placed \emph{after} the content of the lower part. + The \meta{code} is prepended by a leading |\unskip|. + \begin{exdispExample}{after_lower_2} \begin{tcolorbox}[after lower=\ \textit{This is the end.}, @@ -2219,19 +2282,28 @@ This is a \textbf{tcolorbox}. This is the lower part. \end{tcolorbox} \end{exdispExample} - -\begin{marker} -An |\unskip| is placed in front of the given \meta{code}. -From version 3.80 to 3.94, this |\unskip| was omitted to avoid certain -problems which (hopefully) should not occur with the new improved code. -\end{marker} \end{docTcbKey} -\begin{docTcbKey}[][doc new and updated={2016-10-21}{2016-10-21}]{after lower*}{=\meta{code}}{no default, initially unset} - Alias for \refKey{/tcb/after lower}. - From version 3.80 to 3.94, it prepended an |\unskip| to the given \meta{code}. - Now, this key is considered to be deprecated. +\begin{docTcbKey}[][doc new and updated={2016-10-21}{2019-02-28}]{after lower*}{=\meta{code}}{no default, initially unset} + The given \meta{code} is placed \emph{after} the content of the lower part. + In contrast to \refKey{/tcb/after upper}, no |\unskip| is prepended. + Use this for situations where |\unskip| is not needed or causes harm. + +\begin{exdispExample}{after_lower_1} +\begin{tcolorbox}[before lower*=$,after lower*=$, + colback=red!5!white,colframe=red!75!black] +This is a \textbf{tcolorbox}. +\tcblower +\sin^2(x)+\cos^2(x)=1. +\end{tcolorbox} +\end{exdispExample} + +\begin{marker} + From version 3.80 to 3.94, this option prepended an |\unskip| to the given \meta{code}.\\ + From version 3.95 to 4.15, this option was deprecated.\\ + From version 4.20, this option is re-established with changed semantic (no |\unskip|!) +\end{marker} \end{docTcbKey} @@ -2331,17 +2403,17 @@ One & Two & Three \\\hline\hline \end{exdispExample} \end{docTcbKey} + \begin{docTcbKey}{tikz lower}{\colOpt{=\meta{options}}}{style} This style adds a centered |tikzpicture| environment to the start and end of the lower part. The \meta{options} may be given as \tikzname\ picture options. \begin{exdispExample}{tikz_lower} % \usepackage{tikz} % \tcbuselibrary{skins,listings} -\tcbset{tikz lower,listing side text,fonttitle=\bfseries, - bicolor,colback=LightBlue!50!white,colbacklower=white,colframe=black, - righthand width=3cm} -\begin{tcblisting}{title=\tikzname\ drawing} +\begin{tcblisting}{tikz lower,listing side text,fonttitle=\bfseries, + bicolor,colback=LightBlue!50!white,colbacklower=white,colframe=black, + righthand width=3cm,title=\tikzname\ drawing} \path[fill=yellow,draw=yellow!75!red] (0,0) circle (1cm); \fill[red] (45:5mm) circle (1mm); @@ -4220,7 +4292,7 @@ do \emph{not} use |\tikzexternaldisable| in front of the |tcolorbox|. it may be used inside the option list of a |tcolorbox| to set the externalization \meta{file name} for the first |tikzpicture| which is discovered \emph{inside} the box content. - The package |tikz| \cite{tantau:2015a} or the library \mylib{skins} has to be loaded to use this option. + The package |tikz| \cite{tantau:tikz_and_pgf} or the library \mylib{skins} has to be loaded to use this option. Additionally, |\usetikzlibrary{external}| has to be used. \end{docTcbKey} @@ -4228,11 +4300,12 @@ do \emph{not} use |\tikzexternaldisable| in front of the |tcolorbox|. Convenience option which calls |/tikz/external/remake next|. Typically, it may be used inside the option list of a |tcolorbox| to force the remake of the first |tikzpicture| which is discovered \emph{inside} the box content. - The package |tikz| \cite{tantau:2015a} or the library \mylib{skins} has to be loaded to use this option. + The package |tikz| \cite{tantau:tikz_and_pgf} or the library \mylib{skins} has to be loaded to use this option. Additionally, |\usetikzlibrary{external}| has to be used. \end{docTcbKey} +\clearpage \subsection{Miscellaneous} \begin{docTcbKey}{reset}{}{no value, initially set} Sets (nearly) all |tcolorbox| settings (including loaded libraries) back to their default values @@ -4248,43 +4321,7 @@ Section \ref{subsec:everybox} from page \pageref{subsec:everybox}. %See \refCom{tcbhighmath} for an example. \end{docTcbKey} -\clearpage -\begin{docTcbKey}[][doc new=2015-01-09]{only}{=\textless\meta{overlay specification}\textgreater\marg{options}}{style, no default, initially unset} -Sets the given |tcolorbox| \meta{options} in dependency of -a |beamer| \meta{overlay specification}. Note that this needs the |beamer| class. -The \meta{options} will only be used on the specified |beamer| frames. - -\begin{dispListing} -\documentclass{beamer} -\usepackage[many]{tcolorbox} -\begin{document} - -\begin{frame} - \begin{tcolorbox}[title=My title,fonttitle=\bfseries, - enhanced,colframe=red!50!black,colback=red!10,colbacktitle=red, - sidebyside,righthand width=3cm, - lowerbox=invisible,lower separated=false, - drop lifted shadow, - only=<1>{colbacktitle=yellow,coltitle=red!50!black,colframe=red}, - only=<3>{colback=yellow!50,watermark text={Attention!}}, - only=<3->{lowerbox=visible} ] - This is a test. - \begin{itemize}[<+->] - \item One - \item Two - \item \alert<3>{Three} - \item Four - \end{itemize} - \tcblower - \begin{equation*} - \int\limits_{1}^{x} \frac{1}{t}~dt = \ln(x). - \end{equation*} - \end{tcolorbox} -\end{frame} -\end{document} -\end{dispListing} -\end{docTcbKey} \begin{docTcbKey}{code}{=\meta{code}}{no default, initially unset} @@ -4330,7 +4367,26 @@ B since the end of the inner environment will be misinterpreted as end of the outer environment. \end{marker} +\end{docTcbKey} +\begin{docTcbKey}[][doc new=2019-03-01]{nirvana}{}{no value, initially unset} + The contents of the current |tcolorbox| are processed including counter + settings, but the box is just not drawn. + Therefore, \refKey{/tcb/nirvana} is less radical than \refKey{/tcb/void} + and several box environments can be nested without problems. +\begin{exdispExample}{nirvana} +A% + \begin{tcolorbox}[ + title=This box is completely removed by the following key, + nirvana + ] + This is a \textbf{tcolorbox}. + \begin{tcolorbox} + Nested Box + \end{tcolorbox} + \end{tcolorbox}% +B +\end{exdispExample} \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 7120e1d453c..f8c1c4553cd 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex @@ -5,7 +5,7 @@ \tcbset{external/prefix=external/documentation_}% This library has the single purpose to support \LaTeX\ package documentations like this one. Actually, the visual nature follows the approach from -Till Tantau's |pgf| \cite{tantau:2015a} documentation. +Till Tantau's |pgf| \cite{tantau:tikz_and_pgf} documentation. Typically, this library is assumed to be used in conjunction with the class |ltxdoc| or alike. diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex index b90b1158ff8..f6b20fb2e27 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex @@ -4,7 +4,7 @@ \section{\tikzname\ Image and Picture Fill Extensions; Auxiliary Macros}\label{sec:tikzimagefilling}% \tcbset{external/prefix=external/filling_}% The \mylib{skins} library adds some image and picture fill options to the vast option set of -\tikzname\ \cite{tantau:2015a}. These options can be used in any |tikzpicture|. +\tikzname\ \cite{tantau:tikz_and_pgf}. These options can be used in any |tikzpicture|. For the following options, the \mylib{skins} library has to be loaded by a package option or inside the preamble by: \begin{dispListing} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.hooks.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.hooks.tex index 47684bfcd29..b5e37eee984 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.hooks.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.hooks.tex @@ -83,30 +83,30 @@ from page \pageref{subsec:contentadditions}. \end{docTcbKey} \begin{docTcbKey}{before upper app}{=\meta{code}}{no default} - Appends the given \meta{code} to \refKey{/tcb/before upper} \emph{after} the color and font settings + Appends the given \meta{code} to \refKey{/tcb/before upper} or \refKey{/tcb/before upper*} \emph{after} the color and font settings and \emph{before} the content of the upper part. \end{docTcbKey} \begin{docTcbKey}{before upper pre}{=\meta{code}}{no default} - Prepends the given \meta{code} to \refKey{/tcb/before upper} \emph{after} the color and font settings + Prepends the given \meta{code} to \refKey{/tcb/before upper} or \refKey{/tcb/before upper*} \emph{after} the color and font settings and \emph{before} the content of the upper part. \end{docTcbKey} \begin{docTcbKey}{after upper app}{=\meta{code}}{no default} - Appends the given \meta{code} to \refKey{/tcb/after upper} \emph{after} the content of the upper part. + Appends the given \meta{code} to \refKey{/tcb/after upper} or \refKey{/tcb/after upper*} \emph{after} the content of the upper part. \end{docTcbKey} \begin{docTcbKey}{after upper pre}{=\meta{code}}{no default} - Prepends the given \meta{code} to \refKey{/tcb/after upper} \emph{after} the content of the upper part. + Prepends the given \meta{code} to \refKey{/tcb/after upper} or \refKey{/tcb/after upper*} \emph{after} the content of the upper part. \begin{dispExample} % \tcbuselibrary{theorems} -\tcbset{ams align,% this sets 'before upper' and 'after upper' + +\begin{tcolorbox}[ + ams align,% this sets 'before upper*' and 'after upper*' colback=yellow!10!white,colframe=red!50!black, before upper app={\frac{2}{\sqrt{2}}&=\sqrt{2}.\\}, after upper pre={\\\sin\left(\frac{\pi}{2}\right)&=1.}, -} - -\begin{tcolorbox} +] \sum\limits_{n=1}^{\infty} \frac{1}{n} &= \infty.\\ \int x^2 ~\text{d}x &= \frac13 x^3 + c. \end{tcolorbox} @@ -115,21 +115,21 @@ from page \pageref{subsec:contentadditions}. \clearpage \begin{docTcbKey}{before lower app}{=\meta{code}}{no default} - Appends the given \meta{code} to \refKey{/tcb/before lower} \emph{after} the color and font settings + Appends the given \meta{code} to \refKey{/tcb/before lower} or \refKey{/tcb/before lower*} \emph{after} the color and font settings and \emph{before} the content of the lower part. \end{docTcbKey} \begin{docTcbKey}{before lower pre}{=\meta{code}}{no default} - Prepends the given \meta{code} to \refKey{/tcb/before lower} \emph{after} the color and font settings + Prepends the given \meta{code} to \refKey{/tcb/before lower} or \refKey{/tcb/before lower*} \emph{after} the color and font settings and \emph{before} the content of the lower part. \end{docTcbKey} \begin{docTcbKey}{after lower app}{=\meta{code}}{no default} - Appends the given \meta{code} to \refKey{/tcb/after lower} \emph{after} the content of the lower part. + Appends the given \meta{code} to \refKey{/tcb/after lower} or \refKey{/tcb/after lower*} \emph{after} the content of the lower part. \end{docTcbKey} \begin{docTcbKey}{after lower pre}{=\meta{code}}{no default} - Prepends the given \meta{code} to \refKey{/tcb/after lower} \emph{after} the content of the lower part. + Prepends the given \meta{code} to \refKey{/tcb/after lower} or \refKey{/tcb/after lower*} \emph{after} the content of the lower part. \end{docTcbKey} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.intro.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.intro.tex index 1264943d557..84d9b00b055 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.intro.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.intro.tex @@ -51,7 +51,7 @@ for some hints. The short story is: you have to install not only \subsection{Loading the Package} The base package |tcolorbox| loads the packages -|pgf| \cite{tantau:2015a}, |verbatim| \cite{schoepf:2001a}, +|pgf| \cite{tantau:tikz_and_pgf}, |verbatim| \cite{schoepf:2001a}, |etoolbox| \cite{lehmann:2018a}, and |environ| \cite{robertson:2014a}. |tcolorbox| itself is loaded in the usual manner in the preamble: @@ -84,7 +84,7 @@ The following keys are used inside |\tcbuselibrary| respectively |\usepackage| without the key tree path |/tcb/library/|. \begin{docTcbKey}[library]{skins}{}{\mylib{skins}} - Loads the package |tikz| \cite{tantau:2015a} and provides additional + Loads the package |tikz| \cite{tantau:tikz_and_pgf} and provides additional styles (skins) for the appearance of the colored boxes; see Section~\ref{sec:skins} from page~\pageref{sec:skins}. \end{docTcbKey} 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 4dfec5e94e8..2abe145bb61 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex @@ -14,8 +14,10 @@ they all do the same thing, i.\,e.\ displaying listings with or without typesett the listing in \LaTeX\ parallel. The difference is the underlying \LaTeX\ package which does the core job for displaying a listing. So, typically, you need just \emph{one} of these -libraries. If you do not have a clue, which one of them you should use, -you should take \mylib{listingsutf8}. +libraries. If you do not have a clue which one of them you should use +and you are using |pdflatex|, you should take \mylib{listingsutf8}. +If you are using |xelatex| or |lualatex|, you should take \mylib{listings} +as |xelatex| and |lualatex| are not compatible with \mylib{listingsutf8}. \begin{marker} The order in which the libraries are included influences the default settings and @@ -40,7 +42,7 @@ To reactivate this setting, if overwritten by other libraries, use \subsubsection{Loading \mylib{listingsutf8}} \begin{marker} -This library is not needed (and troublesome) when using Xe\LaTeX. +This library is not needed (and troublesome) when using Xe\LaTeX\ or Lua\LaTeX. \end{marker} To extend |listings| for UTF-8 encoded sources, you can use the support from the package |listingsutf8| \cite{oberdiek:2016b} by loading the library @@ -422,7 +424,7 @@ For an combined example of using |\lstinline| inside a |tcolorbox|, see \clearpage \subsection{Option Keys of the \mylib{listingsutf8} Library} \begin{marker} -The \mylib{listingsutf8} library is not needed (and troublesome) when using Xe\LaTeX. +The \mylib{listingsutf8} library is not needed (and troublesome) when using Xe\LaTeX\ or Lua\LaTeX. \end{marker} The \mylib{listingsutf8} library is an extension of the 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 7307f888597..9a48d42bb6c 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 @@ -105,8 +105,8 @@ colframe=yellow!20!black, sharp corners,rounded corners=southeast,arc is angular,arc=3mm, underlay={% - \path[fill=tcbcol@back!80!black] ([yshift=3mm]interior.south east)--++(-0.4,-0.1)--++(0.1,-0.2); - \path[draw=tcbcol@frame,shorten <=-0.05mm,shorten >=-0.05mm] ([yshift=3mm]interior.south east)--++(-0.4,-0.1)--++(0.1,-0.2); + \path[fill=tcbcolback!80!black] ([yshift=3mm]interior.south east)--++(-0.4,-0.1)--++(0.1,-0.2); + \path[draw=tcbcolframe,shorten <=-0.05mm,shorten >=-0.05mm] ([yshift=3mm]interior.south east)--++(-0.4,-0.1)--++(0.1,-0.2); \path[fill=yellow!50!black,draw=none] (interior.south west) rectangle node[white]{\Huge\bfseries !} ([xshift=4mm]interior.north west); }, drop fuzzy shadow,#1} @@ -259,3 +259,14 @@ spread sidewards,fuzzy halo=1mm with blue!50!gray} \renewcommand\section{\@startsection{section}{1}{\z@}{\z@}{5mm}{\section@box}} + +\newtcblisting{fulldocumentlisting}[1]{% + enhanced jigsaw,lower separated=false,breakable, + leftlower=0mm,rightlower=0mm,bottom=0mm,middle=1mm, + listing style=mydocumentation,base example, + listing and comment, + pdf comment,freeze pdf, + comment style={raster columns=2,raster equal skip=1mm}, + compilable listing, + run pdflatex,#1 +} 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 cccbb8c5686..e357d5b78c6 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex @@ -7,7 +7,7 @@ The library is loaded by a package option or inside the preamble by: \begin{dispListing} \tcbuselibrary{skins} \end{dispListing} -This also loads the package |tikz| \cite{tantau:2015a}. Typically but not necessarily, +This also loads the package |tikz| \cite{tantau:tikz_and_pgf}. Typically but not necessarily, the following skins use |tikz| instead of |pgf|. \subsection{Style Option Keys}\label{subsec:addstyleoptions} @@ -844,13 +844,13 @@ the \meta{options} are is appended. attach boxed title to top left={xshift=1cm,yshift*=1mm-\tcboxedtitleheight}, varwidth boxed title*=-3cm, boxed title style={frame code={ - \path[fill=tcbcol@back!30!black] + \path[fill=tcbcolback!30!black] ([yshift=-1mm,xshift=-1mm]frame.north west) arc[start angle=0,end angle=180,radius=1mm] ([yshift=-1mm,xshift=1mm]frame.north east) arc[start angle=180,end angle=0,radius=1mm]; - \path[left color=tcbcol@back!60!black,right color=tcbcol@back!60!black, - middle color=tcbcol@back!80!black] + \path[left color=tcbcolback!60!black,right color=tcbcolback!60!black, + middle color=tcbcolback!80!black] ([xshift=-2mm]frame.north west) -- ([xshift=2mm]frame.north east) [rounded corners=1mm]-- ([xshift=1mm,yshift=-1mm]frame.north east) -- (frame.south east) -- (frame.south west) @@ -2241,7 +2241,7 @@ but most other skins, e.\,g.\ \refSkin{enhanced}. \begin{docTcbKey}{tikz}{=\meta{tikz option list}}{no default, initially empty} Adds the given \meta{tikz option list} to the main |tikzpicture| environment - used to draw the color box, see \cite{tantau:2015a}. If this option is + used to draw the color box, see \cite{tantau:tikz_and_pgf}. If this option is applied a second time, the new \meta{tikz option list} is appended to the current option list. \begin{dispExample*}{sbs,lefthand ratio=0.66, diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex index 566a4f5a45b..2d637f4678a 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex @@ -633,6 +633,40 @@ Lower part \egroup + +\clearpage +\subsection{Color Names}\label{subsec:tech_colornames} +Color settings for a |tcolorbox| are saved into named colors which may be +used inside a box, e.g. for an overlay. +\tcbdocmarginnote{\tcbdocnew{2019-01-18}} +These color names are +\begin{itemize} +\item\docColor{tcbcolframe} set by \refKey{/tcb/colframe} (frame color) +\item\docColor{tcbcolback} set by \refKey{/tcb/colback} (background color) +\item\docColor{tcbcolbacktitle} set by \refKey{/tcb/colbacktitle} (background color of the title) +\item\docColor{tcbcolbacklower} set by \refKey{/tcb/colbacklower} (skin dependend background color + of the lower part; needs \mylib{skins} to be loaded) +\item\docColor{tcbcolupper} set by \refKey{/tcb/colupper} (text color upper part) +\item\docColor{tcbcollower} set by \refKey{/tcb/collower} (text color lower part) +\item\docColor{tcbcoltitle} set by \refKey{/tcb/coltitle} (text color title) +\end{itemize} + +\medskip + +\begin{dispExample} +% \tcbuselibrary{skins} +\begin{tcolorbox}[title=Color names, + colframe=blue!50!black,colback=blue!5, + colbacktitle=blue!50,colupper=red!35!black] + \foreach \name in {tcbcolframe,tcbcolback,tcbcolbacktitle,tcbcolbacklower, + tcbcolupper,tcbcollower,tcbcoltitle} + {\tikz\path[draw,fill=\name] + (0,0) rectangle node[right=4mm,font=\ttfamily]{\name} (0.8,0.8);\par} +\end{tcolorbox} +\end{dispExample} + + + \clearpage \subsection{Useful Properties}\label{subsec:tech_properties} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex index d43c42993b8..c1d9d7efc06 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex @@ -8,7 +8,7 @@ The library is loaded by a package option or inside the preamble by: \tcbuselibrary{vignette} \end{dispListing} This also loads the \mylib{skins} library, see \Fullref{sec:skins}, -and the |fadings| library of |tikz| \cite{tantau:2015a}. +and the |fadings| library of |tikz| \cite{tantau:tikz_and_pgf}. \subsection{Vignette Drawing}\label{subsec:vignettedrawing} @@ -407,7 +407,7 @@ future. \subsection{Generic Fading Settings}\label{subsec:vignettefading} -The |fadings| library of |tikz| \cite{tantau:2015a} is loaded +The |fadings| library of |tikz| \cite{tantau:tikz_and_pgf} is loaded automatically by the \mylib{vignette} library. Amongst others, the fadings \docFading{west}, diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf Binary files differindex c78646845da..e1e37bfe2cc 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex index 0b0b0cd62bf..69d5d409922 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -43,8 +43,8 @@ \setlength{\bibitemsep}{\smallskipamount} \addbibresource{tcolorbox.doc.bib} -\def\version{4.15}% -\def\datum{2018/12/07}% +\def\version{4.20}% +\def\datum{2019/03/02}% \makeindex \hypersetup{ @@ -58,7 +58,7 @@ %\tcbset{draftmode} \tcbset{/tcb/external/-}% for final run -%\includeonly{tcolorbox.doc.xparse} +%\includeonly{tcolorbox.doc.skins} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} @@ -75,6 +75,7 @@ \include{tcolorbox.doc.skins} \include{tcolorbox.doc.graphics} \include{tcolorbox.doc.filling} +\include{tcolorbox.doc.beamer} \include{tcolorbox.doc.vignette} \include{tcolorbox.doc.raster} \include{tcolorbox.doc.listings} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index 5595685288d..69f5899e5c5 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \let\tcb@parboxrestore@true=\tcb@parboxrestore \let\tcb@parboxrestore@false\tcb@parbox@false@settings @@ -169,7 +169,7 @@ \else% \tcb@hasTitletrue% \tcbdimto\tcb@w@title{\tcb@innerwidth-\kvtcb@boxsep*2-\kvtcb@lefttitle-\kvtcb@righttitle}% - \begin{tcb@savebox}{\tcb@titlebox}{\tcb@w@title}\tcb@extras@followingtitle\color{tcbcol@title}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@followingtitle\end{tcb@savebox}% + \begin{tcb@savebox}{\tcb@titlebox}{\tcb@w@title}\tcb@extras@followingtitle\color{tcbcoltitle}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@followingtitle\end{tcb@savebox}% \tcbdimto\tcb@h@title{\ht\tcb@titlebox+\dp\tcb@titlebox}% \tcbdimto\tcb@h@padtitle{\kvtcb@title@rule+\kvtcb@boxsep*2+\kvtcb@toptitle+\kvtcb@bottomtitle+\tcb@h@title}% \fi% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index a26bde8045f..ecd2d24dd22 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 3252746db12..0f3f68546ff 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 b819afaad87..7e32bdec72b 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim @@ -226,7 +226,7 @@ \def\tcb@fit@@box{% \iftcb@hasTitle% \tcbdimto\tcb@w@title{\kvtcb@width-(\kvtcb@left@rule)-(\kvtcb@right@rule)-(\kvtcb@boxsep)*2-(\kvtcb@lefttitle)-(\kvtcb@righttitle)}% - \begin{tcb@savebox}{\tcb@titlebox}{\tcb@w@title}\color{tcbcol@title}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@before@title\kvtcb@title\kvtcb@after@title\end{tcb@savebox}% + \begin{tcb@savebox}{\tcb@titlebox}{\tcb@w@title}\color{tcbcoltitle}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@before@title\kvtcb@title\kvtcb@after@title\end{tcb@savebox}% \tcbdimto\tcb@h@titletotal{\ht\tcb@titlebox+\dp\tcb@titlebox+\kvtcb@title@rule+(\kvtcb@boxsep)*2+\kvtcb@toptitle+\kvtcb@bottomtitle}% \else% \let\tcb@h@titletotal=\tcb@zpt% @@ -254,10 +254,10 @@ \def\tcb@fit@@boxsave##1{% \tcbdimto\tcb@innerwidth{\kvtcb@width-\kvtcb@left@rule-\kvtcb@right@rule}% \colorlet{tcbcol@origin}{.}% - \tcb@set@color{tcbcol@upper}% + \tcb@set@color{tcbcolupper}% \begin{tcb@savebox}{\tcb@upperbox}{##1}% \kvtcb@fontupper\fontsize{\tcbfitdim}{\tcb@fit@@line}\selectfont% - \kvtcb@halignupper\kvtcb@before@upper\ignorespaces#1\ifvmode\else\unskip\fi\kvtcb@after@upper% + \kvtcb@halignupper\tcb@insert@before@upper#1\tcb@insert@after@upper% \end{tcb@savebox}% \tcb@reset@color% \advance\count@ 1\relax% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex index abc3c87ec98..d0e0acae721 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 d24293530eb..418618ad6ba 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 5e9dfb99abd..2906d28c356 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \tcbuselibrary{pro@cessing} @@ -41,8 +41,8 @@ \newenvironment{tcb@lower@outside}[1]{% \tcbset{savedelimiter=tcb@lower@outside}\tcb@minipage{#1}% - \color{tcbcol@lower}\kvtcb@fontlower\kvtcb@halignlower\kvtcb@before@lower\ignorespaces}% - {\ifvmode\else\unskip\fi\kvtcb@after@lower\endminipage} + \color{tcbcollower}\kvtcb@fontlower\kvtcb@halignlower\tcb@insert@before@lower}% + {\tcb@insert@after@lower\endminipage} \def\tcb@use@listing@other@reset{% \tcbset{every box on layer 1/.style={reset,every box}}% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex index ed0318f08cc..46720bc9803 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 fce4fc2944b..75c4ef5e399 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 d34ce36c8e7..220d7d82f7a 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 0e3a170cd69..057e02b30f9 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 5afca346a2c..773d095bc88 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 b4c9e5f51cf..aab39967d69 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 f8d1b0303cc..b209a86e706 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \RequirePackage{tikz}[2010/10/13] @@ -109,9 +109,9 @@ } \tikzset{% - tcb fill frame/.style={fill=tcbcol@frame,fill opacity=\kvtcb@opacityframe,tcb@spec,frame@style},% - tcb fill interior/.style={fill=tcbcol@back,fill opacity=\kvtcb@opacityback,tcb@spec,interior@style},% - tcb fill title/.style={fill=tcbcol@backtitle,fill opacity=\kvtcb@opacitybacktitle,tcb@spec,title@style},% + tcb fill frame/.style={fill=tcbcolframe,fill opacity=\kvtcb@opacityframe,tcb@spec,frame@style},% + tcb fill interior/.style={fill=tcbcolback,fill opacity=\kvtcb@opacityback,tcb@spec,interior@style},% + tcb fill title/.style={fill=tcbcolbacktitle,fill opacity=\kvtcb@opacitybacktitle,tcb@spec,title@style},% } % fill frame @@ -166,10 +166,10 @@ % draw segmentation line \def\tcb@drawlower@path{% \iftcb@sidebyside% - \path[draw=tcbcol@frame,fill opacity=\kvtcb@opacityframe,dash pattern=on 1mm off 1mm,dash phase=0.5mm,tcb@spec,segmentation@style] + \path[draw=tcbcolframe,fill opacity=\kvtcb@opacityframe,dash pattern=on 1mm off 1mm,dash phase=0.5mm,tcb@spec,segmentation@style] (segmentation.north)--(segmentation.south);% \else% - \path[draw=tcbcol@frame,fill opacity=\kvtcb@opacityframe,dash pattern=on 1mm off 1mm,dash phase=0.5mm,tcb@spec,segmentation@style] + \path[draw=tcbcolframe,fill opacity=\kvtcb@opacityframe,dash pattern=on 1mm off 1mm,dash phase=0.5mm,tcb@spec,segmentation@style] (segmentation.west)--(segmentation.east);% \fi% } @@ -256,7 +256,7 @@ } \def\tcb@drawspec@T{% - \tcb@pathbase{top color=tcbcol@frame,bottom color=tcbcol@back,fill opacity=\kvtcb@opacitybacktitle}{[yshift=-0.01pt]interior.north west}{[yshift=0.01pt]title.south east}% + \tcb@pathbase{top color=tcbcolframe,bottom color=tcbcolback,fill opacity=\kvtcb@opacitybacktitle}{[yshift=-0.01pt]interior.north west}{[yshift=0.01pt]title.south east}% {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}% } @@ -270,7 +270,7 @@ \def\tcb@drawframe@spartan{% \begin{pgfscope}% \pgfpathrectangle{\pgfpointorigin}{\pgfqpoint{\tcb@width}{\tcb@height}}% - \pgfsetfillcolor{tcbcol@frame}% + \pgfsetfillcolor{tcbcolframe}% \pgfsetfillopacity{\kvtcb@opacityframe}% \pgfusepath{fill}% \end{pgfscope}% @@ -280,7 +280,7 @@ \begin{pgfscope}% \pgfpathrectanglecorners{\pgfqpoint{\kvtcb@left@rule}{\kvtcb@bottom@rule}}% {\pgfqpoint{\the\dimexpr\tcb@width-\kvtcb@right@rule\relax}{\the\dimexpr\kvtcb@bottom@rule+\tcb@innerheight\relax}}% - \pgfsetfillcolor{tcbcol@back}% + \pgfsetfillcolor{tcbcolback}% \pgfsetfillopacity{\kvtcb@opacityback}% \pgfusepath{fill}% \end{pgfscope}% @@ -290,7 +290,7 @@ \begin{pgfscope}% \pgfpathrectanglecorners{\pgfqpoint{\kvtcb@left@rule}{\kvtcb@bottom@rule}}% {\pgfqpoint{\the\dimexpr\tcb@width-\kvtcb@right@rule\relax}{\the\dimexpr\tcb@height-\kvtcb@top@rule\relax}}% - \pgfsetfillcolor{tcbcol@back}% + \pgfsetfillcolor{tcbcolback}% \pgfsetfillopacity{\kvtcb@opacityback}% \pgfusepath{fill}% \end{pgfscope}% @@ -300,7 +300,7 @@ \begin{pgfscope}% \pgfpathrectanglecorners{\pgfqpoint{\kvtcb@left@rule}{\the\dimexpr\kvtcb@bottom@rule+\tcb@innerheight+\kvtcb@title@rule\relax}}% {\pgfqpoint{\the\dimexpr\tcb@width-\kvtcb@right@rule\relax}{\the\dimexpr\tcb@height-\kvtcb@top@rule\relax}}% - \pgfsetfillcolor{tcbcol@backtitle}% + \pgfsetfillcolor{tcbcolbacktitle}% \pgfsetfillopacity{\kvtcb@opacitybacktitle}% \pgfusepath{fill}% \end{pgfscope}% @@ -317,7 +317,7 @@ \pgfpathmoveto{\pgfqpoint{\kvtcb@left@rule}{\tcb@seg@pos}}% \pgfpathlineto{\pgfqpoint{\the\dimexpr\tcb@width-\kvtcb@right@rule\relax}{\tcb@seg@pos}}% \fi% - \pgfsetcolor{tcbcol@frame}% + \pgfsetcolor{tcbcolframe}% \pgfsetstrokeopacity{\kvtcb@opacityframe}% \pgfusepath{stroke}% \end{pgfscope}% @@ -376,7 +376,7 @@ \path[draw,line width=\kvtcb@title@rule+1000sp,#1] ([yshift=-\kvtcb@title@rule/2]title.south west)--([yshift=-\kvtcb@title@rule/2]title.south east); \fi}},% - colbacklower/.colorlet=tcbcol@backlower,% + colbacklower/.colorlet=tcbcolbacklower,% clear@spec/.code={\tcb@spec{}},% tikz/.code={\appto\tcb@tikz@option@hook{,#1}},% tikz reset/.code={\let\tcb@tikz@option@hook\@empty},% @@ -511,30 +511,30 @@ interior titled code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@path}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@path}% \or% - \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UT% + \tcb@spec{fill=tcbcolback}\tcb@drawspec@UT% \else% - {\tcbset{interior style={fill=tcbcol@backlower,segmentation@style}}\tcb@drawwithtitle@path}% + {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithtitle@path}% \fi% \else% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@path}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@path}% \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@path}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@path}% \or% - \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UR% + \tcb@spec{fill=tcbcolback}\tcb@drawspec@UR% \else% - {\tcbset{interior style={fill=tcbcol@backlower,segmentation@style}}\tcb@drawwithouttitle@path}% + {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithouttitle@path}% \fi% \else% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@path}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@path}% \fi\tcb@spec{}}, segmentation code={\iftcb@sidebyside% - \iftcb@hasTitle\tcb@drawspec@sbs@B{fill=tcbcol@backlower}\else% - \tcb@drawspec@sbs@A{fill=tcbcol@backlower}\fi\else\tcb@drawspec@LR{fill=tcbcol@backlower}\fi\tcb@spec{}},% + \iftcb@hasTitle\tcb@drawspec@sbs@B{fill=tcbcolbacklower}\else% + \tcb@drawspec@sbs@A{fill=tcbcolbacklower}\fi\else\tcb@drawspec@LR{fill=tcbcolbacklower}\fi\tcb@spec{}},% skin first=bicolorfirst,skin middle=bicolormiddle,skin last=bicolorlast} \tcbset{bicolor/.style={skin=bicolor}} @@ -544,30 +544,30 @@ interior titled code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathfirst}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathfirst}% \or% - \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UT% + \tcb@spec{fill=tcbcolback}\tcb@drawspec@UT% \else% - {\tcbset{interior style={fill=tcbcol@backlower,segmentation@style}}\tcb@drawwithtitle@pathfirst}% + {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithtitle@pathfirst}% \fi% \else% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathfirst}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathfirst}% \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathfirst}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathfirst}% \or% - \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UR% + \tcb@spec{fill=tcbcolback}\tcb@drawspec@UR% \else% - {\tcbset{interior style={fill=tcbcol@backlower,segmentation@style}}\tcb@drawwithouttitle@pathfirst}% + {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithouttitle@pathfirst}% \fi% \else% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathfirst}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathfirst}% \fi\tcb@spec{}}, segmentation code={\iftcb@sidebyside% - \iftcb@hasTitle\tcb@drawspec@sbs@D{fill=tcbcol@backlower}\else% - \tcb@drawspec@sbs@C{fill=tcbcol@backlower}\fi\else\tcb@drawspec@LS{fill=tcbcol@backlower}\fi\tcb@spec{}},% + \iftcb@hasTitle\tcb@drawspec@sbs@D{fill=tcbcolbacklower}\else% + \tcb@drawspec@sbs@C{fill=tcbcolbacklower}\fi\else\tcb@drawspec@LS{fill=tcbcolbacklower}\fi\tcb@spec{}},% skin first=bicolorfirst,skin middle=bicolormiddle,skin last=bicolormiddle} \tcb@new@skin{bicolormiddle}{base@middle,% @@ -575,30 +575,30 @@ interior titled code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathmiddle}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathmiddle}% \or% - \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UT% + \tcb@spec{fill=tcbcolback}\tcb@drawspec@UT% \else% - {\tcbset{interior style={fill=tcbcol@backlower,segmentation@style}}\tcb@drawwithtitle@pathmiddle}% + {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithtitle@pathmiddle}% \fi% \else% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathmiddle}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathmiddle}% \fi\tcb@spec{}},% interior code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathmiddle}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathmiddle}% \or% - \tcb@spec{fill=tcbcol@back}\tcb@drawspec@US% + \tcb@spec{fill=tcbcolback}\tcb@drawspec@US% \else% - {\tcbset{interior style={fill=tcbcol@backlower,segmentation@style}}\tcb@drawwithouttitle@pathmiddle}% + {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithouttitle@pathmiddle}% \fi% \else% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathmiddle}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathmiddle}% \fi\tcb@spec{}}, segmentation code={\iftcb@sidebyside% - \iftcb@hasTitle\tcb@drawspec@sbs@D{fill=tcbcol@backlower}\else% - \tcb@drawspec@sbs@E{fill=tcbcol@backlower}\fi\else\tcb@drawspec@LS{fill=tcbcol@backlower}\fi\tcb@spec{}},% + \iftcb@hasTitle\tcb@drawspec@sbs@D{fill=tcbcolbacklower}\else% + \tcb@drawspec@sbs@E{fill=tcbcolbacklower}\fi\else\tcb@drawspec@LS{fill=tcbcolbacklower}\fi\tcb@spec{}},% skin first=bicolormiddle,skin middle=bicolormiddle,skin last=bicolormiddle} \tcb@new@skin{bicolorlast}{base@last,% @@ -606,30 +606,30 @@ interior titled code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathlast}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathlast}% \or% - \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UT% + \tcb@spec{fill=tcbcolback}\tcb@drawspec@UT% \else% - {\tcbset{interior style={fill=tcbcol@backlower,segmentation@style}}\tcb@drawwithtitle@pathlast}% + {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithtitle@pathlast}% \fi% \else% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathlast}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithtitle@pathlast}% \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% \ifcase\tcbsegmentstate% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathlast}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathlast}% \or% - \tcb@spec{fill=tcbcol@back}\tcb@drawspec@US% + \tcb@spec{fill=tcbcolback}\tcb@drawspec@US% \else - {\tcbset{interior style={fill=tcbcol@backlower,segmentation@style}}\tcb@drawwithouttitle@pathlast}% + {\tcbset{interior style={fill=tcbcolbacklower,segmentation@style}}\tcb@drawwithouttitle@pathlast}% \fi% \else% - {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathlast}% + {\tcb@spec{fill=tcbcolback}\tcb@drawwithouttitle@pathlast}% \fi\tcb@spec{}},% segmentation code={\iftcb@sidebyside% - \iftcb@hasTitle\tcb@drawspec@sbs@B{fill=tcbcol@backlower}\else% - \tcb@drawspec@sbs@F{fill=tcbcol@backlower}\fi\else\tcb@drawspec@LR{fill=tcbcol@backlower}\fi\tcb@spec{}},% + \iftcb@hasTitle\tcb@drawspec@sbs@B{fill=tcbcolbacklower}\else% + \tcb@drawspec@sbs@F{fill=tcbcolbacklower}\fi\else\tcb@drawspec@LR{fill=tcbcolbacklower}\fi\tcb@spec{}},% skin first=bicolormiddle,skin middle=bicolormiddle,skin last=bicolorlast} \tcb@new@skin{tile}{skin@bicolor,frame engine=empty,% @@ -646,7 +646,7 @@ \tcb@new@skin{tilelast}{skin@bicolorlast,frame engine=empty,% skin first=tilemiddle,skin middle=tilemiddle,skin last=tilelast} -\tikzset{beamer@color/.style={fill=none,top color=tcbcol@back,bottom color=tcbcol@back!85!black}} +\tikzset{beamer@color/.style={fill=none,top color=tcbcolback,bottom color=tcbcolback!85!black}} \tcb@new@skin{beamer}{base@unbroken,% frame engine=path,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=path,% @@ -758,12 +758,12 @@ \iftcb@sidebyside% \tcb@drawlower@path% \else% - \path[left color=tcbcol@frame!75!white,right color=tcbcol@frame!75!white!25!tcbcol@back,segmentation@style] + \path[left color=tcbcolframe!75!white,right color=tcbcolframe!75!white!25!tcbcolback,segmentation@style] ([yshift={-\kvtcb@middle/4}]segmentation.west) rectangle ([yshift={\kvtcb@middle/4}]segmentation.east); \fi% } -\tikzset{widget@color/.style={left color=tcbcol@frame!75!white,right color=tcbcol@frame!75!white!25!tcbcol@back}} +\tikzset{widget@color/.style={left color=tcbcolframe!75!white,right color=tcbcolframe!75!white!25!tcbcolback}} \tcb@new@skin{widget}{base@unbroken,% frame engine=path,interior titled engine=path,interior engine=path,segmentation engine=empty,title engine=empty,% @@ -1037,11 +1037,11 @@ code={\def\tcb@specialtitle@hook{% \ifx\tcbtitletext\@empty\else% \tcb@trans@set@boxedsize{#2}% - \colorlet{tcbtranscol@frame}{tcbcol@frame}% - \colorlet{tcbtranscol@back}{tcbcol@backtitle}% + \colorlet{tcbtranscol@frame}{tcbcolframe}% + \colorlet{tcbtranscol@back}{tcbcolbacktitle}% \let\tcb@trans@skin@current\kvtcb@skin@current% \let\tcb@trans@boxedstyle\kvtcb@style@boxedtitle% - \setbox\tcb@titlebox\color@hbox\bgroup\color{tcbcol@title}\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\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% % @@ -1348,8 +1348,8 @@ enlarge top by=0mm, enlarge bottom by=0mm, width=\the\dimexpr\linewidth+1.6cm\relax, - frame style={top color=tcbcol@frame,bottom color=tcbcol@frame,middle color=yellow!75!tcbcol@frame}, - title style={left color=tcbcol@frame,right color=tcbcol@frame,middle color=yellow!75!tcbcol@frame}, + frame style={top color=tcbcolframe,bottom color=tcbcolframe,middle color=yellow!75!tcbcolframe}, + title style={left color=tcbcolframe,right color=tcbcolframe,middle color=yellow!75!tcbcolframe}, watermark tikz={\draw[line width=2mm] circle (1cm) node{\fontfamily{ptm}\fontseries{b}\fontsize{20mm}{20mm}\selectfont!};}, watermark zoom=0.75, }} @@ -1873,6 +1873,11 @@ hyperurl*/.style 2 args={hyperurl* node={#1}{#2}{frame}}, hyperurl* interior/.style 2 args={hyperurl* node={#1}{#2}{interior}}, hyperurl* title/.style 2 args={hyperurl* node={#1}{#2}{title}}, + beamer hidden/.style={nirvana}, + beamer alerted/.style={fuzzy halo}, + only/.code args={<#1>#2}{\only<#1>{\tcbset{#2}}},% + hide/.code args={<#1>}{\only<#1>{\tcbset{beamer hidden}}},% + alert/.code args={<#1>}{\only<#1>{\tcbset{beamer alerted}}},% } \tcbset{% @@ -1881,7 +1886,7 @@ colbacklower=black!15!white,% extend freelance=,extend freelancefirst=,extend freelancemiddle=,extend freelancelast=,% clear@spec,% - watermark opacity=1.00,watermark color=tcbcol@back!85!tcbcol@frame,% + watermark opacity=1.00,watermark color=tcbcolback!85!tcbcolframe,% watermark zoom=0.75,clip watermark,% clip title=false,clip upper=false,clip lower=false,% no borderline,smart shadow arc,no shadow,no underlay,no finish,tikz reset,at begin tikz reset,at end tikz reset,% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 3533b029f2c..0c2e5902d91 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 a895a9b9d27..06ce9c04a5f 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \RequirePackage{amsmath} @@ -58,17 +58,17 @@ \if@fleqn% \tcbset{% - ams equation upper/.style={before upper=\tcb@hack@amsmath\equation,after upper=\endequation},% - ams equation lower/.style={before lower=\tcb@hack@amsmath\equation,after lower=\endequation},% - ams equation* upper/.style={before upper=\tcb@hack@amsmath\csname equation*\endcsname,after upper=\endequation},% - ams equation* lower/.style={before lower=\tcb@hack@amsmath\csname equation*\endcsname,after lower=\endequation}% + ams equation upper/.style={before upper*=\tcb@hack@amsmath\equation,after upper*=\endequation},% + ams equation lower/.style={before lower*=\tcb@hack@amsmath\equation,after lower*=\endequation},% + ams equation* upper/.style={before upper*=\tcb@hack@amsmath\csname equation*\endcsname,after upper*=\endequation},% + ams equation* lower/.style={before lower*=\tcb@hack@amsmath\csname equation*\endcsname,after lower*=\endequation}% }% \else% \tcbset{% - ams equation upper/.style={before upper=\tcb@hack@currenvir\equation,after upper=\endequation},% - ams equation lower/.style={before lower=\tcb@hack@currenvir\equation,after lower=\endequation},% - ams equation* upper/.style={before upper=\tcb@hack@currenvir\csname equation*\endcsname,after upper=\endequation},% - ams equation* lower/.style={before lower=\tcb@hack@currenvir\csname equation*\endcsname,after lower=\endequation},% + ams equation upper/.style={before upper*=\tcb@hack@currenvir\equation,after upper*=\endequation},% + ams equation lower/.style={before lower*=\tcb@hack@currenvir\equation,after lower*=\endequation},% + ams equation* upper/.style={before upper*=\tcb@hack@currenvir\csname equation*\endcsname,after upper*=\endequation},% + ams equation* lower/.style={before lower*=\tcb@hack@currenvir\csname equation*\endcsname,after lower*=\endequation},% }% \fi @@ -76,22 +76,22 @@ 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 upper/.style={before upper*=$\displaystyle,after upper*=$},% + math lower/.style={before lower*=$\displaystyle,after lower*=$},% math/.style={math upper,math lower},% ams equation/.style={ams equation upper,ams equation lower},% ams equation*/.style={ams equation* upper,ams equation* lower},% - ams align upper/.style={before upper=\tcb@hack@amsmath\align,after upper=\endalign},% - ams align lower/.style={before lower=\tcb@hack@amsmath\align,after lower=\endalign},% + ams align upper/.style={before upper*=\tcb@hack@amsmath\align,after upper*=\endalign},% + ams align lower/.style={before lower*=\tcb@hack@amsmath\align,after lower*=\endalign},% ams align/.style={ams align upper,ams align lower},% - ams align* upper/.style={before upper=\tcb@hack@amsmath\csname align*\endcsname,after upper=\endalign},% - ams align* lower/.style={before lower=\tcb@hack@amsmath\csname align*\endcsname,after lower=\endalign},% + ams align* upper/.style={before upper*=\tcb@hack@amsmath\csname align*\endcsname,after upper*=\endalign},% + ams align* lower/.style={before lower*=\tcb@hack@amsmath\csname align*\endcsname,after lower*=\endalign},% ams align*/.style={ams align* upper,ams align* lower},% - ams gather upper/.style={before upper=\tcb@hack@amsmath\gather,after upper=\endgather},% - ams gather lower/.style={before lower=\tcb@hack@amsmath\gather,after lower=\endgather},% + ams gather upper/.style={before upper*=\tcb@hack@amsmath\gather,after upper*=\endgather},% + ams gather lower/.style={before lower*=\tcb@hack@amsmath\gather,after lower*=\endgather},% ams gather/.style={ams gather upper,ams gather lower},% - ams gather* upper/.style={before upper=\tcb@hack@amsmath\csname gather*\endcsname,after upper=\endgather},% - ams gather* lower/.style={before lower=\tcb@hack@amsmath\csname gather*\endcsname,after lower=\endgather},% + ams gather* upper/.style={before upper*=\tcb@hack@amsmath\csname gather*\endcsname,after upper*=\endgather},% + ams gather* lower/.style={before lower*=\tcb@hack@amsmath\csname gather*\endcsname,after lower*=\endgather},% ams gather*/.style={ams gather* upper,ams gather* lower},% ams nodisplayskip upper/.style={before upper=\vskip-\abovedisplayskip},% ams nodisplayskip lower/.style={before lower=\vskip-\abovedisplayskip},% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex index 95a00bbd877..0f494da1dd5 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \tcbuselibrary{skins} @@ -280,7 +280,7 @@ % underlay@vignette/.style 2 args={underlay #1={% \begin{tcbclipframe}\tcbvignette{% - raised color=tcbcol@frame, + raised color=tcbcolframe, north size=\kvtcb@top@rule@stand, south size=\kvtcb@bottom@rule@stand, west size=\kvtcb@left@rule, @@ -310,11 +310,11 @@ % underlay raised shading vignette/.style={% underlay vignette={draw method=clipped, - north style={bottom color=tcbcol@frame,top color=tcbcol@frame!33!white}, - east style={left color=tcbcol@frame,right color=tcbcol@frame!66!black}, - south style={top color=tcbcol@frame,bottom color=tcbcol@frame!33!black}, - west style={right color=tcbcol@frame,left color=tcbcol@frame!66!white},#1}}, + north style={bottom color=tcbcolframe,top color=tcbcolframe!33!white}, + east style={left color=tcbcolframe,right color=tcbcolframe!66!black}, + south style={top color=tcbcolframe,bottom color=tcbcolframe!33!black}, + west style={right color=tcbcolframe,left color=tcbcolframe!66!white},#1}}, % underlay shade in vignette/.style={% - underlay vignette={draw method=clipped,color from=tcbcol@back to tcbcol@frame,#1}}, + underlay vignette={draw method=clipped,color from=tcbcolback to tcbcolframe,#1}}, } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex index 6ee56dc361d..be04cd80285 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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.15} +\tcb@set@library@version{4.20} \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 caa102b9f6f..778bf123638 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.15 (2018/12/07) +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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}[2018/12/07 version 4.15 text color boxes] -\def\tcb@version{4.15} +\ProvidesPackage{tcolorbox}[2019/03/02 version 4.20 text color boxes] +\def\tcb@version{4.20} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -30,6 +30,7 @@ \newif\iftcb@lowerignored \newif\iftcb@lowervisible \newif\iftcb@uppervisible +\newif\iftcb@titlevisible \newif\iftcb@hasTitle \newif\iftcb@hasLower \newif\iftcb@lowerspace @@ -129,7 +130,7 @@ \pgfkeys{/handlers/.colorlet/.code=\pgfkeysalso{\pgfkeyscurrentpath/.code=\colorlet{#1}{##1}}} \newcommand\tcbtitle{\ifx\tcbtitletext\@empty\else% - \leavevmode{\color{tcbcol@title}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@before@title\tcbtitletext\kvtcb@after@title}\fi} + \leavevmode{\color{tcbcoltitle}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@before@title\tcbtitletext\kvtcb@after@title}\fi} \def\tcb@detach@title@code@{% \let\tcbtitletext\kvtcb@title% @@ -164,6 +165,15 @@ \def\tcb@raggedleft@plain{\raggedleft\leftskip0pt plus2em \spaceskip.3333em \xspaceskip.5em \hbadness=10000\relax} \def\tcb@raggedcenter@plain{\centering\leftskip0pt plus2em\rightskip0pt plus2em\spaceskip.3333em \xspaceskip.5em \hbadness=10000\relax} +\def\tcb@insert@before@upper@ignore{\kvtcb@before@upper\ignorespaces} +\def\tcb@insert@before@upper@noignore{\kvtcb@before@upper} +\def\tcb@insert@before@lower@ignore{\kvtcb@before@lower\ignorespaces} +\def\tcb@insert@before@lower@noignore{\kvtcb@before@lower} +\def\tcb@insert@after@upper@unskip{\ifvmode\else\unskip\fi\kvtcb@after@upper} +\def\tcb@insert@after@upper@nounskip{\kvtcb@after@upper} +\def\tcb@insert@after@lower@unskip{\ifvmode\else\unskip\fi\kvtcb@after@lower} +\def\tcb@insert@after@lower@nounskip{\kvtcb@after@lower} + \tcbset{% title/.store in=\kvtcb@title, notitle/.style={title=}, @@ -247,12 +257,12 @@ bottom/.store in=\kvtcb@bottom, bottomtitle/.store in=\kvtcb@bottomtitle, middle/.store in=\kvtcb@middle, - colback/.colorlet=tcbcol@back, - colframe/.colorlet=tcbcol@frame, - colupper/.colorlet=tcbcol@upper, - collower/.colorlet=tcbcol@lower, + colback/.colorlet=tcbcolback, + colframe/.colorlet=tcbcolframe, + colupper/.colorlet=tcbcolupper, + collower/.colorlet=tcbcollower, coltext/.style={colupper=#1,collower=#1}, - coltitle/.colorlet=tcbcol@title, + coltitle/.colorlet=tcbcoltitle, fonttitle/.store in=\kvtcb@fonttitle, fontupper/.store in=\kvtcb@fontupper, fontlower/.store in=\kvtcb@fontlower, @@ -310,8 +320,11 @@ upperbox/.is choice, upperbox/visible/.code={\tcb@uppervisibletrue}, upperbox/invisible/.code={\tcb@uppervisiblefalse}, - visible/.style={upperbox=visible,lowerbox=visible}, - invisible/.style={upperbox=invisible,lowerbox=invisible}, + titlebox/.is choice, + titlebox/visible/.code={\tcb@titlevisibletrue}, + titlebox/invisible/.code={\tcb@titlevisiblefalse}, + visible/.style={upperbox=visible,lowerbox=visible,titlebox=visible}, + invisible/.style={upperbox=invisible,lowerbox=invisible,titlebox=invisible}, natural height/.code={\tcb@fixedheightfalse\tcb@@ch@@operation{\tcb@ch@natural}}, height/.code={\tcb@fixedheighttrue\tcb@dim@to\kvtcb@height@fixed{#1}\tcb@@ch@@operation{\tcb@ch@fixed}}, text height/.code={\tcb@fixedheighttrue\tcb@dim@to\kvtcb@height@fixed{#1}\tcb@@ch@@operation{\tcb@ch@innerfixed}}, @@ -543,12 +556,14 @@ standard jigsaw/.style={skin=standard jigsaw},% before title/.store in=\kvtcb@before@title,% after title/.store in=\kvtcb@after@title,% - before upper/.store in=\kvtcb@before@upper,% - after upper/.store in=\kvtcb@after@upper,% - after upper*/.style={after upper={#1}},% - before lower/.store in=\kvtcb@before@lower,% - after lower/.store in=\kvtcb@after@lower,% - after lower*/.style={after lower={#1}},% + before upper/.code={\def\kvtcb@before@upper{#1}\let\tcb@insert@before@upper\tcb@insert@before@upper@ignore},% + before upper*/.code={\def\kvtcb@before@upper{#1}\let\tcb@insert@before@upper\tcb@insert@before@upper@noignore},% + after upper/.code={\def\kvtcb@after@upper{#1}\let\tcb@insert@after@upper\tcb@insert@after@upper@unskip},% + after upper*/.code={\def\kvtcb@after@upper{#1}\let\tcb@insert@after@upper\tcb@insert@after@upper@nounskip},% + before lower/.code={\def\kvtcb@before@lower{#1}\let\tcb@insert@before@lower\tcb@insert@before@lower@ignore},% + before lower*/.code={\def\kvtcb@before@lower{#1}\let\tcb@insert@before@lower\tcb@insert@before@lower@noignore},% + after lower/.code={\def\kvtcb@after@lower{#1}\let\tcb@insert@after@lower\tcb@insert@after@lower@unskip},% + after lower*/.code={\def\kvtcb@after@lower{#1}\let\tcb@insert@after@lower\tcb@insert@after@lower@nounskip},% center title/.style={halign title=flush center},% center upper/.style={halign upper=flush center},% center lower/.style={halign lower=flush center},% @@ -561,12 +576,12 @@ tabularx*/.style 2 args={% boxsep=\z@,top=\z@,bottom=\z@,leftupper=\z@,rightupper=\z@, toptitle=1mm,bottomtitle=1mm,boxrule=0.5mm, - before upper={\arrayrulecolor{tcbcol@frame}\def\arraystretch{1.1}#1% + before upper*={\arrayrulecolor{tcbcolframe}\def\arraystretch{1.1}#1% \tcb@hack@currenvir\tabularx{\linewidth}{#2}}, - after upper=\endtabularx\arrayrulecolor{black}}, + after upper*=\endtabularx\arrayrulecolor{black}}, tabularx/.style={tabularx*={}{#1}}, - tikz upper/.style={before upper={\centering\tcb@shield@externalize\begin{tikzpicture}[{#1}]},after upper=\end{tikzpicture}},% - tikz lower/.style={before lower={\centering\tcb@shield@externalize\begin{tikzpicture}[{#1}]},after lower=\end{tikzpicture}},% + tikz upper/.style={before upper*={\centering\tcb@shield@externalize\begin{tikzpicture}[{#1}]},after upper*=\end{tikzpicture}},% + tikz lower/.style={before lower*={\centering\tcb@shield@externalize\begin{tikzpicture}[{#1}]},after lower*=\end{tikzpicture}},% tikznode upper/.style={before upper={\centering\tcb@shield@externalize\begin{tikzpicture}\node[{align=center,inner sep=\z@,outer sep=\z@,#1}]\bgroup},after upper={\egroup;\end{tikzpicture}}},% tikznode lower/.style={before lower={\centering\tcb@shield@externalize\begin{tikzpicture}\node[{align=center,inner sep=\z@,outer sep=\z@,#1}]\bgroup},after lower={\egroup;\end{tikzpicture}}},% tikznode/.style={tikznode upper={#1},tikznode lower={#1}},% @@ -627,6 +642,7 @@ hbox/.style={capture=hbox},% minipage/.style={capture=minipage},% void/.style={capture=v@@d,capture/.code=,options@for/.code=,code={\def\tcbinputlisting@core{}}}, + nirvana/.code={\let\tcb@draw@color@box\@empty}, check odd page/.is if=tcb@checkpage, if odd page/.code 2 args={% \tcbset{check odd page}% @@ -666,7 +682,7 @@ list entry/.store in=\kvtcb@listentry, list text/.style={list entry={\protect\numberline{\thetcbcounter}{\ignorespaces #1}}}, title filled/.is if=tcb@titlefilled,% - @colbacktitle/.colorlet=tcbcol@backtitle, + @colbacktitle/.colorlet=tcbcolbacktitle, colbacktitle/.style={title filled,@colbacktitle={#1}}, opacityupper/.store in=\kvtcb@opacityupper, opacitylower/.store in=\kvtcb@opacitylower, @@ -695,7 +711,6 @@ on line/.style={tcbox raise base,nobeforeafter}, shape@of@skin/.store in=\tcb@shapeofskin, ignore nobreak/.is if=tcb@ignorenobreak,% - only/.code args={<#1>#2}{\only<#1>{\tcbset{#2}}},% % tcbox width/.is choice, tcbox width/auto/.code={\def\tcb@embed@tcbox{}}, @@ -778,10 +793,10 @@ \let\endtcb@savebox=\endtcb@lrbox \def\tcb@saveupperbox{% -\begin{tcb@savebox}{\tcb@upperbox}{\tcb@w@upper}\kvtcb@fontupper\kvtcb@halignupper\kvtcb@before@upper\ignorespaces} +\begin{tcb@savebox}{\tcb@upperbox}{\tcb@w@upper}\kvtcb@fontupper\kvtcb@halignupper\tcb@insert@before@upper} \def\tcb@savelowerbox{% -\begin{tcb@savebox}{\tcb@lowerbox}{\tcb@w@lower}\kvtcb@fontlower\kvtcb@halignlower\kvtcb@before@lower\ignorespaces} +\begin{tcb@savebox}{\tcb@lowerbox}{\tcb@w@lower}\kvtcb@fontlower\kvtcb@halignlower\tcb@insert@before@lower} % counter for float @@ -816,7 +831,7 @@ \ifx\kvtcb@title\@empty\tcb@hasTitlefalse\tcb@specialtitle@hook\else% \tcb@hasTitletrue% \tcbdimto\tcb@w@title{\kvtcb@width-(\kvtcb@left@rule+\kvtcb@right@rule+(\kvtcb@boxsep)*2+\kvtcb@lefttitle+\kvtcb@righttitle)}% - \begin{tcb@savebox}{\tcb@titlebox}{\tcb@w@title}\color{tcbcol@title}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@before@title\kvtcb@title\kvtcb@after@title\end{tcb@savebox}% + \begin{tcb@savebox}{\tcb@titlebox}{\tcb@w@title}\color{tcbcoltitle}\kvtcb@fonttitle\kvtcb@haligntitle\kvtcb@before@title\kvtcb@title\kvtcb@after@title\end{tcb@savebox}% \fi% } @@ -886,17 +901,17 @@ \def\tcb@set@@upper@and@lower{% \colorlet{tcbcol@origin}{.}% - \let\tcb@after@box=\kvtcb@after@upper% + \let\tcb@insert@after@part=\tcb@insert@after@upper% % switch for lower box \def\tcblower{% - \ifvmode\else\unskip\fi\tcb@after@box% + \tcb@insert@after@part% \end{tcb@savebox}% - \tcb@set@color{tcbcol@lower}% + \tcb@set@color{tcbcollower}% \unless\iftcb@sidebyside% \tcbdimto\tcb@w@lower{\tcb@innerwidth-\kvtcb@boxsep*2-\kvtcb@leftlower-\kvtcb@rightlower}% \fi% \tcb@hasLowertrue% - \let\tcb@after@box=\kvtcb@after@lower% + \let\tcb@insert@after@part=\tcb@insert@after@lower% \ifx\kvtcb@savelowerto\@empty% \let\tcb@startbox\tcb@savelowerbox% \let\endtcolorbox\tcb@endboxanddraw% @@ -906,7 +921,7 @@ \fi% \tcb@startbox}% % start of upper box - \tcb@set@color{tcbcol@upper}% + \tcb@set@color{tcbcolupper}% \ifx\kvtcb@saveupperto\@empty% \let\tcb@startbox\tcb@saveupperbox% \let\endtcolorbox\tcb@endboxanddraw% @@ -1089,7 +1104,7 @@ \let\tcolorbox\tcb@colorbox \def\tcb@endboxanddraw{% - \ifvmode\else\unskip\fi\tcb@after@box% + \tcb@insert@after@part% \end{tcb@savebox}% \tcb@reset@color% \tcb@draw@color@box% @@ -1399,7 +1414,7 @@ \def\tcb@drawframe@standard{% \begin{pgfscope}% \tcb@boundaryframe@standard% - \pgfsetfillcolor{tcbcol@frame}% + \pgfsetfillcolor{tcbcolframe}% \pgfsetfillopacity{\kvtcb@opacityframe}% \pgfusepath{fill}% \end{pgfscope}% @@ -1409,7 +1424,7 @@ \def\tcb@drawframe@standardjigsaw{% \begin{pgfscope}% \tcb@boundaryframe@standardjigsaw% - \pgfsetfillcolor{tcbcol@frame}% + \pgfsetfillcolor{tcbcolframe}% \pgfsetfillopacity{\kvtcb@opacityframe}% \pgfusepath{fill}% \end{pgfscope}% @@ -1419,7 +1434,7 @@ \def\tcb@drawwithtitle@standard{% \begin{pgfscope}% \tcb@boundaryinterior@title@standard% - \pgfsetfillcolor{tcbcol@back}% + \pgfsetfillcolor{tcbcolback}% \pgfsetfillopacity{\kvtcb@opacityback}% \pgfusepath{fill}% \end{pgfscope}% @@ -1429,7 +1444,7 @@ \def\tcb@drawwithouttitle@standard{% \begin{pgfscope}% \tcb@boundaryinterior@notitle@standard% - \pgfsetfillcolor{tcbcol@back}% + \pgfsetfillcolor{tcbcolback}% \pgfsetfillopacity{\kvtcb@opacityback}% \pgfusepath{fill}% \end{pgfscope}% @@ -1439,7 +1454,7 @@ \def\tcb@drawtitle@standard{% \begin{pgfscope}% \tcb@boundarytitle@standard% - \pgfsetfillcolor{tcbcol@backtitle}% + \pgfsetfillcolor{tcbcolbacktitle}% \pgfsetfillopacity{\kvtcb@opacitybacktitle}% \pgfusepath{fill}% \end{pgfscope}% @@ -1458,7 +1473,7 @@ \pgfpathmoveto{\pgfqpoint{\kvtcb@left@rule}{\tcb@seg@pos}}% \pgfpathlineto{\pgfqpoint{\the\dimexpr\tcb@width-\kvtcb@right@rule\relax}{\tcb@seg@pos}}% \fi% - \pgfsetcolor{tcbcol@frame}% + \pgfsetcolor{tcbcolframe}% \pgfsetstrokeopacity{\kvtcb@opacityframe}% \pgfusepath{stroke}% \end{pgfscope}% @@ -1513,14 +1528,14 @@ } \def\tcb@tdraw@title@core{% - \iftcb@hasTitle% + \iftcb@hasTitle\iftcb@titlevisible%% \begin{pgfscope}% \pgfsetfillopacity{\kvtcb@opacitytitle}% \pgftext[x=\the\dimexpr\kvtcb@left@rule+\kvtcb@boxsep+\kvtcb@lefttitle\relax, y=\the\dimexpr\tcb@height-\kvtcb@top@rule-\kvtcb@boxsep-\kvtcb@toptitle\relax, - left,top]{\color{tcbcol@title}\box\tcb@titlebox}% + left,top]{\color{tcbcoltitle}\box\tcb@titlebox}% \end{pgfscope}% - \fi% + \fi\fi% } \let\tcb@tdraw@title=\tcb@tdraw@title@core @@ -1530,7 +1545,7 @@ \pgfsetfillopacity{\kvtcb@opacityupper}% \csname tcb@dbox@\kvtcb@valignupper\endcsname{\the\dimexpr\kvtcb@left@rule+\kvtcb@boxsep+\kvtcb@leftupper\relax}% {\the\dimexpr\tcb@innerheight+\kvtcb@bottom@rule-\kvtcb@boxsep-\tcb@break@topsep-\kvtcb@top-\tcb@height@upper\relax}% - {\tcb@height@upper}{\tcb@upperbox}{tcbcol@upper}% + {\tcb@height@upper}{\tcb@upperbox}{tcbcolupper}% \end{pgfscope}% \fi% } @@ -1542,7 +1557,7 @@ \pgfsetfillopacity{\kvtcb@opacitylower}% \csname tcb@dbox@\kvtcb@valignlower\endcsname{\the\dimexpr\kvtcb@left@rule+\kvtcb@boxsep+\kvtcb@leftlower\relax}% {\the\dimexpr\kvtcb@bottom@rule+\kvtcb@boxsep+\tcb@break@bottomsep+\kvtcb@bottom\relax}% - {\tcb@height@lower}{\tcb@lowerbox}{tcbcol@lower}% + {\tcb@height@lower}{\tcb@lowerbox}{tcbcollower}% \end{pgfscope}% \fi% } @@ -1573,7 +1588,7 @@ \fi% \iftcb@hasLower% \tcb@box@align{\tcb@lowerbox}% - \iftcb@lowervisible\leavevmode\color{tcbcol@lower}\unhbox\tcb@lowerbox% + \iftcb@lowervisible\leavevmode\color{tcbcollower}\unhbox\tcb@lowerbox% \else% \iftcb@lowerignored\else\rule[-\dp\tcb@lowerbox]{\z@}{\the\dimexpr\ht\tcb@lowerbox+\dp\tcb@lowerbox\relax}\fi% \fi% @@ -1716,8 +1731,8 @@ \tcbset{breakable@false,sidebyside=false}% \tcb@set@@phantom% \colorlet{tcbcol@origin}{.}% - \tcb@set@color{tcbcol@upper}% - \sbox\tcb@upperbox{\tcb@embed@tcbox{\kvtcb@fontupper\kvtcb@halignupper\kvtcb@before@upper\ignorespaces#1\ifvmode\else\unskip\fi\kvtcb@after@upper}}% + \tcb@set@color{tcbcolupper}% + \sbox\tcb@upperbox{\tcb@embed@tcbox{\kvtcb@fontupper\kvtcb@halignupper\tcb@insert@before@upper#1\tcb@insert@after@upper}}% \tcb@reset@color% \tcbdimto\tcb@val@raisebase{\the\dimexpr\dp\tcb@upperbox+\kvtcb@bottom+\kvtcb@boxsep+\kvtcb@bottom@rule@stand+\kvtcb@bbbottom@stand\relax}% \tcbdimto\kvtcb@width{\wd\tcb@upperbox+\kvtcb@left@rule+\kvtcb@leftupper+\kvtcb@boxsep*2+\kvtcb@rightupper+\kvtcb@right@rule}% @@ -1734,8 +1749,8 @@ \tcb@set@@title% \tcb@set@@dimensions% \colorlet{tcbcol@origin}{.}% - \tcb@set@color{tcbcol@upper}% - \begin{tcb@savebox}{\tcb@upperbox}{\tcb@w@upper}\kvtcb@fontupper\kvtcb@halignupper\kvtcb@before@upper\ignorespaces#1\ifvmode\else\unskip\fi\kvtcb@after@upper\end{tcb@savebox}% + \tcb@set@color{tcbcolupper}% + \begin{tcb@savebox}{\tcb@upperbox}{\tcb@w@upper}\kvtcb@fontupper\kvtcb@halignupper\tcb@insert@before@upper#1\tcb@insert@after@upper\end{tcb@savebox}% \tcb@reset@color% \tcb@hasLowerfalse% \tcb@draw@color@box% @@ -1758,13 +1773,13 @@ \newcommand{\tcbsubtitle}[2][]{% \begingroup% - \colorlet{tcbtranscol@frame}{tcbcol@frame}% + \colorlet{tcbtranscol@frame}{tcbcolframe}% \iftcb@titlefilled% - \colorlet{tcbtranscol@back}{tcbcol@backtitle}% + \colorlet{tcbtranscol@back}{tcbcolbacktitle}% \else% - \colorlet{tcbtranscol@back}{tcbcol@frame}% + \colorlet{tcbtranscol@back}{tcbcolframe}% \fi% - \colorlet{tcbtranscol@upper}{tcbcol@title}% + \colorlet{tcbtranscol@upper}{tcbcoltitle}% \let\tcb@trans@fontupper\kvtcb@fonttitle% \let\tcb@trans@boxsep\kvtcb@boxsep% \let\tcb@trans@left\kvtcb@leftupper% @@ -2112,7 +2127,7 @@ size=normal,rounded corners,parfillskip restore, enlarge top by=0mm,enlarge bottom by=0mm,enlarge left by=0mm,enlarge right by=0mm, toggle enlargement=none,toggle left and right=none, - baseline=0pt,adjust text={\"Apgjy},upperbox=visible,lowerbox=visible,lower separated, + baseline=0pt,adjust text={\"Apgjy},upperbox=visible,lowerbox=visible,titlebox=visible,lower separated, colback=black!5!white,colframe=black!75!white,@colbacktitle=black!50!white,coltext=black,coltitle=white, fonttitle=,fontupper=,fontlower=,floatplacement=htb,nofloat,saveto=,savelowerto=, tempfile={\jobname.tcbtemp}, |