From 69c340802da3a11fda1c3dbdadb4e662641ded3e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 17 Feb 2017 00:24:04 +0000 Subject: tcolorbox (16feb17) git-svn-id: svn://tug.org/texlive/trunk@43255 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/tcolorbox/tcbbreakable.code.tex | 13 ++-- .../tex/latex/tcolorbox/tcbdocumentation.code.tex | 6 +- .../tex/latex/tcolorbox/tcbexternal.code.tex | 6 +- .../tex/latex/tcolorbox/tcbfitting.code.tex | 6 +- .../tex/latex/tcolorbox/tcbhooks.code.tex | 6 +- .../tex/latex/tcolorbox/tcblistings.code.tex | 6 +- .../tex/latex/tcolorbox/tcblistingscore.code.tex | 6 +- .../tex/latex/tcolorbox/tcblistingsutf8.code.tex | 6 +- .../tex/latex/tcolorbox/tcbmagazine.code.tex | 6 +- .../tex/latex/tcolorbox/tcbminted.code.tex | 6 +- .../tex/latex/tcolorbox/tcbprocessing.code.tex | 6 +- .../tex/latex/tcolorbox/tcbraster.code.tex | 10 +-- .../tex/latex/tcolorbox/tcbskins.code.tex | 33 +++++++- .../tex/latex/tcolorbox/tcbskinsjigsaw.code.tex | 6 +- .../tex/latex/tcolorbox/tcbtheorems.code.tex | 6 +- .../tex/latex/tcolorbox/tcbvignette.code.tex | 6 +- .../tex/latex/tcolorbox/tcbxparse.code.tex | 6 +- .../texmf-dist/tex/latex/tcolorbox/tcolorbox.sty | 91 ++++++++++++++++------ 18 files changed, 150 insertions(+), 81 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index 67211033136..c4c1a6a3d22 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \let\tcb@parboxrestore@true=\tcb@parboxrestore \let\tcb@parboxrestore@false\tcb@parbox@false@settings @@ -296,10 +296,11 @@ \global\let\tcb@after@lastbox=\kvtcb@afterbox% \let\kvtcb@afterbox=\@empty% \begingroup% - \parskip\z@% + \parskip\z@skip% \parindent\z@% - \lineskip\z@% - \topskip\z@% + \lineskip\z@skip% + \topskip\z@skip% + \parfillskip\z@\@plus 1fil% \tcb@split@start% \endgroup% \color{.}% hack for some special cases diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index 7cf0cf0bdf9..620081f538a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \tcbuselibrary{listings,skins,xparse,external} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 6aa36f6dd11..f8303fe14bb 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 851f6efc721..f0186281fe7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 d1927dd0840..77a8b5044e6 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 6ea490dd3d2..d07ffd84e29 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 af797f4a2c2..6fe821f3b95 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 99ebc70caa2..92e5430259d 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 b474795b4d8..e639001392a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 4f4afa02d21..a6bb69b6739 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \RequirePackage{minted}[2011/09/17] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex index f40501273d5..5bc5cd510f4 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 bbd980ce483..3c38e5e9523 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} @@ -158,7 +158,7 @@ \tcbset{#1}% \tcbset@late@options{% before={\ifhmode\unskip\fi\ifnum\c@tcbrastercolumn>1 \kern\kvtcb@raster@xskip\else% - \ifnum\c@tcbrasterrow>1 \parindent\z@\parskip\z@\par\nointerlineskip\addvspace{\the\dimexpr\kvtcb@raster@yskip\relax}\noindent\fi% + \ifnum\c@tcbrasterrow>1 \parindent\z@\parskip\z@\parfillskip\z@\@plus 1fil\par\nointerlineskip\addvspace{\the\dimexpr\kvtcb@raster@yskip\relax}\noindent\fi% \kern\kvtcb@raster@skip@left\fi}, after={% \ifnum\c@tcbrastercolumn=\kvtcb@raster@columns\relax% @@ -202,7 +202,7 @@ \kern\kvtcb@raster@skip@right% \fi% \begingroup% - \par\nointerlineskip% + \parfillskip\z@\@plus 1fil\par\nointerlineskip% \addvspace{\glueexpr\kvtcb@raster@skip@after-\parskip}% \endgroup% \tcb@end@raster% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index cdf2ed93b90..f4d0fd0ca72 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \RequirePackage{tikz}[2010/10/13] @@ -1815,6 +1815,33 @@ graphics directory/.store in=\kvtcb@graphics@directory, } +\newcommand{\tcbhypernode}[2]{\ifdefined\hypersetup\@ifundefined{pgf@sh@ns@#2}{}{% + \node[inner sep=0pt,outer sep=0pt] at (#2.center){% + \tcbsetmacrotowidthofnode\tcb@w@hn{#2}% + \tcbsetmacrotoheightofnode\tcb@h@hn{#2}% + \hypersetup{pdfborder=0 0 0}% + #1{\vtop to \dimexpr\tcb@h@hn-2bp\relax{\hbox to \dimexpr\tcb@w@hn-2bp\relax{}\vfil}}% + };% +}\fi} + +\tcbset{% + hyperref node/.style 2 args={finish={\tcbhypernode{\hyperref[#1]}{#2}}}, + hyperref/.style={hyperref node={#1}{frame}}, + hyperref interior/.style={hyperref node={#1}{interior}}, + hyperref title/.style={hyperref node={#1}{title}}, + hyperlink node/.style 2 args={finish={\tcbhypernode{\hyperlink{#1}}{#2}}}, + hyperlink/.style={hyperlink node={#1}{frame}}, + hyperlink interior/.style={hyperlink node={#1}{interior}}, + hyperlink title/.style={hyperlink node={#1}{title}}, + hyperurl node/.style 2 args={finish={\tcbhypernode{\href{#1}}{#2}}}, + hyperurl/.style={hyperurl node={#1}{frame}}, + hyperurl interior/.style={hyperurl node={#1}{interior}}, + hyperurl title/.style={hyperurl node={#1}{title}}, + hyperurl* node/.style n args={3}{finish={\tcbhypernode{\href[#1]{#2}}{#3}}}, + hyperurl*/.style 2 args={hyperurl* node={#1}{#2}{frame}}, + hyperurl* interior/.style 2 args={hyperurl* node={#1}{#2}{interior}}, + hyperurl* title/.style 2 args={hyperurl* node={#1}{#2}{title}}, +} \tcbset{% reset@skins/.style={% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 2053c636601..f216738859b 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 a5ef128dd8a..76e9d1abdb1 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 416d735cd5e..2d080edc401 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 12ff862f7ef..9db6e2cbeff 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{3.96} +\tcb@set@library@version{4.00} \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 daf0c19a377..87a1c9a18ab 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2016/11/18 version 3.96 text color boxes] -\def\tcb@version{3.96} +\ProvidesPackage{tcolorbox}[2017/02/16 version 4.00 text color boxes] +\def\tcb@version{4.00} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -229,15 +229,17 @@ \def\tcb@arc@scale{0.58578644}% \let\tcb@apply@graph@patches=\tcbpatcharcangular% }, - sharpish corners/.style={arc=0pt,outer arc=0pt}, + sharpish corners/.style={arc=\z@,outer arc=\z@}, lefttitle/.store in=\kvtcb@lefttitle, leftupper/.store in=\kvtcb@leftupper, leftlower/.store in=\kvtcb@leftlower, left/.style={lefttitle=#1,leftupper=#1,leftlower=#1}, + left*/.style={left={#1-(\kvtcb@left@rule)-(\kvtcb@boxsep)-(\kvtcb@bbleft)}}, righttitle/.store in=\kvtcb@righttitle, rightupper/.store in=\kvtcb@rightupper, rightlower/.store in=\kvtcb@rightlower, right/.style={righttitle=#1,rightupper=#1,rightlower=#1}, + right*/.style={right={#1-(\kvtcb@right@rule)-(\kvtcb@boxsep)-(\kvtcb@bbright)}}, top/.store in=\kvtcb@top, toptitle/.store in=\kvtcb@toptitle, bottom/.store in=\kvtcb@bottom, @@ -269,13 +271,13 @@ parskip/.style={before={\ifnum\lastnodetype=-1\relax\else\par% \ifvmode\edef\tcb@prevdepth{\the\glueexpr\prevdepth+\lineskip+\parskip}% \def\tcb@undo@before{\addvspace{-\glueexpr\tcb@prevdepth}}% - \pagebreak[0]\fi\fi\parindent=0pt}, - after={\par}}, + \pagebreak[0]\fi\fi\parindent\z@}, + after={\parfillskip\z@\@plus 1fil\par}}, noparskip/.style={before={\ifnum\lastnodetype=-1\relax\else\par% \ifvmode\edef\tcb@prevdepth{\the\glueexpr\prevdepth+\lineskip}% \def\tcb@undo@before{\addvspace{-\glueexpr\smallskipamount+\tcb@prevdepth}}% - \pagebreak[0]\smallskip\fi\fi\parindent=0pt}, - after={\par\smallskip}}, + \pagebreak[0]\smallskip\fi\fi\parindent\z@}, + after={\parfillskip\z@\@plus 1fil\par\smallskip}}, nobeforeafter/.style={before=,after=}, force nobeforeafter/.code={\tcbset@late@options{nobeforeafter}}, before skip/.style={before={% @@ -287,10 +289,10 @@ \def\tcb@undo@before{\addvspace{-\glueexpr#1+\tcb@prevdepth}}% \fi% \fi% - \lineskip=0pt\noindent% + \lineskip\z@skip\noindent% }}, after skip/.style={after={% - \par\ifvmode\nointerlineskip% + \parfillskip\z@\@plus 1fil\par\ifvmode\nointerlineskip% \addvspace{\glueexpr#1-\parskip}\fi% }}, beforeafter skip/.style={before skip={#1},after skip={#1}}, @@ -401,6 +403,37 @@ 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/.default=\z@, + spread outwards/.style={grow to right by=\paperwidth-\textwidth-1in-\hoffset-\oddsidemargin+(#1),code={\if@twoside\tcbset{toggle enlargement}\fi}}, + spread outwards/.default=\z@, + move upwards/.style={before={\clearpage% + \lineskip\z@skip% + \hrule\@height\z@% + \nobreak% + \vskip\glueexpr-1in-\voffset-\topmargin-\headheight-\headsep-\topskip-\parskip-(#1)\relax% + \noindent}}, + move upwards/.default=\z@, + move upwards*/.style={before={% + \lineskip\z@skip% + \hrule\@height\z@% + \vskip\z@% + \bgroup\@nobreakfalse\addpenalty\z@\egroup% + \vskip\glueexpr-1in-\voffset-\topmargin-\headheight-\headsep-\parskip+\pagegoal-\textheight-\pagetotal-(#1)\relax% + \noindent}}, + move upwards*/.default=\z@, + fill downwards/.style={height fill,enlarge bottom by={\dimexpr-\paperheight+\textheight+1in+\voffset+\topmargin+\headheight+\headsep-(#1)\relax}}, + fill downwards/.default=\z@, + spread sidewards/.style={spread inwards=#1,spread outwards=#1}, + spread sidewards/.default=\z@, + spread upwards/.style={move upwards=#1,spread inwards=#1,spread outwards=#1}, + spread upwards/.default=\z@, + spread upwards*/.style={move upwards*=#1,spread inwards=#1,spread outwards=#1}, + spread upwards*/.default=\z@, + spread downwards/.style={fill downwards=#1,spread inwards=#1,spread outwards=#1}, + spread downwards/.default=\z@, + spread/.style={move upwards=#1,fill downwards=#1,spread inwards=#1,spread outwards=#1}, + spread/.default=\z@, toggle enlargement/.is choice, toggle enlargement/none/.code={\let\tcb@setbb@toggle=\tcb@setbb@toggle@none}, toggle enlargement/evenpage/.code={\let\tcb@setbb@toggle=\tcb@setbb@toggle@evenpage\tcbset{check odd page}}, @@ -511,7 +544,7 @@ flushright upper/.style={halign upper=flush right},% flushright lower/.style={halign lower=flush right},% tabularx*/.style 2 args={% - boxsep=0pt,top=0pt,bottom=0pt,leftupper=0pt,rightupper=0pt, + boxsep=\z@,top=\z@,bottom=\z@,leftupper=\z@,rightupper=\z@, toptitle=1mm,bottomtitle=1mm,boxrule=0.5mm, before upper={\arrayrulecolor{tcbcol@frame}\def\arraystretch{1.1}#1% \tcb@hack@currenvir\tabularx{\linewidth}{#2}}, @@ -519,14 +552,14 @@ tabularx/.style={tabularx*={}{#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=0pt,outer sep=0pt,#1]\bgroup},after upper={\egroup;\end{tikzpicture}}},% - tikznode lower/.style={before lower={\centering\tcb@shield@externalize\begin{tikzpicture}\node[align=center,inner sep=0pt,outer sep=0pt,#1]\bgroup},after lower={\egroup;\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}}},% + tikznode lower/.style={before lower={\centering\tcb@shield@externalize\begin{tikzpicture}\node[align=center,inner sep=\z@,outer sep=\z@,#1]\bgroup},after lower={\egroup;\end{tikzpicture}}},% tikznode/.style={tikznode upper={#1},tikznode lower={#1}},% varwidth upper/.style={before upper={\tcbdimto\tcb@w@upper{#1-(\kvtcb@left@rule+\kvtcb@right@rule+(\kvtcb@boxsep)*2+\kvtcb@leftupper+\kvtcb@rightupper)}% \begin{varwidth}{\tcb@w@upper}},after upper={\end{varwidth}}},% varwidth upper/.default=\kvtcb@width, text fill/.style={before upper={% - \ifdim\dimexpr\tcbtextheight>0pt\relax% + \ifdim\dimexpr\tcbtextheight>\z@\relax% \edef\tcb@temp{\noexpand\minipage[c][\tcbtextheight]}% \else% \let\tcb@temp\minipage% @@ -537,7 +570,7 @@ width=\the\dimexpr\dimexpr\linewidth+#1+\kvtcb@left@rule+\kvtcb@leftupper+\kvtcb@boxsep*2+\kvtcb@rightupper+\kvtcb@right@rule\relax,% enlarge left by=-\the\dimexpr\kvtcb@left@rule+\kvtcb@leftupper+\kvtcb@boxsep+(#1)/2\relax,% enlarge right by=-\the\dimexpr\kvtcb@boxsep+\kvtcb@rightupper+\kvtcb@right@rule+(#1)/2\relax},% - oversize/.default=0pt,% + oversize/.default=\z@,% flush right/.style={enlarge left by=\linewidth-(\kvtcb@width)}, flush left/.style={enlarge right by=\linewidth-(\kvtcb@width)}, center/.style={enlarge left by=(\linewidth-(\kvtcb@width))/2,enlarge right by=\kvtcb@bbleft}, @@ -545,7 +578,7 @@ tcbox raise/.style={baseline=-\the\dimexpr#1\relax},% tcbox raise base/.style={baseline=\tcb@val@raisebase},% box align/.is choice,% - box align/bottom/.style={baseline=0pt},% + box align/bottom/.style={baseline=\z@},% box align/top/.style={baseline=\tcb@height},% box align/center/.style={baseline=\tcb@height/2},% box align/base/.style={baseline=\tcb@val@raisebase},% @@ -593,6 +626,12 @@ step/.style={phantom={\refstepcounter{#1}}},% label/.style={phantom={\tcb@set@label{#1}}},% phantomlabel/.style={phantom={\ifdefined\phantomsection\phantomsection\fi\tcb@set@label{#1}}},% + hypertarget/.style={phantom={\ifdefined\hypertarget\Hy@raisedlink{\hypertarget{#1}{}}\fi}}, + bookmark*/.style 2 args={phantom={\ifdefined\bookmark% + \Hy@raisedlink{\hypertarget{tcb@\thetcolorboxnumber}{}}% + \bookmark[dest=tcb@\thetcolorboxnumber,rellevel=1,keeplevel,#1]{#2}% + \fi}}, + bookmark/.style={bookmark*={}{#1}}, nameref/.code={\tcb@gettitle{#1}},% label type/.store in=\kvtcb@label@type,% no label type/.style={label type=},% @@ -730,7 +769,7 @@ {\edef\ftype@tcbfloat{\the\c@float@type}% \addtocounter{float@type}{\value{float@type}}}% \def\c@tcbfloat{\c@float@type}% tricking the caption package -\ifdim\parskip>0pt% +\ifdim\parskip>\z@% \tcbset{autoparskip/.style=parskip}% \else% \tcbset{autoparskip/.style=noparskip}% @@ -1295,7 +1334,7 @@ } \def\tcb@boundaryframe@standard{% - \tcb@boundary@base{0pt}{0pt}% + \tcb@boundary@base{\z@}{\z@}% {\tcb@width}{\tcb@height}% {\tcb@arc@out@SW}{\tcb@arc@out@NW}{\tcb@arc@out@NE}{\tcb@arc@out@SE}% } @@ -1401,12 +1440,12 @@ } \def\tcb@setbb@toggle@none{% - \pgfpathrectanglecorners{\pgfqpoint{\the\dimexpr0pt-\kvtcb@bbleft\relax}{\the\dimexpr0pt-\kvtcb@bbbottom\relax}}% + \pgfpathrectanglecorners{\pgfqpoint{\the\dimexpr\z@-\kvtcb@bbleft\relax}{\the\dimexpr\z@-\kvtcb@bbbottom\relax}}% {\pgfqpoint{\the\dimexpr\tcb@width+\kvtcb@bbright\relax}{\the\dimexpr\tcb@height+\kvtcb@bbtop\relax}}% } \def\tcb@setbb@toggle@forced{% - \pgfpathrectanglecorners{\pgfqpoint{\the\dimexpr0pt-\kvtcb@bbright\relax}{\the\dimexpr0pt-\kvtcb@bbbottom\relax}}% + \pgfpathrectanglecorners{\pgfqpoint{\the\dimexpr\z@-\kvtcb@bbright\relax}{\the\dimexpr\z@-\kvtcb@bbbottom\relax}}% {\pgfqpoint{\the\dimexpr\tcb@width+\kvtcb@bbleft\relax}{\the\dimexpr\tcb@height+\kvtcb@bbtop\relax}}% } @@ -1429,6 +1468,8 @@ \tcb@swap{\kvtcb@lefttitle}{\kvtcb@righttitle}% \tcb@swap{\kvtcb@leftupper}{\kvtcb@rightupper}% \tcb@swap{\kvtcb@leftlower}{\kvtcb@rightlower}% + \tcb@swap{\tcb@corner@mode@NW}{\tcb@corner@mode@NE}% + \tcb@swap{\tcb@corner@mode@SW}{\tcb@corner@mode@SE}% } \def\tcb@lrtoggle@evenpage{% @@ -1440,7 +1481,7 @@ \tcb@setbb@toggle% \pgfusepath{use as bounding box}% \iftcb@hasPhantom% - \pgftext[x=0pt,y=\tcb@height-\baselineskip,left,top]{\box\tcb@phantombox}% + \pgftext[x=\z@,y=\tcb@height-\baselineskip,left,top]{\box\tcb@phantombox}% \tcb@hasPhantomfalse% \fi% \csname tcb@creategeonodes@\kvtcb@geonodes\endcsname% @@ -1503,13 +1544,13 @@ \else% \tcbdimto{\tcb@temp@wd}{\tcb@w@upper+\kvtcb@sbs@gap}% \noindent\kern\tcb@temp@wd% - \rule[-\dp\tcb@upperbox]{0pt}{\the\dimexpr\ht\tcb@upperbox+\dp\tcb@upperbox\relax}% + \rule[-\dp\tcb@upperbox]{\z@}{\the\dimexpr\ht\tcb@upperbox+\dp\tcb@upperbox\relax}% \fi% \iftcb@hasLower% \tcb@box@align{\tcb@lowerbox}% \iftcb@lowervisible\leavevmode\color{tcbcol@lower}\unhbox\tcb@lowerbox% \else% - \iftcb@lowerignored\else\rule[-\dp\tcb@lowerbox]{0pt}{\the\dimexpr\ht\tcb@lowerbox+\dp\tcb@lowerbox\relax}\fi% + \iftcb@lowerignored\else\rule[-\dp\tcb@lowerbox]{\z@}{\the\dimexpr\ht\tcb@lowerbox+\dp\tcb@lowerbox\relax}\fi% \fi% \fi% \end{tcb@savebox}% @@ -1713,7 +1754,7 @@ colupper=tcbtranscol@upper,fontupper=\tcb@trans@fontupper, boxsep=\tcb@trans@boxsep,left=\tcb@trans@left,right=\tcb@trans@right, top=\tcb@trans@top,bottom=\tcb@trans@bottom, - boxrule=\tcb@trans@rule,leftrule=0pt,rightrule=0pt,oversize, + boxrule=\tcb@trans@rule,leftrule=\z@,rightrule=\z@,oversize, code={\pgfkeysalsofrom\tcb@trans@style},#1]% #2% \end{tcolorbox}% -- cgit v1.2.3