From e86345f5dc9769da6df2b57003f79e20506092cd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 19 Sep 2019 20:45:10 +0000 Subject: tcolorbox (19sep19) git-svn-id: svn://tug.org/texlive/trunk@52128 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/tcolorbox/tcbbreakable.code.tex | 4 +- .../tex/latex/tcolorbox/tcbdocumentation.code.tex | 59 +++++++++++++++++----- .../tex/latex/tcolorbox/tcbexternal.code.tex | 4 +- .../tex/latex/tcolorbox/tcbfitting.code.tex | 4 +- .../tex/latex/tcolorbox/tcbhooks.code.tex | 17 ++++--- .../tex/latex/tcolorbox/tcblistings.code.tex | 4 +- .../tex/latex/tcolorbox/tcblistingscore.code.tex | 4 +- .../tex/latex/tcolorbox/tcblistingsutf8.code.tex | 4 +- .../tex/latex/tcolorbox/tcbmagazine.code.tex | 4 +- .../tex/latex/tcolorbox/tcbminted.code.tex | 4 +- .../tex/latex/tcolorbox/tcbposter.code.tex | 4 +- .../tex/latex/tcolorbox/tcbprocessing.code.tex | 4 +- .../tex/latex/tcolorbox/tcbraster.code.tex | 4 +- .../tex/latex/tcolorbox/tcbskins.code.tex | 4 +- .../tex/latex/tcolorbox/tcbskinsjigsaw.code.tex | 4 +- .../tex/latex/tcolorbox/tcbtheorems.code.tex | 4 +- .../tex/latex/tcolorbox/tcbvignette.code.tex | 4 +- .../tex/latex/tcolorbox/tcbxparse.code.tex | 10 ++-- .../texmf-dist/tex/latex/tcolorbox/tcolorbox.sty | 36 ++++++++++--- 19 files changed, 120 insertions(+), 62 deletions(-) (limited to 'Master/texmf-dist/tex/latex/tcolorbox') diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index 69f5899e5c5..224eed6ed67 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \let\tcb@parboxrestore@true=\tcb@parboxrestore \let\tcb@parboxrestore@false\tcb@parbox@false@settings diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index ecd2d24dd22..a9475d0f860 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \tcbuselibrary{listings,skins,xparse,external} @@ -33,9 +33,11 @@ \definecolor{ExampleFrame}{rgb}{0.628,0.705,0.942} \definecolor{ExampleBack}{rgb}{0.963,0.971,0.994} \definecolor{Hyperlink}{rgb}{0.281,0.275,0.485} +\definecolor{Fade}{rgb}{0.5,0.5,0.5} \def\colDef#1{\textcolor{\kvtcb@col@command}{#1}} \def\colOpt#1{\textcolor{\kvtcb@col@opt}{#1}} +\def\colFade#1{\textcolor{\kvtcb@col@fade}{#1}} \lstdefinestyle{tcbdocumentation}{language={[LaTeX]TeX}, aboveskip={0\p@ \@plus 6\p@}, @@ -105,6 +107,8 @@ length/.store in=\kvtcb@text@length, lengths/.store in=\kvtcb@text@lengths, new/.store in=\kvtcb@text@new, + path/.store in=\kvtcb@text@path, + paths/.store in=\kvtcb@text@paths, pageshort/.store in=\kvtcb@text@pageshort, updated/.store in=\kvtcb@text@updated, value/.store in=\kvtcb@text@value, @@ -125,8 +129,10 @@ color counter/.store in=\kvtcb@col@counter, color length/.store in=\kvtcb@col@length, color color/.store in=\kvtcb@col@color, + color fade/.store in=\kvtcb@col@fade, + color path/.store in=\kvtcb@col@path, color definition/.style={color command={#1},color environment={#1},color key={#1}, - color value={#1},color color={#1},color counter={#1},color length={#1}}, + color value={#1},color color={#1},color counter={#1},color length={#1}, color path={#1}}, color option/.store in=\kvtcb@col@opt, color hyperlink/.store in=\kvtcb@colhyper, color frame/.store in=\kvtcb@colhyper, @@ -145,15 +151,22 @@ doc head command/.style={doc@head@command/.style={#1}}, doc head environment/.style={doc@head@environment/.style={#1}}, doc head key/.style={doc@head@key/.style={#1}}, - doc head/.style={doc head command={#1},doc head environment={#1},doc head key={#1}}, + doc head path/.style={doc@head@path/.style={#1}}, + doc head/.style={doc head command={#1},doc head environment={#1},doc head key={#1}, + doc head path={#1}}, + doc label/.store in=\kvtcb@doc@label, before doc body command/.store in=\kvtcb@doc@body@command@before, after doc body command/.store in=\kvtcb@doc@body@command@after, before doc body environment/.store in=\kvtcb@doc@body@environment@before, after doc body environment/.store in=\kvtcb@doc@body@environment@after, before doc body key/.store in=\kvtcb@doc@body@key@before, after doc body key/.store in=\kvtcb@doc@body@key@after, - before doc body/.style={before doc body command={#1},before doc body environment={#1},before doc body key={#1}}, - after doc body/.style={after doc body command={#1},after doc body environment={#1},after doc body key={#1}}, + before doc body path/.store in=\kvtcb@doc@body@path@before, + after doc body path/.store in=\kvtcb@doc@body@path@after, + before doc body/.style={before doc body command={#1},before doc body environment={#1}, + before doc body key={#1},before doc body path={#1}}, + after doc body/.style={after doc body command={#1},after doc body environment={#1} + ,after doc body key={#1},after doc body path={#1}}, doc description/.store in=\kvtcb@doc@description,% doc into index/.is if=tcb@doc@toindex,% doc updated/.style={before upper={\tcbdocmarginnote{\tcbdocupdated{#1}}}}, @@ -182,6 +195,7 @@ counter=counter,counters=Counters, environment content=environment content, environment=environment,environments=Environments, + path=path operation,paths=Path operations, index=Index, key=key,keys=Keys, length=length,lengths=Lengths, @@ -259,6 +273,10 @@ \newrobustcmd{\tcbIndexPrintKeyC}[1]{\tcb@Index@Print@C{#1}{\kvtcb@col@key}} \def\tcb@Print@Key#1{\textcolor{\kvtcb@col@key}{\tcb@doc@bfseries\tcb@scantokens{#1}}} +\newrobustcmd{\tcbIndexPrintPathCA}[1]{\tcb@Index@Print@CA{#1}{\kvtcb@col@path}{\kvtcb@text@path}} +\newrobustcmd{\tcbIndexPrintPathC}[1]{\tcb@Index@Print@C{#1}{\kvtcb@col@path}} +\def\tcb@Print@Path#1{\textcolor{\kvtcb@col@path}{\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}{\tcb@doc@bfseries\tcb@scantokens{#1}}} @@ -279,6 +297,7 @@ \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} \def\tcb@index@Key#1{\iftcb@doc@toindex\kvtcb@index@command{#1\idx@actual\tcbIndexPrintKeyCA{#1}}\kvtcb@index@command{\kvtcb@text@keys\idx@level#1\idx@actual\tcbIndexPrintKeyC{#1}}\fi}% \def\tcb@index@KeyPath#1#2{\iftcb@doc@toindex\kvtcb@index@command{#2\idx@actual\tcbIndexPrintKeyCA{#2}}\kvtcb@index@command{\kvtcb@text@keys\idx@level#1\idx@actual\tcbIndexPrintKeyC{/#1/}\idx@level#2\idx@actual\tcbIndexPrintKeyC{#2}}\fi}% +\def\tcb@index@Path#1{\iftcb@doc@toindex\kvtcb@index@command{#1\idx@actual\tcbIndexPrintPathCA{#1}}\kvtcb@index@command{\kvtcb@text@paths\idx@level#1\idx@actual\tcbIndexPrintPathC{#1}}\fi} \def\tcb@index@Val#1{\iftcb@doc@toindex\kvtcb@index@command{#1\idx@actual\tcbIndexPrintValCA{#1}}\kvtcb@index@command{\kvtcb@text@values\idx@level#1\idx@actual\tcbIndexPrintValC{#1}}\fi} \def\tcb@index@Col#1{\iftcb@doc@toindex\kvtcb@index@command{#1\idx@actual\tcbIndexPrintColCA{#1}}\kvtcb@index@command{\kvtcb@text@colors\idx@level#1\idx@actual\tcbIndexPrintColC{#1}}\fi} \def\tcb@index@Count#1{\iftcb@doc@toindex\kvtcb@index@command{#1\idx@actual\tcbIndexPrintCountCA{#1}}\kvtcb@index@command{\kvtcb@text@counters\idx@level#1\idx@actual\tcbIndexPrintCountC{#1}}\fi} @@ -311,20 +330,20 @@ enlarge bottom by=-0.2\baselineskip,#1} % main documentation environments -\newenvironment{docCommand}[3][]{\tcbset{#1}% +\newenvironment{docCommand}[3][]{\tcbset{doc label={#2},#1}% \begin{tcb@manual@entry}% \begin{tcb@doc@head}{doc@head@command}% - \tcb@Print@Com{#2}\tcb@index@Com{#2}\protected@edef\@currentlabel{\noexpand\tcb@cs{#2}}\label{com:#2}{\ttfamily #3}% + \tcb@Print@Com{#2}\tcb@index@Com{#2}\protected@edef\@currentlabel{\noexpand\tcb@cs{#2}}\label{com:\kvtcb@doc@label}{\ttfamily #3}% \tcb@doc@do@description% \end{tcb@doc@head}\nobreak\tcbset{before upper=}\kvtcb@doc@body@command@before\ignorespaces}% {\ifvmode\else\unskip\fi\kvtcb@doc@body@command@after\end{tcb@manual@entry}} \newenvironment{docCommand*}{\bgroup\tcb@doc@toindexfalse\begin{docCommand}}{\end{docCommand}\egroup} -\newenvironment{docEnvironment}[3][]{\tcbset{#1}% +\newenvironment{docEnvironment}[3][]{\tcbset{doc label={#2},#1}% \begin{tcb@manual@entry}% \begin{tcb@doc@head}{doc@head@environment}% - \strut\cs{begin}\brackets{\tcb@Print@Env{#2}}\tcb@index@Env{#2}\protected@edef\@currentlabel{#2}\label{env:#2}{\ttfamily #3}\par% + \strut\cs{begin}\brackets{\tcb@Print@Env{#2}}\tcb@index@Env{#2}\protected@edef\@currentlabel{#2}\label{env:\kvtcb@doc@label}{\ttfamily #3}\par% \strut~~\meta{\kvtcb@text@envcontent}\par% \strut\cs{end}\brackets{\tcb@Print@Env{#2}}% \tcb@doc@do@description% @@ -333,14 +352,14 @@ \newenvironment{docEnvironment*}{\bgroup\tcb@doc@toindexfalse\begin{docEnvironment}}{\end{docEnvironment}\egroup} -\NewDocumentEnvironment{docKey}{ O{} +O{} m m +m }{\tcbset{#2,doc description={#5}}% +\NewDocumentEnvironment{docKey}{ O{} +O{} m m +m }{\tcbset{doc label={#3},#2,doc description={#5}}% \begin{tcb@manual@entry}% \begin{tcb@doc@head}{doc@head@key}% \ifblank{#1}{% - \tcb@Print@Key{#3}\tcb@index@Key{#3}\protected@edef\@currentlabel{#3}\label{key:#3}{\ttfamily #4}% + \tcb@Print@Key{#3}\tcb@index@Key{#3}\protected@edef\@currentlabel{#3}\label{key:\kvtcb@doc@label}{\ttfamily #4}% }{% \tcb@Print@Key{/#1/#3}% - \tcb@index@KeyPath{#1}{#3}\protected@edef\@currentlabel{/#1/#3}\label{key:/#1/#3}{\ttfamily #4}% + \tcb@index@KeyPath{#1}{#3}\protected@edef\@currentlabel{/#1/#3}\label{key:/#1/\kvtcb@doc@label}{\ttfamily #4}% }% \tcb@doc@do@description% \end{tcb@doc@head}\nobreak\tcbset{before upper=}\kvtcb@doc@body@key@before\ignorespaces}% @@ -356,6 +375,18 @@ \newenvironment{#1*}{\bgroup\tcb@doc@toindexfalse\begin{#1}}{\end{#1}\egroup}% } +\newenvironment{docPathOperation}[3][]{\tcbset{doc label={#2},#1}% + \begin{tcb@manual@entry}% + \begin{tcb@doc@head}{doc@head@path}% + \colFade{\tcb@cs{path ...}}\ + \tcb@Print@Path{#2}\tcb@index@Path{#2}\protected@edef\@currentlabel{#2}\label{path:\kvtcb@doc@label}{\ttfamily #3}% + \ \colFade{\tcb@scantokens{...;}} + \tcb@doc@do@description% + \end{tcb@doc@head}\nobreak\tcbset{before upper=}\kvtcb@doc@body@path@before\ignorespaces}% + {\ifvmode\else\unskip\fi\kvtcb@doc@body@path@after\end{tcb@manual@entry}} + +\newenvironment{docPathOperation*}{\bgroup\tcb@doc@toindexfalse\begin{docPathOperation}}{\end{docPathOperation}\egroup} + \DeclareDocumentCommand\docAuxCommand{sm}{% \tcb@Print@Com{#2}% \IfBooleanTF{#1}{}{\tcb@index@Com{#2}}% @@ -408,6 +439,7 @@ \def\refCom{\tcb@ref@doc{com}} \def\refEnv{\tcb@ref@doc{env}} \def\refKey{\tcb@ref@doc{key}} +\def\refPathOperation{\tcb@ref@doc{path}} \def\refAux#1{\textcolor{\kvtcb@colhyper}{\tcb@scantokens{#1}}} \def\refAuxcs#1{\textcolor{\kvtcb@colhyper}{\tcb@cs{#1}}} @@ -491,6 +523,7 @@ color option=Option, color definition=Definition, color hyperlink=Hyperlink, + color fade=Fade, index command=\index,% index format=pgf, index default settings, diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 0f3f68546ff..f16893e3c23 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.20} +\tcb@set@library@version{4.21} \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 7e32bdec72b..be49d57baba 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 d0e0acae721..db0a3b5b2aa 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \tcbset{% before upper app/.code={\appto\kvtcb@before@upper{#1}},% @@ -74,10 +74,10 @@ title code app/.code={\appto\tcb@title@code{#1}},% title code pre/.code={\preto\tcb@title@code{#1}},% % - extras unbroken pre/.code={\preto\tcb@extras@unbroken{#1}},% - extras first pre/.code={\preto\tcb@extras@first{#1}},% - extras middle pre/.code={\preto\tcb@extras@middle{#1}},% - extras last pre/.code={\preto\tcb@extras@last{#1}},% + extras unbroken pre/.code={\preto\tcb@extras@unbroken{\tcbset{#1}}},% + extras first pre/.code={\preto\tcb@extras@first{\tcbset{#1}}},% + extras middle pre/.code={\preto\tcb@extras@middle{\tcbset{#1}}},% + extras last pre/.code={\preto\tcb@extras@last{\tcbset{#1}}},% extras pre/.style={extras unbroken pre={#1},extras first pre={#1},extras middle pre={#1},extras last pre={#1}},% extras broken pre/.style={extras first pre={#1},extras middle pre={#1},extras last pre={#1}},% extras unbroken and first pre/.style={extras unbroken pre={#1},extras first pre={#1}},% @@ -119,5 +119,10 @@ watermark text pre/.style={overlay pre={\tcb@drawspec@watermark@text{#1}}}, watermark text app on/.style args={#1 is #2}{overlay #1 app={\tcb@drawspec@watermark@text{#2}}}, watermark text pre on/.style args={#1 is #2}{overlay #1 pre={\tcb@drawspec@watermark@text{#2}}}, + % + minted options app/.code={\appto\kvtcb@minted@options{,#1}}, + minted options pre/.code={\preto\kvtcb@minted@options{#1,}}, + listing options app/.code={\appto\kvtcb@listingoptions{,#1}}, + listing options pre/.code={\preto\kvtcb@listingoptions{#1,}}, } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex index 418618ad6ba..11de76ad0d2 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 2906d28c356..c70ac254adc 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 46720bc9803..d65e96e0699 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 75c4ef5e399..16a92a74318 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 220d7d82f7a..a7de5a99900 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \RequirePackage{minted}[2011/09/17] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex index 057e02b30f9..de26989faeb 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.20} +\tcb@set@library@version{4.21} \tcbuselibrary{breakable,magazine,skins,fitting} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex index 773d095bc88..953c708d360 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 aab39967d69..2ea8a91eb5b 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index b209a86e706..e530a07efd9 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \RequirePackage{tikz}[2010/10/13] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 0c2e5902d91..4fa98841d9c 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 06ce9c04a5f..50a16801aa4 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 0f494da1dd5..05f7b2685b4 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% 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.20} +\tcb@set@library@version{4.21} \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 be04cd80285..6126157d269 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- @@ -18,14 +18,14 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.20} +\tcb@set@library@version{4.21} \RequirePackage{xparse}[2013/12/31] \tcbset{% - IfNoValueTF/.code args={#1#2#3}{\IfNoValueTF{#1}{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}}, - IfValueTF/.code args={#1#2#3}{\IfValueTF{#1}{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}}, - IfBooleanTF/.code args={#1#2#3}{\IfBooleanTF{#1}{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}}, + IfNoValueTF/.code n args={3}{\IfNoValueTF{#1}{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}}, + IfValueTF/.code n args={3}{\IfValueTF{#1}{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}}, + IfBooleanTF/.code n args={3}{\IfBooleanTF{#1}{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}}, verbatim/.style={fontupper=\ttfamily,nobeforeafter,tcbox raise base,top=0pt,bottom=0pt,left=1mm,right=1mm,boxrule=0.3mm} } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty index 778bf123638..e70df1e68b5 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.20 (2019/03/02) +%% The LaTeX package tcolorbox - version 4.21 (2019/09/19) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2019/03/02 version 4.20 text color boxes] -\def\tcb@version{4.20} +\ProvidesPackage{tcolorbox}[2019/09/19 version 4.21 text color boxes] +\def\tcb@version{4.21} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -431,9 +431,15 @@ left skip/.style={grow to left by={-\dimexpr#1\relax}}, right skip/.style={grow to right by={-\dimexpr#1\relax}}, leftright skip/.style={left skip={#1},right skip={#1}}, - spread inwards/.style={grow to left by=1in+\hoffset+\oddsidemargin+\@totalleftmargin+(#1),code={\if@twoside\tcbset{toggle enlargement}\fi}}, + spread inwards/.style={% + if odd page={grow to left by=1in+\hoffset+\oddsidemargin+\@totalleftmargin+(#1)}% + {grow to right by=\paperwidth-\textwidth-1in-\hoffset-\evensidemargin+(#1)}% + }, spread inwards/.default=\z@, - spread outwards/.style={grow to right by=\paperwidth-\textwidth-1in-\hoffset-\oddsidemargin+(#1),code={\if@twoside\tcbset{toggle enlargement}\fi}}, + spread outwards/.style={% + if odd page={grow to right by=\paperwidth-\textwidth-1in-\hoffset-\oddsidemargin+(#1)}% + {grow to left by=1in+\hoffset+\evensidemargin+\@totalleftmargin+(#1)}% + }, spread outwards/.default=\z@, move upwards/.style={before={\clearpage% \lineskip\z@skip% @@ -576,10 +582,23 @@ tabularx*/.style 2 args={% boxsep=\z@,top=\z@,bottom=\z@,leftupper=\z@,rightupper=\z@, toptitle=1mm,bottomtitle=1mm,boxrule=0.5mm, - before upper*={\arrayrulecolor{tcbcolframe}\def\arraystretch{1.1}#1% + before upper*={% + \let\tcb@CT@arc@save\CT@arc@% + \arrayrulecolor{tcbcolframe}\def\arraystretch{1.1}#1% \tcb@hack@currenvir\tabularx{\linewidth}{#2}}, - after upper*=\endtabularx\arrayrulecolor{black}}, + after upper*={\endtabularx\global\let\CT@arc@\tcb@CT@arc@save}% + }, tabularx/.style={tabularx*={}{#1}}, + tabulars*/.style 2 args={% + boxsep=\z@,top=\z@,bottom=\z@,leftupper=\z@,rightupper=\z@, + toptitle=1mm,bottomtitle=1mm,boxrule=0.5mm, + before upper*={% + \let\tcb@CT@arc@save\CT@arc@% + \arrayrulecolor{tcbcolframe}\def\arraystretch{1.1}#1% + \begin{tabular*}{\linewidth}{#2}}, + after upper*={\end{tabular*}\global\let\CT@arc@\tcb@CT@arc@save} + }, + tabulars/.style={tabulars*={}{#1}}, tikz upper/.style={before upper*={\centering\tcb@shield@externalize\begin{tikzpicture}[{#1}]},after upper*=\end{tikzpicture}},% tikz lower/.style={before lower*={\centering\tcb@shield@externalize\begin{tikzpicture}[{#1}]},after lower*=\end{tikzpicture}},% tikznode upper/.style={before upper={\centering\tcb@shield@externalize\begin{tikzpicture}\node[{align=center,inner sep=\z@,outer sep=\z@,#1}]\bgroup},after upper={\egroup;\end{tikzpicture}}},% @@ -2136,12 +2155,13 @@ before title=,after title=,before upper=,after upper=,before lower=,after lower=, sidebyside=false,sidebyside align=center,sidebyside gap=10mm, lefthand ratio=0.5,check odd page=false,nophantom, - shield externalize=false,list entry=,no label type, + list entry=,no label type, opacityupper=1.0,opacitylower=1.0,opacitytitle=1.0,opacityframe=1.0,opacityback=1.0,@opacitybacktitle=1.0, subtitle style=,title filled=false,every float=,ignore nobreak=false,before nobreak=\noindent, tcbox width=auto, }, initialize@reset=reset@core, + shield externalize=false, } \def\tcbsetforeverylayer#1{\tcbset{initialize@reset={#1}}} -- cgit v1.2.3