summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/CHANGES8
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/README2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdfbin361345 -> 361340 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex30
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex61
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdfbin5275975 -> 5287003 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex9
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex164
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex9
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty15
22 files changed, 256 insertions, 88 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
index 07122cf9d68..94501ca2cc6 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
+++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
@@ -722,3 +722,9 @@ version 3.36 (2015/01/09)
'color counter', 'color length',
'doclang/counter', 'doclang/counters', 'doclang/length', 'doclang/lengths'
+version 3.40 (2015/01/14)
+- bug fix: list environments had too much leading space if set as first elements in a box
+- library 'skins':
+ * new option: 'titlerule style'
+- library 'breakable':
+ algorithm for handling overfull boxes revised; new warnings implemented
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README
index 30adaaea12d..25413d9a425 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/README
+++ b/Master/texmf-dist/doc/latex/tcolorbox/README
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
index 10da2a9d6b7..1192d920622 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
index ee6e83eae74..a6c1cd73488 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcolorbox-example.tex: an example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex
index c678aeac285..ff8fd6cc9cb 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex
@@ -34,19 +34,45 @@
\begin{tcolorbox}[enhanced,title={tcolorbox},before skip=5mm,after skip=5mm,
colframe=red!50!black!30!white,colback=red!10!white!40!white,
colbacktitle=red!30!white,coltext=black!20!white,
+ toptitle=1mm,bottomtitle=1mm,
+ overlay={\begin{tcbclipinterior}%
+ \path[fill=red!10!white!40!yellow!20!white,draw=yellow!50!black,dotted]
+ ([xshift=1mm,yshift=1mm]interior.south west)
+ rectangle ([xshift=-1mm,yshift=-1mm]interior.north east);
+ \path[fill=red!10!white!40!white,draw=yellow!50!black,dotted] (
+ [xshift=5mm,yshift=3mm]interior.south west)
+ rectangle ([xshift=-5mm,yshift=-3mm]interior.north east);
+ \path[fill=red!10!white!40!yellow!20!white,draw=yellow!50!black,dotted]
+ ([xshift=5mm,yshift=-1mm]segmentation.south west)
+ rectangle ([xshift=-5mm,yshift=1mm]segmentation.north east);
+ \path[fill=red!10!white!40!white,draw=yellow!50!black,dotted]
+ ([xshift=5mm,yshift=1mm]segmentation.south west)
+ rectangle ([xshift=-5mm,yshift=-1mm]segmentation.north east);
+ \path[dashed,draw=red!50!black!30!white] (segmentation.west) -- (segmentation.east);
+ \end{tcbclipinterior}%
+ \begin{tcbcliptitle}
+ \path[fill=red!30!white!70!yellow,draw=yellow!50!black,dotted]
+ ([xshift=1mm,yshift=1mm]title.south west)
+ rectangle ([xshift=-1mm,yshift=-1mm]title.north east);
+ \path[fill=red!30!white,draw=yellow!50!black,dotted]
+ ([xshift=5mm,yshift=2mm]title.south west)
+ rectangle ([xshift=-5mm,yshift=-2mm]title.north east);
+ \end{tcbcliptitle}},
finish={
\coordinate (A) at ([yshift=-0.25mm]frame.north);
\draw[thick,<-] (A) -- +(-1,0.3) node[left]{\refKey{/tcb/toprule}};
\coordinate (A) at ([yshift=-0.75mm]A);
\draw[thick,<-] (A) -- +(1,0) node[right]{\refKey{/tcb/boxsep}};
+ \coordinate (A) at ([yshift=-1mm]A);
\draw[thick,<-] (A) -- +(-1,0) node[left]{\refKey{/tcb/toptitle}};
%
\coordinate (A) at ([yshift=1.00mm]interior.north);
\draw[thick,<-] (A) -- +(1,0) node[right]{\refKey{/tcb/boxsep}};
+ \coordinate (A) at ([yshift=1mm]A);
\draw[thick,<-] (A) -- +(-1,0) node[left]{\refKey{/tcb/bottomtitle}};
\coordinate (A) at ([yshift=0.25mm]interior.north);
\draw[thick,<-] (A) -- +(-1,-0.4) node[left]{\refKey{/tcb/titlerule}};
- \coordinate (A) at ([yshift=-0.25mm]interior.north);
+ \coordinate (A) at ([yshift=-0.5mm]interior.north);
\draw[thick,<-] (A) -- +(1,-0.2) node[right]{\refKey{/tcb/boxsep}};
\coordinate (A) at ([yshift=-1.5mm]A);
\draw[thick,<-] (A) -- +(-1,-0.6) node[left]{\refKey{/tcb/top}};
@@ -64,7 +90,7 @@
\draw[thick,<-] (A) -- +(-1,-0.3) node[left]{\refKey{/tcb/bottomrule}};
\coordinate (A) at ([yshift=0.75mm]A);
\draw[thick,<-] (A) -- +(1,0) node[right]{\refKey{/tcb/boxsep}};
- \coordinate (A) at ([yshift=2.5mm]A);
+ \coordinate (A) at ([yshift=1.5mm]A);
\draw[thick,<-] (A) -- +(-1,0) node[left]{\refKey{/tcb/bottom}};
%
\coordinate (A) at ([xshift=0.25mm]frame.west);
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 4e70982b8e0..aaf54ac37ed 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
@@ -287,6 +287,67 @@ This is the lower part.
\end{dispExample*}
\end{docTcbKey}
+
+\clearpage
+
+
+\begin{docTcbKey}[][doc new=2015-01-14]{titlerule style}{=\meta{\texttt{\upshape tikz} keys}}{style, no default}
+ The \meta{\texttt{\upshape tikz} keys} are used to draw a title rule,
+ i.e.\ a rule below the optional title. The width of the rule is controlled
+ by \refKey{/tcb/titlerule}. It may be set directly to a smaller width
+ to create mixed effects with the standard rule.
+ This option is implemented as an \refKey{/tcb/underlay}. Thus, it is not
+ available for \refSkin{standard} and \refSkin{standard jigsaw}, but for
+ all other skins, e.g.\ \refSkin{enhanced}.
+ As an underlay, this option can be used multiple times and is removed
+ by \refKey{/tcb/no underlay}.
+\begin{dispExample*}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,
+ colback=red!5!white,colframe=red!75!black,
+ colbacktitle=red!50!yellow,fonttitle=\bfseries,
+ title=My title,
+ titlerule=1mm,
+ titlerule style=yellow ]
+This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{dispExample*}
+
+\begin{dispExample*}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,
+ colback=red!5!white,colframe=red!75!black,
+ colbacktitle=red!50!yellow,fonttitle=\bfseries,
+ title=My title,
+ titlerule=1mm,
+ titlerule style={yellow,line width=0.5mm} ]
+This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{dispExample*}
+
+\begin{dispExample*}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,
+ colback=red!10!white,colframe=red!75!black,
+ colbacktitle=red!50!yellow,fonttitle=\bfseries,
+ frame hidden,
+ title=My title,
+ boxrule=0pt,titlerule=1mm,
+ titlerule style=red!50!black ]
+This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{dispExample*}
+
+\begin{dispExample*}{sbs,lefthand ratio=0.66}
+%\usetikzlibrary{arrows.meta}
+\begin{tcolorbox}[empty,
+ coltitle=red!75!black,fonttitle=\bfseries,
+ borderline horizontal={0.5mm}{0pt}{red!50!white},
+ title=My title,
+ titlerule style={red,
+ arrows = {Hooks[arc=270]-Hooks[arc=270]}} ]
+This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{dispExample*}
+\end{docTcbKey}
+
\clearpage
The combined \tikzname\ style applied to frame, interior, and title
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
index b6c11367e9a..5139fe5be3c 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
index 29b1323fc0e..101d95b3e64 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcolorbox.tex: Manual
%%
%% -------------------------------------------------------------------------------------------
@@ -57,6 +57,7 @@
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{patterns}
\usetikzlibrary{spy}
+\usetikzlibrary{arrows.meta}
\usepackage{array,tabularx}
\usepackage{amsmath}
@@ -109,8 +110,8 @@
\renewcommand*{\tcbdocnew}[1]{\textcolor{green!50!black}{\sffamily\bfseries N} #1}
\renewcommand*{\tcbdocupdated}[1]{\textcolor{blue!75!black}{\sffamily\bfseries U} #1}
-\def\version{3.36}%
-\def\datum{2015/01/09}%
+\def\version{3.40}%
+\def\datum{2015/01/14}%
\makeindex
\hypersetup{
@@ -380,7 +381,7 @@
%\tcbset{draftmode}
-%\includeonly{tcolorbox.doc.coreoptions}
+%\includeonly{tcolorbox.doc.skins}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
index 70e36b1c073..d57cd4e4f01 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 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbbreakable.code.tex: Code for breakable colorboxes
%%
%% -------------------------------------------------------------------------------------------
-%% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
+%% Copyright (c) 2006-2015 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{3.36}
+\tcb@set@library@version{3.40}
\let\tcb@parboxrestore@true=\tcb@parboxrestore
\def\tcb@parboxrestore@false{\vskip-\parskip\linewidth\hsize\noindent}
@@ -354,25 +354,68 @@
\tcbdimto\tcb@h@upper{\ht\tcb@upperbox+\dp\tcb@upperbox}%
}
+
+\def\tcb@split@upper@box@and@assemble{%
+ \vfuzz=\maxdimen\vbadness=10000\savingvdiscards=1%
+ \setbox\tcb@upperbox=\vsplit\tcb@totalupperbox to\tcb@split@dim%
+ \edef\tcb@upper@box@badness{\the\badness}%
+ \ifnum\tcb@upper@box@badness=1000000\relax%
+ \setbox\tcb@totalupperbox=\vbox{%
+ \unvbox\tcb@upperbox%
+ \splitdiscards%
+ \unvbox\tcb@totalupperbox}%
+ \else%
+ \tcb@setbox@upper{\tcb@split@dim}{\tcb@upperbox}%
+ \fi%
+ \vbadness=\tcb@thevbadness\vfuzz=\tcb@thevfuzz\savingvdiscards=0%
+}
+
+
\def\tcb@split@upper@box{%
\vfuzz=\maxdimen\vbadness=10000%
\setbox\tcb@upperbox=\vsplit\tcb@totalupperbox to\tcb@split@dim%
+ \edef\tcb@upper@box@badness{\the\badness}%
+ \ifnum\tcb@upper@box@badness=1000000\relax%
+ \tcb@warning{The upper box part has become overfull}%
+ \fi%
\tcb@setbox@upper{\tcb@split@dim}{\tcb@upperbox}%
\vbadness=\tcb@thevbadness\vfuzz=\tcb@thevfuzz%
}
+
\def\tcb@setbox@lower#1#2{%
\tcb@setbox\tcb@lowerbox{#1}{#2}%
\tcbdimto\tcb@h@lower{\ht\tcb@lowerbox+\dp\tcb@lowerbox}%
}
+\def\tcb@split@lower@box@and@assemble{%
+ \vfuzz=\maxdimen\vbadness=10000\savingvdiscards=1%
+ \setbox\tcb@lowerbox=\vsplit\tcb@totallowerbox to\tcb@split@dim%
+ \edef\tcb@lower@box@badness{\the\badness}%
+ \ifnum\tcb@lower@box@badness=1000000\relax%
+ \setbox\tcb@totallowerbox=\vbox{%
+ \unvbox\tcb@lowerbox%
+ \splitdiscards%
+ \unvbox\tcb@totallowerbox}%
+ \else%
+ \tcb@setbox@lower{\tcb@split@dim}{\tcb@lowerbox}%
+ \fi%
+ \vbadness=\tcb@thevbadness\vfuzz=\tcb@thevfuzz\savingvdiscards=0%
+}
+
+
\def\tcb@split@lower@box{%
\vfuzz=\maxdimen\vbadness=10000%
\setbox\tcb@lowerbox=\vsplit\tcb@totallowerbox to\tcb@split@dim%
+ \edef\tcb@lower@box@badness{\the\badness}%
+ \ifnum\tcb@lower@box@badness=1000000\relax%
+ \tcb@warning{The lower box part has become overfull}%
+ \fi%
\tcb@setbox@lower{\tcb@split@dim}{\tcb@lowerbox}%
\vbadness=\tcb@thevbadness\vfuzz=\tcb@thevfuzz%
}
+
\def\tcb@split@setstate@first{%
\edef\tcb@split@state{first}%
\let\kvtcb@top@rule=\kvtcb@top@rule@stand%
@@ -412,6 +455,17 @@
}
+\def\tcb@split@break@to@start{%
+ \tcb@swap{\tcb@totalupperbox}{\tcb@upperbox}%
+ \tcb@swap{\tcb@totallowerbox}{\tcb@lowerbox}%
+ \tcbdimto\tcb@h@upper{\ht\tcb@upperbox+\dp\tcb@upperbox}%
+ \tcbdimto\tcb@h@lower{\ht\tcb@lowerbox+\dp\tcb@lowerbox}%
+ \iftcb@multicol\columnbreak\else\pagebreak\fi%
+ \tcb@nobreak@warning%
+ \tcb@enlbreak@init\tcb@break@allowedfalse%
+ \let\tcb@split@next=\tcb@split@start%
+}
+
\def\tcb@split@first{%
\setcounter{tcbbreakpart}{1}%
\ifx\kvtcb@float\@empty%
@@ -463,29 +517,39 @@
\let\tcb@split@next=\relax%
\tcbdimto\tcb@split@dim{\tcb@h@page-\tcb@h@padding@first-\tcb@h@padtitle}%
\ifdim\tcb@split@dim<\tcb@h@upper\relax%
- \tcb@split@upper@box%
- \ifdim\wd\tcb@totalupperbox=0pt\relax%
- \iftcb@lowerspace%
- \tcb@sdraw@U%
- \let\tcb@split@next=\tcb@split@SL%
+ %
+ %
+ \iftcb@break@allowed%
+ \tcb@split@upper@box@and@assemble%
+ \ifnum\tcb@upper@box@badness=1000000\relax%
+ \tcb@split@break@to@start%
\else%
- \tcb@split@force@standalone%
- \tcb@drawcolorbox@standalone%
+ \ifdim\wd\tcb@totalupperbox=0pt\relax%
+ \iftcb@lowerspace%
+ \tcb@sdraw@U%
+ \let\tcb@split@next=\tcb@split@SL%
+ \else%
+ \tcb@split@force@standalone%
+ \tcb@drawcolorbox@standalone%
+ \fi%
+ \else%
+ \ifdim\dimexpr\tcb@h@upper=0pt\relax%
+ \tcb@split@break@to@start%
+ \else%
+ \tcb@sdraw@U%
+ \let\tcb@split@next=\tcb@split@USL%
+ \fi%
+ \fi%
\fi%
\else%
- \ifdim\dimexpr\tcb@h@upper=0pt\relax%
- \iftcb@break@allowed
- \tcb@swap{\tcb@totalupperbox}{\tcb@upperbox}%
- \tcb@swap{\tcb@totallowerbox}{\tcb@lowerbox}%
- \tcbdimto\tcb@h@upper{\ht\tcb@upperbox+\dp\tcb@upperbox}%
- \tcbdimto\tcb@h@lower{\ht\tcb@lowerbox+\dp\tcb@lowerbox}%
- \iftcb@multicol\columnbreak\else\pagebreak\fi%
- \tcb@nobreak@warning%
- \tcb@enlbreak@init\tcb@break@allowedfalse%
- \let\tcb@split@next=\tcb@split@start%
- \else%
+ \tcb@split@upper@box%
+ \ifdim\wd\tcb@totalupperbox=0pt\relax%
+ \iftcb@lowerspace%
\tcb@sdraw@U%
- \let\tcb@split@next=\tcb@split@USL%
+ \let\tcb@split@next=\tcb@split@SL%
+ \else%
+ \tcb@split@force@standalone%
+ \tcb@drawcolorbox@standalone%
\fi%
\else%
\tcb@sdraw@U%
@@ -494,23 +558,29 @@
\fi%
\else%
\tcb@swap{\tcb@totalupperbox}{\tcb@upperbox}%
- \tcbdimto\tcb@split@dim{\tcb@split@dim-\tcb@h@upper-\tcb@h@segment}
- \ifdim\tcb@split@dim<\kvtcb@breakminlines\baselineskip\relax%
- \tcb@sdraw@U%
- \iftcb@lowerspace%
- \let\tcb@split@next=\tcb@split@SL%
- \else%
- \let\tcb@split@next=\tcb@split@USL%
- \fi%
- \else
- \tcb@split@lower@box%
- \ifdim\wd\tcb@totallowerbox=0pt\relax%
- \tcb@split@force@standalone%
- \tcb@drawcolorbox@standalone%
- \else%
- \tcb@sdraw@USL%
- \let\tcb@split@next=\tcb@split@L%
+ \iftcb@lowerspace%
+ \tcbdimto\tcb@split@dim{\tcb@split@dim-\tcb@h@upper-\tcb@h@segment}%
+ \ifdim\tcb@split@dim<\kvtcb@breakminlines\baselineskip\relax%
+ \tcb@sdraw@U%
+ \let\tcb@split@next=\tcb@split@SL%
+ \else
+ \tcb@split@lower@box@and@assemble%
+ \ifnum\tcb@lower@box@badness=1000000\relax%
+ \tcb@sdraw@U%
+ \let\tcb@split@next=\tcb@split@SL%
+ \else%
+ \ifdim\wd\tcb@totallowerbox=0pt\relax%
+ \tcb@split@force@standalone%
+ \tcb@drawcolorbox@standalone%
+ \else%
+ \tcb@sdraw@USL%
+ \let\tcb@split@next=\tcb@split@L%
+ \fi%
+ \fi%
\fi%
+ \else%
+ \tcb@split@force@standalone%
+ \tcb@drawcolorbox@standalone%
\fi%
\fi%
\tcb@split@next%
@@ -568,13 +638,18 @@
\tcb@sdraw@U%
\let\tcb@split@next=\tcb@split@SL%
\else
- \tcb@split@lower@box%
- \ifdim\wd\tcb@totallowerbox=0pt\relax%
- \tcb@split@force@last%
- \tcb@sdraw@USL%
+ \tcb@split@lower@box@and@assemble%
+ \ifnum\tcb@lower@box@badness=1000000\relax%
+ \tcb@sdraw@U%
+ \let\tcb@split@next=\tcb@split@SL%
\else%
- \tcb@sdraw@USL%
- \let\tcb@split@next=\tcb@split@L%
+ \ifdim\wd\tcb@totallowerbox=0pt\relax%
+ \tcb@split@force@last%
+ \tcb@sdraw@USL%
+ \else%
+ \tcb@sdraw@USL%
+ \let\tcb@split@next=\tcb@split@L%
+ \fi%
\fi%
\fi%
\else%
@@ -851,4 +926,3 @@
},
initialize@reset=reset@breakable,
}
-
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
index 0ae88d8f606..1c6d8136290 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbdocumentation.code.tex: Code for LaTeX documentations
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\tcbuselibrary{listings,skins,xparse}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
index e1476cc29fe..7b4494f51cc 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbfitting.code.tex: Code for fit boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\newdimen\tcbfitdim
\newdimen\tcb@lowerfitdim
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
index 4f7b4241c28..eaca77d7971 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbhooks.code.tex: Code for adding hooks
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\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 f5b766a1857..36027d98a50 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcblistings.code.tex: Code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\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 afc815f7052..675bbae9f42 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\RequirePackage{pdftexcmds}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
index 260f3ea0798..acf5b37acd5 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\RequirePackage{listingsutf8}[2011/11/10]
\tcbuselibrary{listings}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
index 22c9c8afee4..6cd3b50e566 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbminted.code.tex: Code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\RequirePackage{minted}[2011/09/17]
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
index 4672742f3e8..0a8ec07071a 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\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 311de930cd8..839276d50ac 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbskins.code.tex: Code for colorboxes with different skins
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\RequirePackage{tikz}[2010/10/13]
@@ -371,6 +371,11 @@
@title style/.code={\tikzset{title@style/.style={#1}}},%
title style/.style={title filled,@title style={#1}},
title hidden/.style={title style={draw=none,fill=none}},
+ titlerule style/.style={%
+ underlay={\iftcb@hasTitle%
+ \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,%
clear@spec/.code={\tcb@spec{}},%
tikz/.code={\appto\tcb@tikz@option@hook{,#1}},%
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
index 459b73a63cf..e9e37a4845c 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\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 5f1eb1793c5..3e5488bb996 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbtheorems.code.tex: Code for theorems in colorboxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\RequirePackage{amsmath}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
index 82d0a53d48d..ec3fc14afab 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcbhooks.code.tex: Code for adding hooks
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb@set@library@version{3.36}
+\tcb@set@library@version{3.40}
\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 9951d150ca5..13d6b24083c 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.36 (2015/01/09)
+%% The LaTeX package tcolorbox - version 3.40 (2015/01/14)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tcolorbox}[2015/01/09 version 3.36 text color boxes]
-\def\tcb@version{3.36}
+\ProvidesPackage{tcolorbox}[2015/01/14 version 3.40 text color boxes]
+\def\tcb@version{3.40}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -547,10 +547,10 @@
\let\endtcb@savebox=\endtcb@lrbox
\def\tcb@saveupperbox{%
-\begin{tcb@savebox}{\tcb@upperbox}{\tcb@w@upper}\penalty-\@m\kvtcb@fontupper\kvtcb@before@upper\ignorespaces}
+\begin{tcb@savebox}{\tcb@upperbox}{\tcb@w@upper}\kvtcb@fontupper\kvtcb@before@upper\ignorespaces}
\def\tcb@savelowerbox{%
-\begin{tcb@savebox}{\tcb@lowerbox}{\tcb@w@lower}\penalty-\@m\kvtcb@fontlower\kvtcb@before@lower\ignorespaces}
+\begin{tcb@savebox}{\tcb@lowerbox}{\tcb@w@lower}\kvtcb@fontlower\kvtcb@before@lower\ignorespaces}
% counter for float
@@ -612,9 +612,7 @@
% computation of text width
\tcbdimto\tcb@width{\kvtcb@width}%
\tcbdimto\tcb@innerwidth{\tcb@width-\kvtcb@left@rule-\kvtcb@right@rule}%
- %\tcbdimto\tcb@temp{\tcb@innerwidth-\kvtcb@boxsep*2}%
\tcbdimto\tcb@w@upper{\tcb@innerwidth-\kvtcb@boxsep*2-\kvtcb@leftupper-\kvtcb@rightupper}%
- %\tcbdimto\tcb@w@upper{\tcb@temp-\kvtcb@leftupper-\kvtcb@rightupper}%
}
\def\tcb@set@@sidebyside{%
@@ -1281,9 +1279,6 @@
\tcb@set@@title%
\tcb@set@@dimensions%
\begin{tcb@savebox}{\tcb@upperbox}{\tcb@w@upper}\color{tcbcol@upper}\kvtcb@fontupper\kvtcb@before@upper\ignorespaces#1\unskip\kvtcb@after@upper\end{tcb@savebox}%
- %\tcbdimto{\tcb@temp@wd}{\wd\tcb@upperbox}%
- %\tcbdimto\kvtcb@width{\tcb@temp@wd+\kvtcb@left@rule+\kvtcb@leftupper+\kvtcb@boxsep*2+\kvtcb@rightupper+\kvtcb@right@rule}%
- %\let\tcb@width\kvtcb@width%
\tcb@hasLowerfalse%
\tcb@draw@color@box%
}