diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-25 22:30:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-25 22:30:39 +0000 |
commit | 9741d3a7175522e2552f723f0b90859d92af3991 (patch) | |
tree | 50bed5383f6af14bea61dac0551e780ffafdd63f /Master/texmf-dist | |
parent | 680e000f5a53e51965eb20aab3f3db3a020bac69 (diff) |
tcolorbox (25apr17)
git-svn-id: svn://tug.org/texlive/trunk@44046 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
29 files changed, 246 insertions, 100 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index 5ed38de8de0..47bcee9733d 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> @@ -982,4 +982,14 @@ version 4.02 (2017/02/24) - bug fix: '/tcb/external/!' and '/tcb/external/-' were not usable inside \tcbset - documentation optimizations - +version 4.03 (2017/04/25) +- Implementation of 'raster equal height' changed to be more robust e.g. for loops +- Implementation of several fill options like 'fill stretch image' changed + to be more efficient and to be independent from TikZ node positioning options. +- Bug fix: 'fill plain image' and 'fill plain picture' ignored 'fill image opacity'. +- new macro: '\tcbsegmentstate' +- library 'breakable': + * new option: 'segmentation at break' +- library 'documentation': + * new options: 'documentation minted language', 'keywords bold' +- Creation of leaflets documented diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 4907cd8e363..0906411d94f 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2017 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 e67688abc10..b547040c107 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 089344ebedb..9102e9f65ed 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex index 3c285d7c411..0f510f40aca 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex @@ -425,6 +425,21 @@ and \refKey{/tcb/enlarge bottom at break by}. \end{docTcbKey} +\begin{docTcbKey}[][doc new=2017-03-20]{segmentation at break}{\colOpt{=true\textbar false}}{default |true|, initially |true|} + If a breakable box contains an \emph{upper part} and a \emph{lower part} and + the break happens at the \emph{segmentation} between both parts, then + \begin{itemize} + \item the segmenation line (or similar) is drawn as first element of the + partial box containing the \emph{lower part}, if \refKey{/tcb/segmentation at break} + is set to be |true|. + \item the segmenation line (or similar) is not drawn at all, if + \refKey{/tcb/segmentation at break} is set to be |false|. + This may be preferable for skins like \refSkin{bicolor}, \refSkin{tile}, + or \refSkin{beamer}. + \end{itemize} +\end{docTcbKey} + + \clearpage \subsection{Extra Options for Partial Boxes}\label{subsec:extras} 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 1f1495eedef..44e806d8f07 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex @@ -512,6 +512,14 @@ with another note. Used for \refKey{/tcb/listing engine}|=listings| only. \end{docTcbKey} +\begin{docTcbKey}{documentation minted options}{=\meta{minted style}}{no default,\\\hspace*{\fill} initially |tabsize=2,fontsize=\textbackslash small|} + Sets the options from the package |minted| \cite{poore:2015a} + which are used during typesetting of the listing, if used. + Note that this is not identical to the key + \refKey{/tcb/minted options} which is used for 'normal' listings.\\ + Used for \refKey{/tcb/listing engine}|=minted| only. +\end{docTcbKey} + \begin{docTcbKey}{documentation minted style}{=\meta{key list}}{no default, initially unset} Sets a \meta{style} known to |Pygments| \cite{pygments:2013} for the package |minted| \cite{poore:2015a}, if used. @@ -520,14 +528,15 @@ with another note. Used for \refKey{/tcb/listing engine}|=minted| only. \end{docTcbKey} -\begin{docTcbKey}{documentation minted options}{=\meta{minted style}}{no default,\\\hspace*{\fill} initially |tabsize=2,fontsize=\textbackslash small|} - Sets the options from the package |minted| \cite{poore:2015a} - which are used during typesetting of the listing, if used. +\begin{docTcbKey}[][doc new=2017-04-24]{documentation minted language}{=\meta{programming language}}{no default, initially |latex|} + Sets a \meta{programming language} known to |Pygments| \cite{pygments:2013} + for the package |minted| \cite{poore:2015a}, if used. Note that this is not identical to the key - \refKey{/tcb/minted options} which is used for 'normal' listings.\\ + \refKey{/tcb/minted language} which is used for 'normal' listings.\\ Used for \refKey{/tcb/listing engine}|=minted| only. \end{docTcbKey} + \begin{marker} The following two keys are deprecated and without function (v3.50 and above). Use \refKey{/tcb/before} and \refKey{/tcb/after} with appropriate values @@ -549,6 +558,22 @@ instead. Also see \refKey{/tcb/docexample}. \end{docTcbKey} \clearpage +\begin{docTcbKey}[][doc new=2017-04-25]{keywords bold}{\colOpt{=true\textbar false}}{default |true|, initially |true|} + Keyword used in \refEnv{docEnvironment}, \refEnv{docCommand}, etc. are printed + boldface (or not). Since the typewriter font is used, the effect may be + invisible with Computer Modern fonts or similar which do not + have a bold variant. Note that references to keywords are not printed boldface at all. +\begin{dispExample*}{sidebyside} +\LARGE +\docAuxCommand{fooaux}, \refCom{tcbset} + +\tcbset{keywords bold=false} +\docAuxCommand{fooaux}, \refCom{tcbset} +\end{dispExample*} +\end{docTcbKey} + + + \begin{docTcbKey}[][doc new=2015-01-09]{index command}{=\meta{macro}}{no default, initially \cs{index}} Replaces the internally used \cs{index} macro by the given \meta{macro}. The \meta{macro} has to take one mandatory argument like \cs{index}. diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex index a7ad64842fd..433214c07fa 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex @@ -432,6 +432,68 @@ Box width: \the\wd\mybox \end{exdispExample} \end{docCommand} - +\clearpage +\subsection{Leaflet Example} +The following full application example can be used to create leaflets. +Obviously, the code can be adapted and customized in many ways. + +\begin{tcblisting}{ + enhanced jigsaw,lower separated=false,breakable, + listing style=mydocumentation,base example, + listing and comment, + pdf comment,freeze pdf, + comment style={raster columns=1}, + compilable listing, + run pdflatex} +\documentclass[a4paper,landscape]{article} +\usepackage[noheadfoot,margin=0pt]{geometry} +\usepackage[skins,raster,magazine]{tcolorbox} +\usepackage{lipsum} + +\newenvironment{leaflet}[1][]{% + \begin{tcolorbox}[nobeforeafter,empty,colback=white, + sharp corners,size=minimal,left=10mm,right=10mm,top=10mm,bottom=10mm, + width=\textwidth/3, + breakable, + break at=\textheight, + height fixed for=all, + reset box array, + store to box array,#1]} + {\end{tcolorbox}% + \begin{tcbitemize}[raster columns=3,raster equal skip=0pt,blankest] + \tcbitem\consumeboxarray{5} + \tcbitem\consumeboxarray{6} + \tcbitem\consumeboxarray{1} + \tcbitem\consumeboxarray{2} + \tcbitem\consumeboxarray{3} + \tcbitem\consumeboxarray{4} + \end{tcbitemize}% + } + +\pagestyle{empty} +\begin{document} + +\begin{leaflet}[underlay={\node[above=5mm,font=\footnotesize] + at (frame.south) {- \arabic{tcbbreakpart} -};}] + \includegraphics[width=\linewidth]{Basilica_5.png} + \begin{center} + \bfseries\LARGE Example + \end{center} + + \section{Introduction} + \lipsum[1] + + \section{Main Part A} + \lipsum[2-8] + + \section{Main Part B} + \lipsum[9-15] + + \section{Conclusion} + \lipsum[16-18] +\end{leaflet} + +\end{document} +\end{tcblisting} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex index 578552815ee..33a89411cf0 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex @@ -455,7 +455,7 @@ If \refKey{/tcb/fit} should be used, turn over to \refEnv{tcbraster}. \clearpage -\begin{docTcbKey}[][doc new=2014-11-10]{raster equal height}{=\meta{type}}{default \docValue{all}, initially \docValue{none}} +\begin{docTcbKey}[][doc new and updated={2014-11-10}{2017-02-28}]{raster equal height}{=\meta{type}}{default \docValue{all}, initially \docValue{none}} Puts the enclosed boxes into a common \refKey{/tcb/equal height group}. The \meta{id} of the equal height group is chosen automatically, but it may be set manually by \refKey{/tcb/raster equal height group}. 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 783306b6d79..772ef03aaa8 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex @@ -728,3 +728,25 @@ considered to be \textit{read-only} and should never be redefined by the user. \end{tcolorbox} \end{dispExample} \end{docCommand} + + +\begin{docCommand}[doc new=2017-04-25]{tcbsegmentstate}{} + This macro contains |0|, |1|, or |2|. Itis set for every unbroken box and every broken partial box + with the following meaning: + \begin{itemize} + \item\docValue{0}: The current (partial) box contains only an upper part. + \item\docValue{1}: The current (partial) box contains an upper and a lower part. + The segmentation node can be used for positioning. + \item\docValue{2}: The current (partial) box contains only a lower part. + This can only be true for parts of breakable boxes. + \end{itemize} + Skins like \refSkin{bicolor} use this property to paint the (partial) boxes. +\begin{dispExample} +% \tcbuselibrary{skins,raster} +\begin{tcbraster}[raster equal height,enhanced, + watermark text=\tcbsegmentstate] + \begin{tcolorbox}Upper part\end{tcolorbox} + \begin{tcolorbox}Upper part\tcblower Lower part\end{tcolorbox} +\end{tcbraster} +\end{dispExample} +\end{docCommand} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf Binary files differindex b62fddf32c1..938878c0e39 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 979a4852cee..0dfd55de447 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -43,8 +43,8 @@ \setlength{\bibitemsep}{\smallskipamount} \addbibresource{tcolorbox.doc.bib} -\def\version{4.02}% -\def\datum{2017/02/24}% +\def\version{4.03}% +\def\datum{2017/04/25}% \makeindex \hypersetup{ @@ -58,7 +58,7 @@ %\tcbset{draftmode} \tcbset{/tcb/external/-}% for final run -%\includeonly{tcolorbox.doc.external} +%\includeonly{tcolorbox.doc.magazine} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index e713d4164b3..0cbaf9f86db 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.02} +\tcb@set@library@version{4.03} \let\tcb@parboxrestore@true=\tcb@parboxrestore \let\tcb@parboxrestore@false\tcb@parbox@false@settings @@ -705,7 +705,7 @@ } -\def\tcb@split@SL{% +\def\tcb@split@SL@displayed{% \tcb@nextbreakpart% \tcb@comp@h@page% \let\tcb@h@upper=\tcb@zpt% @@ -778,7 +778,7 @@ \tcbset{skin=\csname kvtcb@skin@@\tcb@split@state\endcsname}% \csuse{tcb@extras@\tcb@split@state}% \tcb@afteroptions@hook% - \def\tcb@segment@state{1}% + \def\tcbsegmentstate{1}% \tcbdimto\tcb@natheight{\tcb@h@padtitle+\kvtcb@top@rule+\kvtcb@bottom@rule+\kvtcb@boxsep*2+\kvtcb@top+\kvtcb@bottom+\tcb@h@upper+\tcb@h@segment+\tcb@h@lower+\csname tcb@h@breaksep@\tcb@split@state\endcsname}% \csname tcb@break@ch@\tcb@split@state\endcsname% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% @@ -808,7 +808,7 @@ \tcbset{skin=\csname kvtcb@skin@@\tcb@split@state\endcsname}% \csuse{tcb@extras@\tcb@split@state}% \tcb@afteroptions@hook% - \def\tcb@segment@state{0}% + \def\tcbsegmentstate{0}% \tcbdimto\tcb@natheight{\tcb@h@padtitle+\kvtcb@top@rule+\kvtcb@bottom@rule+\kvtcb@boxsep*2+\kvtcb@top+\kvtcb@bottom+\tcb@h@upper+\csname tcb@h@breaksep@\tcb@split@state\endcsname}% \csname tcb@break@ch@\tcb@split@state\endcsname% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% @@ -834,7 +834,7 @@ \tcbset{skin=\csname kvtcb@skin@@\tcb@split@state\endcsname}% \csuse{tcb@extras@\tcb@split@state}% \tcb@afteroptions@hook% - \def\tcb@segment@state{1}% + \def\tcbsegmentstate{1}% \tcbdimto\tcb@natheight{\tcb@h@padtitle+\kvtcb@top@rule+\kvtcb@bottom@rule+\kvtcb@bottom+\kvtcb@boxsep+\tcb@h@segment+\tcb@h@lower+\csname tcb@h@breaksep@\tcb@split@state\endcsname}% \csname tcb@break@ch@\tcb@split@state\endcsname% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% @@ -863,7 +863,7 @@ \tcbset{skin=\csname kvtcb@skin@@\tcb@split@state\endcsname}% \csuse{tcb@extras@\tcb@split@state}% \tcb@afteroptions@hook% - \def\tcb@segment@state{2}% + \def\tcbsegmentstate{2}% \tcbdimto\tcb@natheight{\tcb@h@padtitle+\kvtcb@top@rule+\kvtcb@bottom@rule+\kvtcb@boxsep*2+\kvtcb@top+\kvtcb@bottom+\ht\tcb@lowerbox+\dp\tcb@lowerbox+\csname tcb@h@breaksep@\tcb@split@state\endcsname}% \csname tcb@break@ch@\tcb@split@state\endcsname% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% @@ -987,6 +987,10 @@ no extras/.code={\let\tcb@extras@unbroken\@empty\let\tcb@extras@first\@empty\let\tcb@extras@middle\@empty\let\tcb@extras@last\@empty},% if odd page*/.style 2 args={check odd page,extras={if odd page={#1}{#2}}},% if odd page or oneside*/.style 2 args={check odd page,extras={if odd page or oneside={#1}{#2}}},% + segmentation at break/.is choice,% + segmentation at break/true/.code={\let\tcb@split@SL\tcb@split@SL@displayed}, + segmentation at break/false/.code={\let\tcb@split@SL\tcb@split@L}, + segmentation at break/.default=true, } @@ -1002,6 +1006,7 @@ height fixed for=none, vfill before first=false, no extras, + segmentation at break }, 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 5dba2dc1325..bc9d6c79297 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.02} +\tcb@set@library@version{4.03} \tcbuselibrary{listings,skins,xparse,external} @@ -115,6 +115,7 @@ \tcbset{ documentation listing options/.store in=\kvtcb@doclistingoptions,% documentation listing style/.style={documentation listing options={style=#1}},% + documentation minted language/.store in=\kvtcb@docminted@language, documentation minted style/.store in=\kvtcb@docmintstyle, documentation minted options/.store in=\kvtcb@docmintoptions, color command/.store in=\kvtcb@col@command, @@ -159,6 +160,10 @@ doc new/.style={before upper={\tcbdocmarginnote{\tcbdocnew{#1}}}}, doc new and updated/.style 2 args={before upper={\tcbdocmarginnote{\tcbdocnew{#1}\\\tcbdocupdated{#2}}}}, doc marginnote/.style={doc@marginnote/.style={#1}}, + keywords bold/.is choice,% + keywords bold/.default=true,% + keywords bold/true/.code={\let\tcb@doc@bfseries\bfseries}, + keywords bold/false/.code={\let\tcb@doc@bfseries\mdseries}, } @@ -167,6 +172,7 @@ docexample/.style={colframe=ExampleFrame,colback=ExampleBack, before skip=\medskipamount,after skip=\medskipamount, fontlower=\footnotesize}, + documentation minted language=latex, documentation minted style=, documentation minted options={tabsize=2,fontsize=\small}, index default settings/.style={index actual={@},index quote={"},index level={!}}, @@ -243,31 +249,31 @@ } \newrobustcmd{\tcbIndexPrintComC}[1]{\tcb@Index@Print@ComC{#1}{\kvtcb@col@command}} -\def\tcb@Print@Com#1{\textcolor{\kvtcb@col@command}{\bfseries\tcb@cs{#1}}} +\def\tcb@Print@Com#1{\textcolor{\kvtcb@col@command}{\tcb@doc@bfseries\tcb@cs{#1}}} \newrobustcmd{\tcbIndexPrintEnvCA}[1]{\tcb@Index@Print@CA{#1}{\kvtcb@col@environment}{\kvtcb@text@env}} \newrobustcmd{\tcbIndexPrintEnvC}[1]{\tcb@Index@Print@C{#1}{\kvtcb@col@environment}} -\def\tcb@Print@Env#1{\textcolor{\kvtcb@col@environment}{\bfseries\tcb@scantokens{#1}}} +\def\tcb@Print@Env#1{\textcolor{\kvtcb@col@environment}{\tcb@doc@bfseries\tcb@scantokens{#1}}} \newrobustcmd{\tcbIndexPrintKeyCA}[1]{\tcb@Index@Print@CA{#1}{\kvtcb@col@key}{\kvtcb@text@key}} \newrobustcmd{\tcbIndexPrintKeyC}[1]{\tcb@Index@Print@C{#1}{\kvtcb@col@key}} -\def\tcb@Print@Key#1{\textcolor{\kvtcb@col@key}{\bfseries\tcb@scantokens{#1}}} +\def\tcb@Print@Key#1{\textcolor{\kvtcb@col@key}{\tcb@doc@bfseries\tcb@scantokens{#1}}} \newrobustcmd{\tcbIndexPrintValCA}[1]{\tcb@Index@Print@CA{#1}{\kvtcb@col@value}{\kvtcb@text@value}} \newrobustcmd{\tcbIndexPrintValC}[1]{\tcb@Index@Print@C{#1}{\kvtcb@col@value}} -\def\tcb@Print@Val#1{\textcolor{\kvtcb@col@value}{\bfseries\tcb@scantokens{#1}}} +\def\tcb@Print@Val#1{\textcolor{\kvtcb@col@value}{\tcb@doc@bfseries\tcb@scantokens{#1}}} \newrobustcmd{\tcbIndexPrintColCA}[1]{\tcb@Index@Print@CA{#1}{\kvtcb@col@color}{\kvtcb@text@color}} \newrobustcmd{\tcbIndexPrintColC}[1]{\tcb@Index@Print@C{#1}{\kvtcb@col@color}} -\def\tcb@Print@Col#1{\textcolor{\kvtcb@col@color}{\bfseries\tcb@scantokens{#1}}} +\def\tcb@Print@Col#1{\textcolor{\kvtcb@col@color}{\tcb@doc@bfseries\tcb@scantokens{#1}}} \newrobustcmd{\tcbIndexPrintCountCA}[1]{\tcb@Index@Print@CA{#1}{\kvtcb@col@counter}{\kvtcb@text@counter}} \newrobustcmd{\tcbIndexPrintCountC}[1]{\tcb@Index@Print@C{#1}{\kvtcb@col@counter}} -\def\tcb@Print@Count#1{\textcolor{\kvtcb@col@counter}{\bfseries\tcb@scantokens{#1}}} +\def\tcb@Print@Count#1{\textcolor{\kvtcb@col@counter}{\tcb@doc@bfseries\tcb@scantokens{#1}}} \newrobustcmd{\tcbIndexPrintLenCA}[1]{\tcb@Index@Print@ComCA{#1}{\kvtcb@col@length}{\kvtcb@text@length}} \newrobustcmd{\tcbIndexPrintLenC}[1]{\tcb@Index@Print@ComC{#1}{\kvtcb@col@length}} -\def\tcb@Print@Len#1{\textcolor{\kvtcb@col@length}{\bfseries\tcb@cs{#1}}} +\def\tcb@Print@Len#1{\textcolor{\kvtcb@col@length}{\tcb@doc@bfseries\tcb@cs{#1}}} \def\tcb@index@Com#1{\iftcb@doc@toindex\kvtcb@index@command{#1\idx@actual\tcbIndexPrintComC{#1}}\fi} \def\tcb@index@Env#1{\iftcb@doc@toindex\kvtcb@index@command{#1\idx@actual\tcbIndexPrintEnvCA{#1}}\kvtcb@index@command{\kvtcb@text@envs\idx@level#1\idx@actual\tcbIndexPrintEnvC{#1}}\fi} @@ -491,6 +497,7 @@ index colorize=false, index annotate=true, english language, + keywords bold, } % deprecated diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 7f4adf923e1..7a27be14b29 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.02} +\tcb@set@library@version{4.03} \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 132fb5a4d5e..6235ef7c95c 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.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 f8a839490f9..8683711daab 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.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 5b3d393da18..80da90c5742 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.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 0659972bf87..d7705cb5507 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.03} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex index ee1d95ff051..317989308d7 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.03} \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 c667aa3efe2..22756696f16 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.02} +\tcb@set@library@version{4.03} \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 505e2fa8d05..90fb312704c 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.03} \RequirePackage{minted}[2011/09/17] @@ -48,7 +48,7 @@ }% \def\tcb@minted@doc@usetemplisting{% - \tcb@minted@input@listing{\kvtcb@docmintoptions}{latex}{\kvtcb@tempfile}{\kvtcb@docmintstyle}% + \tcb@minted@input@listing{\kvtcb@docmintoptions}{\kvtcb@docminted@language}{\kvtcb@tempfile}{\kvtcb@docmintstyle}% } \tcbset{% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex index 0b4e4dc6dc7..862460c2afd 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.02} +\tcb@set@library@version{4.03} \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 92bd00a63a8..40dd5f56b9d 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.03} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} @@ -62,12 +62,9 @@ raster equal height group/.store in=\kvtcb@raster@ehgid,% raster equal height/.is choice, raster equal height/.default=all, - raster equal height/none/.code={\let\tcb@raster@ehg@start\@empty% - \let\tcb@raster@ehg@continue\@empty},% - raster equal height/rows/.code={\let\tcb@raster@ehg@start\tcb@raster@ehg@row% - \let\tcb@raster@ehg@continue\tcb@raster@ehg@row},% - raster equal height/all/.code={\let\tcb@raster@ehg@start\tcb@raster@ehg@all% - \let\tcb@raster@ehg@continue\@empty},% + raster equal height/none/.code={\let\tcb@raster@ehg@set\@empty},% + raster equal height/rows/.code={\let\tcb@raster@ehg@set\tcb@raster@ehg@row},% + raster equal height/all/.code={\let\tcb@raster@ehg@set\tcb@raster@ehg@all},% % raster force size/.is choice,% raster force size/.default=true,% @@ -134,6 +131,7 @@ \setcounter{tcbrasterrow}{1}% \let\tcb@height@fill@unbroken\tcb@height@fill@unbroken@raster% \tcbset{every box on layer \the\numexpr\number\c@tcblayer+1\relax/.code={% + \tcb@raster@ehg@set% \tcbset{raster every box/.try}% \ifodd\c@tcbrastercolumn\relax% \tcbset{raster odd column/.try}% @@ -164,7 +162,6 @@ \ifnum\c@tcbrastercolumn=\kvtcb@raster@columns\relax% \kern\kvtcb@raster@skip@right% \setcounter{tcbrastercolumn}{1}\addtocounter{tcbrasterrow}{1}% - \aftergroup\tcb@raster@ehg@continue% \else% \stepcounter{tcbrastercolumn}% \fi},% @@ -179,7 +176,6 @@ \tcbdimto\tcb@raster@box@height{(\kvtcb@raster@height+\kvtcb@raster@yskip-0.001pt)/\kvtcb@raster@rows-\kvtcb@raster@yskip}% \tcb@raster@set@size{height=\tcb@raster@box@height}% \fi% - \tcb@raster@ehg@start% \let\tcb@end@raster\@empty% \ifinner\ifhmode% \color@vbox% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index 1123c87941b..5ef279ace2e 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.03} \RequirePackage{tikz}[2010/10/13] @@ -29,7 +29,7 @@ \begin{scope}[every node/.style={line width=0mm,inner sep=0mm,outer sep=0mm,draw=none,fill=none,rectangle}] \node[name=frame,at={(0,0)},above right,minimum width=\tcb@width,minimum height=\tcb@height]{}; \node[name=interior,at={({\kvtcb@left@rule},{\kvtcb@bottom@rule})},above right,minimum width=\tcb@innerwidth,minimum height=\tcb@innerheight]{}; - \ifnum\tcb@segment@state=1% + \ifnum\tcbsegmentstate=1% \node[name=segmentation,at={({\kvtcb@left@rule},{\the\dimexpr\kvtcb@bottom@rule+\kvtcb@boxsep*2+\tcb@break@bottomsep+\kvtcb@bottom+\tcb@height@lower\relax})},above right, minimum width=\tcb@innerwidth,minimum height=\the\dimexpr\kvtcb@middle*2\relax]{}; \else\iftcb@sidebyside% @@ -510,7 +510,7 @@ frame engine=path,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=path,% interior titled code={% \iftcb@lowerseparated% - \ifcase\tcb@segment@state% + \ifcase\tcbsegmentstate% {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@path}% \or% \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UT% @@ -522,7 +522,7 @@ \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% - \ifcase\tcb@segment@state% + \ifcase\tcbsegmentstate% {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@path}% \or% \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UR% @@ -543,7 +543,7 @@ frame engine=pathfirst,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathfirst,% interior titled code={% \iftcb@lowerseparated% - \ifcase\tcb@segment@state% + \ifcase\tcbsegmentstate% {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathfirst}% \or% \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UT% @@ -555,7 +555,7 @@ \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% - \ifcase\tcb@segment@state% + \ifcase\tcbsegmentstate% {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathfirst}% \or% \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UR% @@ -574,7 +574,7 @@ frame engine=pathmiddle,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathmiddle,% interior titled code={% \iftcb@lowerseparated% - \ifcase\tcb@segment@state% + \ifcase\tcbsegmentstate% {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathmiddle}% \or% \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UT% @@ -586,7 +586,7 @@ \fi\tcb@spec{}},% interior code={% \iftcb@lowerseparated% - \ifcase\tcb@segment@state% + \ifcase\tcbsegmentstate% {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathmiddle}% \or% \tcb@spec{fill=tcbcol@back}\tcb@drawspec@US% @@ -605,7 +605,7 @@ frame engine=pathlast,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathlast,% interior titled code={% \iftcb@lowerseparated% - \ifcase\tcb@segment@state + \ifcase\tcbsegmentstate {\tcb@spec{fill=tcbcol@back}\tcb@drawwithtitle@pathlast}% \or% \tcb@spec{fill=tcbcol@back}\tcb@drawspec@UT% @@ -617,7 +617,7 @@ \fi\tcb@spec{}}, interior code={% \iftcb@lowerseparated% - \ifcase\tcb@segment@state% + \ifcase\tcbsegmentstate% {\tcb@spec{fill=tcbcol@back}\tcb@drawwithouttitle@pathlast}% \or% \tcb@spec{fill=tcbcol@back}\tcb@drawspec@US% @@ -652,7 +652,7 @@ frame engine=path,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=path,% interior titled code={% \iftcb@lowerseparated% - \ifnum\tcb@segment@state=1% + \ifnum\tcbsegmentstate=1% \tcb@spec{beamer@color}\tcb@drawspec@UT% \else% {\tcb@spec{beamer@color}\tcb@drawwithtitle@path}% @@ -663,7 +663,7 @@ \tcb@drawspec@T\tcb@spec{}}, interior code={% \iftcb@lowerseparated% - \ifnum\tcb@segment@state=1 + \ifnum\tcbsegmentstate=1 \tcb@spec{beamer@color}\tcb@drawspec@UR% \else% {\tcb@spec{beamer@color}\tcb@drawwithouttitle@path}% @@ -680,7 +680,7 @@ frame engine=pathfirst,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathfirst,% interior titled code={% \iftcb@lowerseparated% - \ifnum\tcb@segment@state=1% + \ifnum\tcbsegmentstate=1% \tcb@spec{beamer@color}\tcb@drawspec@UT% \else% {\tcb@spec{beamer@color}\tcb@drawwithtitle@pathfirst}% @@ -691,7 +691,7 @@ \tcb@drawspec@T\tcb@spec{}},% interior code={% \iftcb@lowerseparated% - \ifnum\tcb@segment@state=1 + \ifnum\tcbsegmentstate=1 \tcb@spec{beamer@color}\tcb@drawspec@UR% \else% {\tcb@spec{beamer@color}\tcb@drawwithouttitle@pathfirst}% @@ -706,7 +706,7 @@ frame engine=pathmiddle,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathmiddle,% interior titled code={% \iftcb@lowerseparated% - \ifnum\tcb@segment@state=1% + \ifnum\tcbsegmentstate=1% \tcb@spec{beamer@color}\tcb@drawspec@UT% \else% {\tcb@spec{beamer@color}\tcb@drawwithtitle@pathmiddle}% @@ -717,7 +717,7 @@ \tcb@drawspec@T\tcb@spec{}},% interior code={% \iftcb@lowerseparated% - \ifnum\tcb@segment@state=1 + \ifnum\tcbsegmentstate=1 \tcb@spec{beamer@color}\tcb@drawspec@US% \else% {\tcb@spec{beamer@color}\tcb@drawwithouttitle@pathmiddle}% @@ -732,7 +732,7 @@ frame engine=pathlast,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathlast,% interior titled code={% \iftcb@lowerseparated% - \ifnum\tcb@segment@state=1% + \ifnum\tcbsegmentstate=1% \tcb@spec{beamer@color}\tcb@drawspec@UT% \else% {\tcb@spec{beamer@color}\tcb@drawwithtitle@pathlast}% @@ -743,7 +743,7 @@ \tcb@drawspec@T\tcb@spec{}},% interior code={% \iftcb@lowerseparated% - \ifnum\tcb@segment@state=1 + \ifnum\tcbsegmentstate=1 \tcb@spec{beamer@color}\tcb@drawspec@US% \else% {\tcb@spec{beamer@color}\tcb@drawwithouttitle@pathlast}% @@ -828,7 +828,7 @@ ([xshift={\kvtcb@left@rule},yshift={\kvtcb@bottom@rule}]frame.south west) rectangle ([xshift={-\kvtcb@right@rule},yshift={-\kvtcb@top@rule}]frame.north east); \fi% - \ifcase\tcb@segment@state + \ifcase\tcbsegmentstate \path[fill=white,draw,dotted] ([xshift={\kvtcb@boxsep},yshift={\kvtcb@boxsep+\tcb@break@bottomsep}]interior.south west) rectangle ([xshift={-\kvtcb@boxsep},yshift={-\kvtcb@boxsep-\tcb@break@topsep}]interior.north east); @@ -1215,6 +1215,8 @@ \tcbdimto\tcb@ppbb@height{\pgf@yb-\pgf@ya}% } +\def\tcb@ppbb@textbox#1{\pgftext[x=\the\dimexpr\pgf@xa+\tcb@ppbb@width/2\relax,y=\pgf@ya+\tcb@ppbb@height/2]{#1}} + \def\tcb@set@waterbox@to@graphics#1{% \setbox\tcb@waterbox=\color@hbox\pgfinterruptpicture{\expandafter\includegraphics\expandafter[\tcb@tikz@fill@graphics@options]{#1}}\endpgfinterruptpicture\color@endbox% } @@ -1231,29 +1233,31 @@ fill image options/.store in=\tcb@tikz@fill@graphics@options,% fill image options=,% fill plain image/.style={path picture={% - \node at (path picture bounding box.center) {\expandafter\includegraphics\expandafter[\tcb@tikz@fill@graphics@options]{#1}}; + \tcb@process@ppbb@wh% + \tcb@ppbb@textbox{\expandafter\includegraphics\expandafter[\tcb@tikz@fill@graphics@options]{#1}}% }}, fill plain picture/.style={path picture={% + \tcb@process@ppbb@wh% \tcb@set@waterbox@to@picture{#1}% - \node at (path picture bounding box.center) {\box\tcb@waterbox}; + \tcb@ppbb@textbox{\box\tcb@waterbox}% }}, fill stretch image/.style={path picture={% \tcb@process@ppbb@wh% - \node at (path picture bounding box.center) {\expandafter\includegraphics\expandafter[\tcb@tikz@fill@graphics@options,% + \tcb@ppbb@textbox{\expandafter\includegraphics\expandafter[\tcb@tikz@fill@graphics@options,% width=\the\dimexpr\tcb@tikz@fill@graphics@scale\dimexpr\tcb@ppbb@width\relax,% - height=\the\dimexpr\tcb@tikz@fill@graphics@scale\dimexpr\tcb@ppbb@height\relax]{#1}}; + height=\the\dimexpr\tcb@tikz@fill@graphics@scale\dimexpr\tcb@ppbb@height\relax]{#1}}% }}, fill stretch picture/.style={path picture={% \tcb@process@ppbb@wh% \tcb@set@waterbox@to@picture{#1}% \tcb@comp@waterbox@stretch{\tcb@tikz@fill@graphics@scale}{\tcb@ppbb@width}{\tcb@ppbb@height}% - \node at (path picture bounding box.center) {\tcb@box@scaled@waterbox};% + \tcb@ppbb@textbox{\tcb@box@scaled@waterbox}% }}, fill@overzoom/.style={path picture={% \tcb@process@ppbb@wh% #1% \tcb@comp@waterbox@overzoom{\tcb@tikz@fill@graphics@scale}{\tcb@ppbb@width}{\tcb@ppbb@height}% - \node at (path picture bounding box.center) {\tcb@box@scaled@waterbox};% + \tcb@ppbb@textbox{\tcb@box@scaled@waterbox}% }}, fill overzoom image/.style={fill@overzoom={\tcb@set@waterbox@to@graphics{#1}}},% fill overzoom picture/.style={fill@overzoom={\tcb@set@waterbox@to@picture{#1}}},% @@ -1261,7 +1265,7 @@ \tcb@process@ppbb@wh% #1% \tcb@comp@waterbox@zoom{\tcb@tikz@fill@graphics@scale}{\tcb@ppbb@width}{\tcb@ppbb@height}% - \node at (path picture bounding box.center) {\tcb@box@scaled@waterbox};% + \tcb@ppbb@textbox{\tcb@box@scaled@waterbox}% }}, fill zoom image/.style={fill@zoom={\tcb@set@waterbox@to@graphics{#1}}},% fill zoom picture/.style={fill@zoom={\tcb@set@waterbox@to@picture{#1}}},% @@ -1269,7 +1273,7 @@ \tcb@process@ppbb@wh% #1% \tcb@comp@waterbox@shrink{\tcb@tikz@fill@graphics@scale}{\tcb@ppbb@width}{\tcb@ppbb@height}% - \node at (path picture bounding box.center) {\tcb@box@scaled@waterbox};% + \tcb@ppbb@textbox{\tcb@box@scaled@waterbox}% }}, fill shrink image/.style={fill@shrink={\tcb@set@waterbox@to@graphics{#1}}},% fill shrink picture/.style={fill@shrink={\tcb@set@waterbox@to@picture{#1}}},% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 4a3c90937a2..3f9f3931750 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.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 7662bdaf87c..7c66df3af9a 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% 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{4.02} +\tcb@set@library@version{4.03} \RequirePackage{amsmath} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex index 1b0fc917ac5..c9a79578cbf 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.02} +\tcb@set@library@version{4.03} \tcbuselibrary{skins} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex index db0b964551d..a8594fa3754 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.02} +\tcb@set@library@version{4.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 70f7c62a5c4..0c991b172ca 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 4.02 (2017/02/24) +%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2017/02/24 version 4.02 text color boxes] -\def\tcb@version{4.02} +\ProvidesPackage{tcolorbox}[2017/04/25 version 4.03 text color boxes] +\def\tcb@version{4.03} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -1659,9 +1659,9 @@ \tcbdimto\tcb@natheight{\tcb@h@padtitle+\kvtcb@top@rule+\kvtcb@bottom@rule+\kvtcb@boxsep*2+\kvtcb@top+\kvtcb@bottom+\tcb@h@upper}% \iftcb@lowerspace% \tcbdimto\tcb@natheight{\tcb@natheight+\tcb@h@segment+\tcb@h@lower}% - \def\tcb@segment@state{1}% + \def\tcbsegmentstate{1}% \else% - \def\tcb@segment@state{0}% + \def\tcbsegmentstate{0}% \fi% \tcb@ch% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% |