diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-16 21:11:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-16 21:11:14 +0000 |
commit | 4b228e66cb1f0c3cde14e57cafd6c5e0b0db0fa4 (patch) | |
tree | 9b9955b4a77392401ea75aa7e644db9a3394ec3c | |
parent | 51971c8e8c0294689d9806a9550ac39114eec4ba (diff) |
tcolorbox (16may14)
git-svn-id: svn://tug.org/texlive/trunk@34065 c570f23f-e606-0410-a88d-b1316a301751
25 files changed, 148 insertions, 56 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index b1e00580a22..fe455d9a0fd 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> @@ -524,3 +524,8 @@ version 3.01 (2014/05/13) version 3.02 (2014/05/13) - compatibility fix for tabularx 2014/04/22 v2.09 (again) +version 3.03 (2014/05/16) +- bug fix: some initialization option keys for \newtcblisting did not operate correctly +- bug fix: boxed title shape 'title' was unknown in underlays +- more boxed title example documented + diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index d4822960d37..b8b6f9e7cab 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% %% ------------------------------------------------------------------------------------------- %% 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 Binary files differindex 623c460445b..5584e899437 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 bc32e551201..d543557fb3d 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib index bc6be776a14..181e662040b 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib @@ -47,18 +47,19 @@ language = {german} } -@book{sturm:2012k, +@book{sturm:2014g, author = {Thomas F. Sturm}, - title = {\LaTeX\ -- Einführung in das Textsatzsystem}, + title = {{\LaTeX} -- Einf\"uhrung in das Textsatzsystem}, publisher = {Regionales Rechenzentrum für Niedersachsen (RRZN)}, address = {Hannover}, - edition = 9, + edition = 10, series = {RRZN-Handb\"ucher}, url = {http://www.rrzn.uni-hannover.de/buch.html?&titel=latex}, - date = {2012-05}, + date = {2014-03}, language = {german} } + @manual{tantau:2013a, author = {Till Tantau}, title = {The TikZ and PGF Packages}, @@ -87,10 +88,17 @@ @manual{carlisle:1999a, author = {David Carlisle}, title = {The tabularx package}, - url = {hhttp://mirror.ctan.org/macros/latex/required/tools/tabularx.pdf}, + url = {http://mirror.ctan.org/macros/latex/required/tools/tabularx.pdf}, date = {1999-01-07} } +@manual{carlisle:2014a, + author = {David Carlisle}, + title = {The tabularx package}, + url = {http://mirror.ctan.org/macros/latex/required/tools/tabularx.pdf}, + date = {2014-05-13} +} + @manual{mittelbach:2011a, author = {Frank Mittelbach}, @@ -161,4 +169,11 @@ } +@manual{arseneau:2011a, + author = {Donald Arseneau}, + title = {The varwidth package}, + url = {mirrors.ctan.org/macros/latex/contrib/varwidth/varwidth-doc.pdf}, + date = {2011-09-26}, +} + 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 c57f8fc7925..1c818f96b02 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -5,7 +5,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:2013a,sturm:2012k} or the examples +the syntax for |pgf| keys, see \cite{tantau:2013a,sturm:2014g} or the examples starting from page \pageref{sec:latextutorial}. @@ -1424,7 +1424,7 @@ have a lower part. This style sets \refKey{/tcb/before upper} and \refKey{/tcb/after upper} and several geometry keys to support a |tabularx| with the given \meta{preamble}. - The packages |tabularx| \cite {carlisle:1999a}, |array|, and |colortbl| + The packages |tabularx| \cite {carlisle:2014a}, |array|, and |colortbl| have to be loaded separately. \begin{dispExample} % \usepackage{array,tabularx} @@ -1540,7 +1540,7 @@ Lower part. \begin{docTcbKey}{varwidth upper}{\colOpt{=\meta{length}}}{style, default \refKey{/tcb/width}} This style places the upper part content into a |varwidth| environment. - This style needs the |varwidth| package to be loaded manually. + This style needs the |varwidth| package \cite{arseneau:2011a} to be loaded manually. The resulting box has a maximal width of \meta{length}. This option is only senseful for a \refCom{tcbox}. \begin{dispExample*}{sbs,lefthand ratio=0.6} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex index 511f0d81438..c38f60f8d2c 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex @@ -210,7 +210,7 @@ Also, a |tcolorbox| can be part of such a kind of list. \begin{newTcbKey}{list inside}{=\meta{name}}{no default, initially unset} Assigns a list or contents file to the generated |tcolorbox|es. Entries to this list are saved to a file which gets the \meta{name} as -file name extension. The list is references by this name in +file name extension. The list is referenced by this name in \refCom{tcblistof}. For example: \begin{dispListing} 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 17a7a0eae36..c5a5097e862 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.intro.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.intro.tex @@ -3,7 +3,7 @@ \clearpage \section{Introduction} The package originates from the first edition of my book -\flqq{\citetitle{sturm:2012k}\frqq~\cite{sturm:2012k} +\flqq{\citetitle{sturm:2014g}\frqq~\cite{sturm:2014g} in about 2006. For the \LaTeX\ examples and tutorials given there, I wanted to have accentuated and colored boxes to display source code and 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 4d365bfeaed..1afd53b3596 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex @@ -573,6 +573,81 @@ applicable here. \lipsum[2] \end{tcolorbox} \end{dispExample} + + +\begin{dispExample} +% \usepackage{varwidth} +\newtcolorbox{mybox}[2][]{enhanced,skin=enhancedlast, + attach boxed title to top left={xshift=-4mm,yshift=-0.5mm}, + fonttitle=\bfseries\sffamily,varwidth boxed title=0.7\linewidth, + colbacktitle=blue!45!white,colframe=red!50!black, + interior style={top color=blue!10!white,bottom color=red!10!white}, + boxed title style={arc=0pt,outer arc=0pt,boxrule=0pt}, + underlay unbroken and first={ + \fill[blue!45!white] ([xshift=-0.1mm]title.north east) -- (title.north east) + -- +(\tcboxedtitleheight-1mm,-\tcboxedtitleheight+1mm) + -- ([xshift=4mm,yshift=0.5mm]frame.north east) -- +(0mm,-1mm) + -- ([xshift=-0.1mm]title.south east) -- cycle; + \fill[blue!45!white!50!black] ([yshift=-0.5mm]frame.north west) + -- +(-0.4,0) -- +(0,-0.3) -- cycle; + \fill[blue!45!white!50!black] ([yshift=-0.5mm]frame.north east) + -- +(0,-0.3) -- +(0.4,0) -- cycle; }, + title={#2},#1} + +\begin{mybox}{My title} + \lipsum[2] +\end{mybox} +\end{dispExample} + + +\begin{dispExample} +% \usepackage{varwidth} +\newtcolorbox{mybox}[2][]{enhanced, + attach boxed title to top left={xshift=1cm,yshift=-2mm}, + fonttitle=\bfseries,varwidth boxed title=0.7\linewidth, + colbacktitle=green!45!white,coltitle=green!10!black,colframe=green!50!black, + interior style={top color=yellow!10!white,bottom color=green!10!white}, + boxed title style={enhanced,boxrule=0.75mm,colframe=white, + borderline={0.1mm}{0mm}{green!50!black}, + borderline={0.1mm}{0.75mm}{green!50!black}, + interior style={top color=green!10!white,bottom color=green!10!white, + middle color=green!50!white}, + drop fuzzy shadow}, + title={#2},#1} + +\begin{mybox}{My title} + \lipsum[2] +\end{mybox} +\end{dispExample} + + +\begin{dispExample} +% \usepackage{varwidth} +\newtcolorbox{mybox}[2][]{empty,boxsep=0pt,top=0pt, + attach boxed title to bottom center={}, + fonttitle=\bfseries\sffamily,varwidth boxed title=0.5\linewidth, + coltitle=red!50!black, + interior style={top color=yellow!10!white,bottom color=green!10!white}, + boxed title style={enhanced,skin=enhancedlast,boxrule=0.5mm,arc=0pt,outer arc=0pt, + frame empty,interior style={top color=white,bottom color=red!50!white}}, + underlay unbroken and last={ + \draw[red,line width=0.5mm] ([xshift=.25mm]frame.north west) + -- ([xshift=.25mm,yshift=0.25mm]frame.south west) + -- ([xshift=0.25mm-\tcboxedtitleheight*2,yshift=0.25mm]title.north west) + cos +(\tcboxedtitleheight,-\tcboxedtitleheight/2) + sin +(\tcboxedtitleheight,-\tcboxedtitleheight/2) + -- ([xshift=0.25mm,yshift=0.25mm]title.south west) + -- ([yshift=0.25mm]title.south east) + cos +(\tcboxedtitleheight,\tcboxedtitleheight/2) + sin +(\tcboxedtitleheight,\tcboxedtitleheight/2) + -- ([xshift=-.25mm,yshift=0.25mm]frame.south east) + -- ([xshift=-.25mm]frame.north east); }, + title={#2},#1} + +\begin{mybox}{My title} + \lipsum[2] +\end{mybox} +\end{dispExample} \end{docTcbKey} @@ -664,7 +739,7 @@ The text is centered by default \begin{docTcbKey}{varwidth boxed title}{\colOpt{=\meta{length}}}{initially unset} The title text content is captured with a |varwidth| environment with a width of \meta{length}. -This style needs the |varwidth| package to be loaded manually. +This style needs the |varwidth| package \cite{arseneau:2011a} to be loaded manually. By default, the resulting boxed title is somewhat smaller than the main box. \begin{dispExample*}{sbs,lefthand ratio=0.66} % \usepackage{varwidth} @@ -687,7 +762,7 @@ By default, the resulting boxed title is somewhat smaller than the main box. \begin{docTcbKey}{varwidth boxed title*}{\colOpt{=\meta{length}}}{initially unset} The title text content is captured with a |varwidth| environment with a width of main box width plus \meta{length}. -This style needs the |varwidth| package to be loaded manually. +This style needs the |varwidth| package \cite{arseneau:2011a} to be loaded manually. By default, the resulting boxed title is somewhat smaller than the main box. \begin{dispExample*}{sbs,lefthand ratio=0.66} % \usepackage{varwidth} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex index bb289cd9cea..de33ade7e07 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex @@ -894,7 +894,7 @@ Here, using |\Vref| resulting in \Vref{theo:meanvaluetheorem} is more interestin \begin{dispExample} -% \tcbuselibrary{skins} +% \usepackage{varwidth} \tcbuselibrary{skins} \newtcbtheorem[use counter from=Definition]{YetAnotherTheorem}{Theorem}% {enhanced,frame empty,interior empty,colframe=ForestGreen!50!white, coltitle=ForestGreen!50!black,fonttitle=\bfseries,colbacktitle=ForestGreen!15!white, diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf Binary files differindex 12c8d69a627..ff40d257fd1 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 316962ee96f..97d34da8a8d 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -100,8 +100,8 @@ \newtcolorbox{marker}[1][]{marker,#1} -\def\version{3.02}% -\def\datum{2014/05/13}% +\def\version{3.03}% +\def\datum{2014/05/16}% \makeindex \hypersetup{ @@ -302,7 +302,7 @@ %\tcbset{draftmode} -%\includeonly{tcolorbox.doc.coreoptions} +%\includeonly{tcolorbox.doc.skins} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index 95852121c9d..03c6211b44d 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \let\tcb@parboxrestore@true=\tcb@parboxrestore \def\tcb@parboxrestore@false{\vskip-\parskip\linewidth\hsize\noindent} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index 174b35f8ab7..69ddf5f293a 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 6970e2aea11..4a34cd89ee9 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 cb678536669..746940c0211 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 f07bf5511de..714bbb14bbd 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 1e5dd8beaae..e6a7e160943 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 4bac8d91ac9..6279c08f0a5 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 29294c85d78..e9e66b89374 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \RequirePackage{minted}[2011/09/17] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index ace422589a1..3bde9abe614 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \RequirePackage{tikz}[2010/10/13] @@ -964,12 +964,9 @@ % \tcbdimto\tcboxedtitleheight{\ht\tcb@titlebox+\dp\tcb@titlebox}% \tcbdimto\tcboxedtitlewidth{\wd\tcb@titlebox}% - \tcbset{boxtitle/.cd,xshift=0pt,yshift=0pt,yshifttext=0pt,yshift*@#2, - #1,adapt@#2}% - % - \tcbset{% - underlay unbroken and #3={\node[inner sep=0pt,outer sep=0pt,#4,name=title] at ([xshift=\kvtcb@xshift@boxedtitle,yshift=\kvtcb@yshift@boxedtitle]frame.#5) {\box\tcb@titlebox};}% - }% + \tcbset{boxtitle/.cd,xshift=0pt,yshift=0pt,yshifttext=0pt,yshift*@#2,#1,adapt@#2}% + \preto\tcb@underlay@unbroken{\node[inner sep=0pt,outer sep=0pt,#4,name=title] at ([xshift=\kvtcb@xshift@boxedtitle,yshift=\kvtcb@yshift@boxedtitle]frame.#5) {\box\tcb@titlebox};}% + \cspreto{tcb@underlay@#3}{\node[inner sep=0pt,outer sep=0pt,#4,name=title] at ([xshift=\kvtcb@xshift@boxedtitle,yshift=\kvtcb@yshift@boxedtitle]frame.#5) {\box\tcb@titlebox};}% \fi}}% }, attach@title@boxed@top/.style n args={3}{attach@title@boxed={#1}{top}{first}{#2}{#3}},% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 1d2b0ccf6bd..57580f4aeac 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 b2d655804e4..e224c51484f 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 f2fbbb5dd4f..6641cb9c9b9 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% 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.02} +\tcb@set@library@version{3.03} \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 0d26e155c6d..be86f18374d 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.02 (2014/05/13) +%% The LaTeX package tcolorbox - version 3.03 (2014/05/16) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2014/05/13 version 3.02 text color boxes] -\def\tcb@version{3.02} +\ProvidesPackage{tcolorbox}[2014/05/16 version 3.03 text color boxes] +\def\tcb@version{3.03} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -1156,7 +1156,7 @@ \csxdef{the\tcbcounter}{\kvtcb@new@freestyle}% \fi% \global\csletcs{thetcb@cnt@#1}{the\tcbcounter}% - \appto\tcb@new@colopt{,code={\letcs\tcbcounter{tcb@cnt@\kvtcb@savedelimiter}\letcs\thetcbcounter{thetcb@cnt@\kvtcb@savedelimiter}\preto\kvtcb@phantom{\refstepcounter{\tcbcounter}}}}% + \appto\tcb@new@colopt{,code={\letcs\tcbcounter{tcb@cnt@#1}\letcs\thetcbcounter{thetcb@cnt@#1}\preto\kvtcb@phantom{\refstepcounter{\tcbcounter}}}}% } \def\tcb@proc@counter@auto#1{% @@ -1173,7 +1173,7 @@ \def\tcb@proc@counter@from#1{% \csxdef{tcb@cnt@#1}{\kvtcb@new@counter}% \global\csletcs{thetcb@cnt@#1}{the\kvtcb@new@counter}% - \appto\tcb@new@colopt{,code={\letcs\tcbcounter{tcb@cnt@\kvtcb@savedelimiter}\letcs\thetcbcounter{thetcb@cnt@\kvtcb@savedelimiter}\preto\kvtcb@phantom{\refstepcounter{\tcbcounter}}}}% + \appto\tcb@new@colopt{,code={\letcs\tcbcounter{tcb@cnt@#1}\letcs\thetcbcounter{thetcb@cnt@#1}\preto\kvtcb@phantom{\refstepcounter{\tcbcounter}}}}% } \def\tcb@proc@counter@no#1{% @@ -1187,7 +1187,7 @@ \else% \csedef{tcb@lstof@#2}{\kvtcb@new@listof}% \csedef{tcb@lsttp@#2}{\kvtcb@new@listtype}% - \appto\tcb@new@colopt{,add to list={\csname tcb@lstof@\kvtcb@savedelimiter\endcsname}{\csname tcb@lsttp@\kvtcb@savedelimiter\endcsname}}% + \appto\tcb@new@colopt{,add to list={\csname tcb@lstof@#2\endcsname}{\csname tcb@lsttp@#2\endcsname}}% \fi% \kvtcb@init@hook% }% |