summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-06-25 15:10:50 +0000
committerKarl Berry <karl@freefriends.org>2014-06-25 15:10:50 +0000
commit386b0766bf3d980ab3b41391fb0ee0171982bd39 (patch)
treebe6394ec01460473a07ce0d9c7271deeeafd626e /Master/texmf-dist/tex
parentd72acecbf64392fff4f249d23e2475245fa8d395 (diff)
tcolorbox (28may14)
git-svn-id: svn://tug.org/texlive/trunk@34406 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex8
-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.tex9
-rw-r--r--Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex107
-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.sty20
13 files changed, 123 insertions, 57 deletions
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
index 22b7f4d7993..e020d19ac07 100644
--- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
+++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% tcbbreakable.code.tex: Code for breakable colorboxes
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb@set@library@version{3.04}
+\tcb@set@library@version{3.05}
\let\tcb@parboxrestore@true=\tcb@parboxrestore
\def\tcb@parboxrestore@false{\vskip-\parskip\linewidth\hsize\noindent}
@@ -556,6 +556,10 @@
breakable/.style={breakable@#1},
breakable/.default=true,%
unbreakable/.style={breakable=false},%
+ enforce breakable/.code={%
+ \let\tcb@savebox=\tcb@vbox%
+ \let\endtcb@savebox=\endtcb@vbox%
+ \let\tcb@drawcolorbox=\tcb@drawcolorbox@breakable},
title after break/.store in=\kvtcb@followingtitle,%
notitle after break/.style={title after break=},%
adjusted title after break/.style={title after break={#1\vphantom{\kvtcb@adjusttext}}},%
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
index 1d1f1397f33..062dbf971f8 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\tcbuselibrary{listings,skins}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
index 18c04aaaf84..27789460801 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\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 d0ebfb12c9c..90e48e2a386 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\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 061c3d7a2b0..f43baa7826b 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\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 63713ac5477..ccbe190ca24 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\def\tcbuselistingtext{\input{\kvtcb@listingfile}}%
\def\tcbuselistingcomment{\kvtcb@listingcomment}%
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
index 3b3d2ca715f..a17c1807983 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\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 6a2af63f945..bc1f0b9b900 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\RequirePackage{minted}[2011/09/17]
@@ -28,7 +28,10 @@
\edef\temp@a{#4}%
\ifx\temp@a\@empty%
\else
- \usemintedstyle{\temp@a}%
+ %\usemintedstyle{\temp@a}%
+ \toks@=\expandafter{#4}%
+ \edef\tcb@temp{\noexpand\usemintedstyle{\the\toks@}}%
+ \tcb@temp%
\fi%
\toks@=\expandafter{#1}%
\edef\tcb@temp{\noexpand\inputminted[\the\toks@]}%
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
index 8b540e35bbe..0146ccf44de 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\RequirePackage{tikz}[2010/10/13]
@@ -370,28 +370,32 @@
base@unbroken/.style={%
clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,%
set@outerboundary=\tcb@boundaryframe@standard,%
- set@extensions@preframe={\tcb@draw@shadow@unbroken},%
+ shape@of@skin=unbroken,%
+ set@extensions@preframe={\kvtcb@shadow},%
set@extensions@postframe={\tcb@draw@border@unbroken\tcb@apply@underlay\tcb@apply@overlay},%
set@extensions@final={\tcb@apply@finish}%
},%
base@first/.style={%
clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,%
set@outerboundary=\tcb@boundaryframe@pathfirst,%
- set@extensions@preframe={\tcb@draw@shadow@first},%
+ shape@of@skin=first,%
+ set@extensions@preframe={\kvtcb@shadow},%
set@extensions@postframe={\tcb@draw@border@first\tcb@apply@underlay\tcb@apply@overlay},%
set@extensions@final={\tcb@apply@finish}%
},%
base@middle/.style={%
clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,%
set@outerboundary=\tcb@boundaryframe@pathmiddle,%
- set@extensions@preframe={\tcb@draw@shadow@middle},%
+ shape@of@skin=middle,%
+ set@extensions@preframe={\kvtcb@shadow},%
set@extensions@postframe={\tcb@draw@border@middle\tcb@apply@underlay\tcb@apply@overlay},%
set@extensions@final={\tcb@apply@finish}%
},%
base@last/.style={%
clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,%
set@outerboundary=\tcb@boundaryframe@pathlast,%
- set@extensions@preframe={\tcb@draw@shadow@last},%
+ shape@of@skin=last,%
+ set@extensions@preframe={\kvtcb@shadow},%
set@extensions@postframe={\tcb@draw@border@last\tcb@apply@underlay\tcb@apply@overlay},%
set@extensions@final={\tcb@apply@finish}%
},%
@@ -735,7 +739,7 @@
segmentation code={\tcb@drawspec@widgetsegment},%
skin first=widgetmiddle,skin middle=widgetmiddle,skin last=widgetlast}
-\tcb@new@skin{spartan}{graphical environment=tikzpicture@tcb@hooked,geometry nodes=true,
+\tcb@new@skin{spartan}{graphical environment=tikzpicture@tcb@hooked,geometry nodes=true,shape@of@skin=unbroken,%
set@extensions@preframe=,set@extensions@postframe={\tcb@apply@underlay},set@extensions@final=,%
frame engine=spartan,interior titled engine=spartan,interior engine=spartan,title engine=spartan,segmentation engine=spartan,%
set@outerboundary=\tcb@boundaryframe@standard,%
@@ -743,7 +747,7 @@
\tcbset{spartan/.style={skin=spartan}}
-\tcb@new@skin{draft}{clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,%
+\tcb@new@skin{draft}{clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,shape@of@skin=unbroken,%
frame engine=empty,interior titled engine=empty,interior engine=empty,segmentation engine=path,title empty,%
segmentation style={draw=black,dashed},
set@extensions@postframe=,
@@ -1347,32 +1351,14 @@
{\tcb@arc@sha}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@sha}%
}
-\def\tcb@draw@shadow@unbroken{%
- \let\tcb@shadow=\tcb@shadow@unbroken%
- \kvtcb@shadow%
-}
-
-\def\tcb@draw@shadow@first{%
- \let\tcb@shadow=\tcb@shadow@first%
- \kvtcb@shadow%
-}
-
-\def\tcb@draw@shadow@middle{%
- \let\tcb@shadow=\tcb@shadow@middle%
- \kvtcb@shadow%
-}
-
-\def\tcb@draw@shadow@last{%
- \let\tcb@shadow=\tcb@shadow@last%
- \kvtcb@shadow%
-}
\tcbset{%
shad@w app/.code={\appto\kvtcb@shadow{#1}},%
- shadow/.style args={#1#2#3#4}{shad@w app={\tcb@shadow{#1}{#2}{#3}{#4}}},%
+ shadow/.style args={#1#2#3#4}{shad@w app={\csuse{tcb@shadow@\tcb@shapeofskin}{#1}{#2}{#3}{#4}}},%
no shadow/.code={\def\kvtcb@shadow{}},%
fuzzy shadow/.style args={#1#2#3#4#5}{shad@w app={%
\begin{scope}[#5]%
+ \letcs\tcb@shadow{tcb@shadow@\tcb@shapeofskin}%
\tcb@shadow{#1}{#2}{\the\dimexpr#3-4\dimexpr#4\relax}{opacity=0.01}%
\tcb@shadow{#1}{#2}{\the\dimexpr#3-3\dimexpr#4\relax}{opacity=0.02}%
\tcb@shadow{#1}{#2}{\the\dimexpr#3-2\dimexpr#4\relax}{opacity=0.04}%
@@ -1432,6 +1418,71 @@
drop fuzzy shadow east/.default={black!50!white},%
}
+\def\tcb@boundary@tikzbendedbase#1#2#3#4#5#6#7#8{%
+ \tcb@gettikzxy{(#1)}{\tcb@xa}{\tcb@ya}%
+ \tcb@gettikzxy{(#2)}{\tcb@xb}{\tcb@yb}%
+ \pgfpathmoveto{\pgfqpoint{\tcb@xa}{\tcb@yb}}%
+ #5\pgfpathquadraticcurveto{\pgfqpoint{\dimexpr0.5\dimexpr\tcb@xa+\tcb@xb\relax}{\dimexpr\tcb@yb+#8}}{\pgfqpoint{\tcb@xb}{\tcb@yb}}%
+ #6\pgfpathlineto{\pgfqpoint{\tcb@xb}{\tcb@ya}}%
+ #3\pgfpathquadraticcurveto{\pgfqpoint{\dimexpr0.5\dimexpr\tcb@xa+\tcb@xb\relax}{\dimexpr\tcb@ya+#7}}{\pgfqpoint{\tcb@xa}{\tcb@ya}}%
+ #4\pgfpathclose%
+}
+
+\def\tcb@pathbendedbase#1#2#3#4#5#6#7#8#9{\tcb@pathboundary{#1}{\tcb@boundary@tikzbendedbase{#2}{#3}{#4}{#5}{#6}{#7}{#8}{#9}}}
+
+\def\tcb@shadowbended@prepare#1{%
+ \tcbdimto\tcb@shadow@arc{\tcb@outer@arc-#1}%
+ \ifdim\dimexpr\tcb@shadow@arc<0pt\relax%
+ \let\tcb@shadow@arc=\tcb@zpt%
+ \fi%
+}
+
+\def\tcb@shadowlifted@unbroken#1#2#3#4#5{%
+ \tcb@shadowbended@prepare{#3}%
+ \tcb@pathbendedbase{fill,#5}{[xshift=#1+#3,yshift=#2+#3]frame.south west}{[xshift=-#1-#3,yshift=#2-#3]frame.north east}%
+ {\tcb@arc@sha}{\tcb@arc@sha}{\tcb@arc@sha}{\tcb@arc@sha}{#4}{0pt}%
+}
+
+\def\tcb@shadowlifted@first#1#2#3#4#5{%
+ \tcb@shadowbended@prepare{#3}%
+ \tcb@pathbendedbase{fill,#5}{[xshift=#1+#3,yshift=#2+#3]frame.south west}{[xshift=-#1-#3,yshift=#2-#3]frame.north east}%
+ {\tcb@arc@zpt}{\tcb@arc@sha}{\tcb@arc@sha}{\tcb@arc@zpt}{#4}{0pt}%
+}
+
+\def\tcb@shadowlifted@middle#1#2#3#4#5{%
+ \tcb@shadowbended@prepare{#3}%
+ \tcb@pathbendedbase{fill,#5}{[xshift=#1+#3,yshift=#2+#3]frame.south west}{[xshift=-#1-#3,yshift=#2-#3]frame.north east}%
+ {\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@zpt}{#4}{0pt}%
+}
+
+\def\tcb@shadowlifted@last#1#2#3#4#5{%
+ \tcb@shadowbended@prepare{#3}%
+ \tcb@pathbendedbase{fill,#5}{[xshift=#1+#3,yshift=#2+#3]frame.south west}{[xshift=-#1-#3,yshift=#2-#3]frame.north east}%
+ {\tcb@arc@sha}{\tcb@arc@zpt}{\tcb@arc@zpt}{\tcb@arc@sha}{#4}{0pt}%
+}
+
+\tcbset{
+ lifted shadow/.style n args={5}{shad@w app={%
+ \begin{scope}[#5]%
+ \letcs\tcb@shadowlifted{tcb@shadowlifted@\tcb@shapeofskin}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr-4\dimexpr#4}{#3}{opacity=0.01}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr-3\dimexpr#4}{#3}{opacity=0.02}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr-2\dimexpr#4}{#3}{opacity=0.04}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr-#4}{#3}{opacity=0.07}%
+ \tcb@shadowlifted{#1}{#2}{0pt}{#3}{opacity=0.11}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr+#4}{#3}{opacity=0.11}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr+2\dimexpr#4}{#3}{opacity=0.07}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr+3\dimexpr#4}{#3}{opacity=0.04}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr+4\dimexpr#4}{#3}{opacity=0.02}%
+ \tcb@shadowlifted{#1}{#2}{\dimexpr+5\dimexpr#4}{#3}{opacity=0.01}%
+ \end{scope}}},%
+ drop small lifted shadow/.style={lifted shadow={1mm}{-0.75mm}{1.3mm}{0.1mm}{#1}},
+ drop small lifted shadow/.default={black!50!white},%
+ drop lifted shadow/.style={lifted shadow={1.5mm}{-1.5mm}{2.7mm}{0.12mm}{#1}},
+ drop lifted shadow/.default={black!50!white},%
+ drop large lifted shadow/.style={lifted shadow={2mm}{-3mm}{5.7mm}{0.16mm}{#1}},
+ drop large lifted shadow/.default={black!50!white},%
+}
\newif\iftcb@isindraft
\def\tcb@draftmode{\tcbset{spartan,spartan@fit}}
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
index b118a4f6b6f..031f609d4c1 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\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 0ffad0ef838..c59b2f3d8d9 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\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 d9ed7cac2fc..941fcdbb49c 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% 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.04}
+\tcb@set@library@version{3.05}
\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 9c19069ab56..eec907b4a3b 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.04 (2014/05/18)
+%% The LaTeX package tcolorbox - version 3.05 (2014/05/28)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tcolorbox}[2014/05/18 version 3.04 text color boxes]
-\def\tcb@version{3.04}
+\ProvidesPackage{tcolorbox}[2014/05/28 version 3.05 text color boxes]
+\def\tcb@version{3.05}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -435,6 +435,7 @@
size/minimal/.style={boxrule=0pt,boxsep=0pt,left=0pt,right=0pt,top=0pt,bottom=0pt,toptitle=0pt,bottomtitle=0pt,
middle=0pt,arc=0pt,outer arc=0pt},
on line/.style={tcbox raise base,nobeforeafter},
+ shape@of@skin/.store in=\tcb@shapeofskin,
}
\def\kvtcb@beforebox{}
@@ -608,6 +609,9 @@
\def\tcb@layer@inc{%
\stepcounter{tcblayer}%
+ \ifnum\c@tcblayer>1%
+ \tcbset{breakable@true/.code=}%
+ \fi%
\ifnum\c@tcblayer>\tcb@managed@layers@max%
\tcbset{every box on higher layers}%
\else%
@@ -619,14 +623,17 @@
\def\tcb@layer@pushup{%
\stepcounter{tcblayer}%
+ \ifnum\c@tcblayer>1%
+ \tcbset{breakable@true/.code=}%
+ \fi%
\ifnum\c@tcblayer>\tcb@managed@layers@max%
\tcbset{every box on higher layers}%
- \tcbset{every box on higher layers/.style={}}% not ideal
+ \tcbset{every box on higher layers/.code=}%
\else%
\tcbset{every box on layer \number\c@tcblayer}%
- \tcbset{every box on layer \number\c@tcblayer/.style={}}%
+ \tcbset{every box on layer \number\c@tcblayer/.code=}%
\fi%
- \addtocounter{tcblayer}{-1}%´
+ \addtocounter{tcblayer}{-1}%
}
\def\tcb@layer@dec{%
@@ -1350,6 +1357,7 @@
graphical environment=pgfpicture,geometry nodes=false,
set@extensions@preframe=,set@extensions@postframe={\tcb@apply@overlay},set@extensions@final=,%
set@outerboundary=\tcb@boundaryframe@standard,%
+ shape@of@skin=unbroken,
skin first=standard,skin middle=standard,skin last=standard%
}