diff options
Diffstat (limited to 'Master')
32 files changed, 679 insertions, 165 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index 4ead1edfae4..3bd149eb690 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES @@ -1,7 +1,7 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -951,3 +951,21 @@ version 3.96 (2016/11/18) * Documentation options are not longer reset to default values for embedded boxes. User code may be affected by this change. * marginnotes adapt to twosided documents now + +version 4.00 (2017/02/16) +- Code adaptions to support \parfillskip changing packages like KOMA-Script: + 'parskip', 'noparskip', 'after skip', 'breakable', 'raster' +- 'toggle left and right' toggles corners now +- new options: + 'left*', 'right*', + 'spread inwards', 'spread outwards', 'move upwards', 'move upwards*', 'fill downwards', + 'spread sidewards', 'spread upwards', 'spread upwards*', 'spread downwards', 'spread', + 'hypertarget', 'bookmark', 'bookmark*' +- library 'skins': + * new macro '\tcbhypernode' + * new options: + 'hyperref', 'hyperref node', 'hyperref interior', 'hyperref title', + 'hyperlink', 'hyperlink node', 'hyperlink interior', 'hyperlink title', + 'hyperurl', 'hyperurl node', 'hyperurl interior', 'hyperurl title', + 'hyperurl*', 'hyperurl* node', 'hyperurl* interior', 'hyperurl* title' + diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 8598f0f2a8f..947984172c6 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/README +++ b/Master/texmf-dist/doc/latex/tcolorbox/README @@ -1,7 +1,7 @@ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the 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 66ecbcc5982..cdbf5c6d1e0 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 484511c5315..549e919a79a 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.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) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -191,13 +191,10 @@ We have given Theorem \ref{theorem:summation} on page \pageref{theorem:summation \end{tcolorbox} %---------------------------------------------------------- -\clearpage -\section{Rasters of Boxes} - \begin{tcolorbox}[tile,size=fbox,boxsep=2mm,boxrule=0pt, - colback=blue!20!black,colbacktitle=yellow!50!black, - title=A Raster of Boxes,center title, - height fill] + colback=blue!20!black,colbacktitle=yellow!40!black, + phantom={\thispagestyle{empty}}, + title=\section{Rasters of Boxes},spread=-1cm] \begin{tcbitemize}[raster columns=3,raster rows=4,raster equal skip=2mm, raster height=\tcbtextheight, title={Box~\thetcbrasternum},fonttitle=\bfseries, diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib index 1ff2783a462..7ecc964a8a6 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.bib @@ -9,7 +9,7 @@ @manual{schoepf:2001a, - author = {Rainer Sch{\"o}pf and Bernd Raichle and Chris Rowley}, + author = {Rainer Sch{\"o}pf and Bernd Raichle and Chris Rowley}, title = {A New Implementation of {\LaTeX}'s verbatim and verbatim* Environments}, url = {http://mirror.ctan.org/macros/latex/required/tools/verbatim.pdf}, date = {2001-03-12}, @@ -175,3 +175,20 @@ date = {2015-09-30}, } + +@manual{rahtz:2012a, + author = {Sebastian Rahtz and Heiko Oberdiek}, + title = {Hypertext marks in \LaTeX: a manual for hyperref}, + url = {http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/manual.pdf}, + date = {2012-11}, + language = {english} +} + + +@manual{oberdiek:2016a, + author = {Heiko Oberdiek}, + title = {The bookmark package}, + url = {http://mirrors.ctan.org/macros/latex/contrib/oberdiek/bookmark.pdf}, + date = {2016-05-17}, + language = {english} +} 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 77fa938e599..3c285d7c411 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex @@ -134,7 +134,7 @@ parameters. The differences are: \clearpage \subsection{Main Option Keys} -\begin{docTcbKey}{breakable}{\colOpt{=true\textbar false\textbar unlimited}}{default |true|, initially |false|} +\begin{docTcbKey}[][doc updated=2017-02-01]{breakable}{\colOpt{=true\textbar false\textbar unlimited}}{default |true|, initially |false|} Allows the |tcolorbox| to be breakable. If the box is larger than the available space at the current page, the box is automatically broken and continued to the next next page. All sorts of |tcolorbox| can be made diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex index bec89df1840..511d3761bb3 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -1046,7 +1046,8 @@ This is a \textbf{tcolorbox}. \end{docTcbKey} -\subsubsection{Spacing}\enlargethispage*{2cm} +\clearpage +\subsubsection{Spacing} \begin{docTcbKey}{boxsep}{=\meta{length}}{no default, initially \texttt{1mm}} Sets a common padding of \meta{length} between the text content and the frame of the box. This value is added to the key values of @@ -1064,8 +1065,6 @@ This is a \textbf{tcolorbox}. \end{dispExample} \end{docTcbKey} -\clearpage - \begin{docTcbKey}{left}{=\meta{length}}{style, no default, initially \texttt{4mm}} Sets the left space between all text parts and frame (additional to |boxsep|). @@ -1080,6 +1079,22 @@ This is a \textbf{tcolorbox}. \end{dispExample} \end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-16]{left*}{=\meta{length}}{style, no default} + Sets \refKey{/tcb/left} such that \meta{length} is the distance between + the left bounding box and the text parts. +\begin{dispExample} +\tcbset{colback=red!5!white,colframe=red!75!black} + +This is some text. +\begin{tcolorbox}[grow to left by=5mm,left*=0mm, + enhanced,show bounding box] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispExample} +\end{docTcbKey} + +\clearpage \begin{docTcbKey}{lefttitle}{=\meta{length}}{no default, initially \texttt{4mm}} Sets the left space between title text and frame (additional to |boxsep|). \begin{dispExample} @@ -1117,7 +1132,6 @@ This is the lower part. \end{docTcbKey} -\clearpage \begin{docTcbKey}{right}{=\meta{length}}{style, no default, initially \texttt{4mm}} Sets the right space between all text parts and frame (additional to |boxsep|). This is an abbreviation for setting @@ -1132,6 +1146,21 @@ This is a \textbf{tcolorbox}. \end{docTcbKey} +\begin{docTcbKey}[][doc new=2017-02-16]{right*}{=\meta{length}}{style, no default} + Sets \refKey{/tcb/right} such that \meta{length} is the distance between + the right bounding box and the text parts. +\begin{dispExample} +\tcbset{colback=red!5!white,colframe=red!75!black} + +\flushright This is some text. +\begin{tcolorbox}[grow to right by=5mm,right*=0mm, + halign=right,enhanced,show bounding box] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispExample} +\end{docTcbKey} + + \begin{docTcbKey}{righttitle}{=\meta{length}}{no default, initially \texttt{4mm}} Sets the right space between title text and frame (additional to |boxsep|). @@ -1238,6 +1267,7 @@ This is the lower part. \end{dispExample} \end{docTcbKey} + \clearpage \subsubsection{Size Shortcuts} \begin{docTcbKey}{size}{=\meta{name}}{no default, initially \texttt{normal}} @@ -1321,14 +1351,15 @@ outer arc & auto & auto & auto & auto & 0.0pt & 0.0pt \\ \clearpage -\begin{docTcbKey}[][doc updated=2015-11-13]{toggle left and right}{=\meta{toggle preset}}{default |evenpage|, initially |none|} - According to the \meta{toggle preset}, the left and the right settings of - the |tcolorbox| are switched or not. Feasible values are: +\subsubsection{Toggle Left and Right} +\begin{docTcbKey}[][doc updated=2017-02-16]{toggle left and right}{=\meta{toggle preset}}{default |evenpage|, initially |none|} + According to the \meta{toggle preset}, the left and the right settings + of the |tcolorbox| are switched or not. Feasible values are: \begin{itemize} \item\docValue{none}: no switching. - \item\docValue{forced}: the values of the left and right rules and spaces are switched. + \item\docValue{forced}: the values of the left and right rules, spaces, and corners are switched. \item\docValue{evenpage}: if the page is an even page, the values of the left and - right rules and spaces are switched. This value also sets + right rules, spaces, and corners are switched. This value also sets \refKey{/tcb/check odd page} to |true|. \end{itemize} \begin{marker} @@ -1340,16 +1371,18 @@ For example, \refKey{/tcb/oversize} changes the bounding box. % \usepackage{lipsum} % \usetikzlibrary{patterns} % \tcbuselibrary{skins,breakable} -\begin{tcolorbox}[skin=enhancedmiddle,breakable, - toggle left and right, +\begin{tcolorbox}[enhanced,breakable, + toggle left and right,sharp corners, boxrule=0mm,top=0mm,bottom=0mm,left=1mm,right=1mm, rightrule=1cm,colupper=blue!25!black, interior style={fill overzoom image=lichtspiel.jpg,fill image opacity=0.25}, frame style={pattern=crosshatch dots light steel blue}, overlay={% + \begin{tcbclipframe} \tcbifoddpage{\coordinate (X) at ([xshift=-5mm]frame.east);} {\coordinate (X) at ([xshift=5mm]frame.west);} - \fill[shading=ball,ball color=blue!50!white,opacity=0.5] (X) circle (4mm);}] + \fill[shading=ball,ball color=blue!50!white,opacity=0.5] (X) circle (4mm); + \end{tcbclipframe}}] \lipsum[1-6] \end{tcolorbox} \end{dispListing} @@ -2620,23 +2653,23 @@ This behavior is controlled by the keys |before| and |after|. It is not used for floating boxes. \end{docTcbKey} -\begin{docTcbKey}{parskip}{}{style, no value} +\begin{docTcbKey}[][doc updated=2017-02-01]{parskip}{}{style, no value} Sets the keys |before| and |after| to values which are recommended, if the package |parskip| \emph{is} used and there is no better idea for |before| and |after|. This is similar to: \begin{dispListing} \tcbset{parskip/.style={before={\par\pagebreak[0]\parindent=0pt}, - after={\par}}} + after={\parfillskip 0pt plus 1fil\par}}} \end{dispListing} \end{docTcbKey} -\begin{docTcbKey}[][doc updated=2016-02-14]{noparskip}{}{style, no value} +\begin{docTcbKey}[][doc updated=2017-02-01]{noparskip}{}{style, no value} Sets the keys |before| and |after| to values which are recommended, if the package |parskip| is \emph{not} used and there is no better idea for |before| and |after|. This is similar to: \begin{dispListing} \tcbset{noparskip/.style={before={\par\pagebreak[0]\smallskip\parindent=0pt}, - after={\par\smallskip}}} + after={\parfillskip 0pt plus 1fil\par\smallskip}}} \end{dispListing} \end{docTcbKey} @@ -2758,7 +2791,7 @@ Some text. \end{dispExample*} \end{docTcbKey} -\begin{docTcbKey}[][doc new and updated={2014-10-10}{2015-03-16}]{after skip}{=\meta{glue}}{style, no default} +\begin{docTcbKey}[][doc new and updated={2014-10-10}{2017-02-01}]{after skip}{=\meta{glue}}{style, no default} Inserts some vertical space of the given \meta{glue} after the colored box. This style sets \refKey{/tcb/after}. \begin{dispExample*}{sbs,lefthand ratio=0.6} @@ -2867,6 +2900,8 @@ actual bounding box. For this, the library \mylib{skins} has to be included and \refKey{/tcb/enhanced} has to be set. \end{marker} +\subsubsection{Shifting Bounding Box Borders} + \begin{docTcbKey}{enlarge top initially by}{=\meta{length}}{no default, initially |0mm|} Enlarges the bounding box distance to the top of the box by \meta{length}. If the box is \emph{breakable}, only the first box of the break sequence @@ -2981,78 +3016,83 @@ This is a \textbf{tcolorbox}. -\begin{docTcbKey}[][doc new=2015-11-20]{flush left}{}{style, no value} - Enlarges the bounding box to the right side to fill the line completely. +\begin{docTcbKey}{grow to left by}{=\meta{length}}{no default, initially |0mm|} + Enlarges the current box width by \meta{length} and + enlarges (shrinks) the bounding box distance to the left side of the box by + $-$\meta{length}. Also see \refKey{/tcb/left skip}. \begin{dispExample} \tcbset{colframe=blue!75!black,colback=white} -\begin{tcolorbox}[flush left,width=5cm,enhanced,show bounding box] -This is a \textbf{tcolorbox}. +\begin{tcolorbox}[width=5cm,grow to left by=2cm,enhanced,show bounding box] +This is a \textbf{tcolorbox} with a width of 7cm. \end{tcolorbox} \end{dispExample} \end{docTcbKey} - -\begin{docTcbKey}[][doc new=2015-11-20]{flush right}{}{style, no value} - Enlarges the bounding box to the left side to fill the line completely. +\begin{docTcbKey}{grow to right by}{=\meta{length}}{no default, initially |0mm|} + Enlarges the current box width by \meta{length} and + enlarges (shrinks) the bounding box distance to the right side of the box by + $-$\meta{length}. Also see \refKey{/tcb/right skip}. \begin{dispExample} \tcbset{colframe=blue!75!black,colback=white} -\begin{tcolorbox}[flush right,width=5cm,enhanced,show bounding box] +\begin{tcolorbox}[grow to right by=2cm,enhanced,show bounding box] This is a \textbf{tcolorbox}. \end{tcolorbox} -\end{dispExample} -\end{docTcbKey} - -\begin{docTcbKey}[][doc new=2015-11-20]{center}{}{style, no value} - Enlarges the bounding box equally to both sides to fill the line completely. -\begin{dispExample} -\tcbset{colframe=blue!75!black,colback=white} +\bigskip -\begin{tcolorbox}[center,width=5cm,enhanced,show bounding box] +\begin{tcolorbox}[grow to right by=2cm,grow to left by=1cm, + enhanced,show bounding box] This is a \textbf{tcolorbox}. \end{tcolorbox} + \end{dispExample} \end{docTcbKey} + \clearpage -\begin{docTcbKey}{grow to left by}{=\meta{length}}{no default, initially |0mm|} - Enlarges the current box width by \meta{length} and - enlarges (shrinks) the bounding box distance to the left side of the box by - $-$\meta{length}. Also see \refKey{/tcb/left skip}. +\subsubsection{Box Alignment} + +\begin{docTcbKey}[][doc new=2015-11-20]{flush left}{}{style, no value} + Enlarges the bounding box to the right side to fill the line completely. \begin{dispExample} \tcbset{colframe=blue!75!black,colback=white} -\begin{tcolorbox}[width=5cm,grow to left by=2cm,enhanced,show bounding box] -This is a \textbf{tcolorbox} with a width of 7cm. +\begin{tcolorbox}[flush left,width=5cm,enhanced,show bounding box] +This is a \textbf{tcolorbox}. \end{tcolorbox} \end{dispExample} \end{docTcbKey} -\begin{docTcbKey}{grow to right by}{=\meta{length}}{no default, initially |0mm|} - Enlarges the current box width by \meta{length} and - enlarges (shrinks) the bounding box distance to the right side of the box by - $-$\meta{length}. Also see \refKey{/tcb/right skip}. + +\begin{docTcbKey}[][doc new=2015-11-20]{flush right}{}{style, no value} + Enlarges the bounding box to the left side to fill the line completely. \begin{dispExample} \tcbset{colframe=blue!75!black,colback=white} -\begin{tcolorbox}[grow to right by=2cm,enhanced,show bounding box] +\begin{tcolorbox}[flush right,width=5cm,enhanced,show bounding box] This is a \textbf{tcolorbox}. \end{tcolorbox} +\end{dispExample} +\end{docTcbKey} -\bigskip -\begin{tcolorbox}[grow to right by=2cm,grow to left by=1cm, - enhanced,show bounding box] +\begin{docTcbKey}[][doc new=2015-11-20]{center}{}{style, no value} + Enlarges the bounding box equally to both sides to fill the line completely. +\begin{dispExample} +\tcbset{colframe=blue!75!black,colback=white} + +\begin{tcolorbox}[center,width=5cm,enhanced,show bounding box] This is a \textbf{tcolorbox}. \end{tcolorbox} - \end{dispExample} \end{docTcbKey} \clearpage +\subsubsection{Toggle Enlargements} + \begin{docTcbKey}[][doc updated=2015-11-13]{toggle enlargement}{=\meta{toggle preset}}{default |evenpage|, initially |none|} According to the \meta{toggle preset}, the left and the right enlargements of the bounding box are switched or not. Feasible values are: @@ -3062,10 +3102,6 @@ This is a \textbf{tcolorbox}. \item\docValue{evenpage}: if the page is an even page, the values of the left and right enlargement are switched. This value also sets \refKey{/tcb/check odd page} to |true|. - %It is recommended that you use this setting in - %conjunction with \refKey{/tcb/check odd page}. - %Note that the page number detection may - %fail in certain cases. For these cases, use the |forced| value. \end{itemize} \begin{marker} See \refKey{/tcb/toggle left and right} to toggle geometry settings. @@ -3103,7 +3139,144 @@ This is a \textbf{tcolorbox}. \end{docTcbKey} + \clearpage +\subsubsection{Spread Box to Page Borders} + +\begin{marker} +The following border options are \emph{not} applicable to nested boxes, boxes insides +tables, etc. +For boxes inside lists, the options \emph{may} work, but not necessarily. +Also, boxes should be set with |\noindent| and full width. +\end{marker} + +\begin{docTcbKey}[][doc new=2017-02-13]{spread inwards}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Enlarges the current box width to match the inner page border (left-handed side for one-sided +documents). If the optional \meta{length} is greater than |0pt|, the box +grows over the border, if \meta{length} is lower than |0pt|, there is a +margin between box and page border. +\refKey{/tcb/toggle enlargement} is set automatically. +\begin{dispListing} +\begin{tcolorbox}[enhanced,spread inwards, + colframe=blue!75!black,colback=white,show bounding box] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispListing} +{\tcbusetemp} +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-13]{spread outwards}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Enlarges the current box width to match the outer page border (right-handed side for one-sided +documents). If the optional \meta{length} is greater than |0pt|, the box +grows over the border, if \meta{length} is lower than |0pt|, there is a +margin between box and page border. +\refKey{/tcb/toggle enlargement} is set automatically. +\begin{dispListing} +\begin{tcolorbox}[enhanced,spread outwards, + colframe=blue!75!black,colback=white,show bounding box] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispListing} +{\tcbusetemp} +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-13]{move upwards}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Starts a new page with the box at the very top page border. +If the optional \meta{length} is greater than |0pt|, the box +moves over the border, if \meta{length} is lower than |0pt|, there is a +margin between box and page border. +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-13]{move upwards*}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Identical to \refKey{/tcb/move upwards}, but without starting a new page. +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-13]{fill downwards}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Enlarges the height of the box until the very bottom page border. +The library \mylib{breakable} has to be loaded, and +\refKey{/tcb/height fill} is set automatically. +If the optional \meta{length} is greater than |0pt|, the box +moves over the border, if \meta{length} is lower than |0pt|, there is a +margin between box and page border. +\begin{dispListing} +\begin{tcolorbox}[enhanced,fill downwards, + colframe=blue!75!black,colback=white,show bounding box] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispListing} +{\tcbusetemp} +\end{docTcbKey} + + +\begin{tcolorbox}[enhanced,spread upwards,sharp corners=north,height=3cm, + colframe=blue!75!black,interior style={top color=blue!50,bottom color=white}] +This is an example for 'spread upwards'. +\end{tcolorbox} +\begin{docTcbKey}[][doc new=2017-02-13]{spread upwards}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Combination of +\refKey{/tcb/move upwards}, \refKey{/tcb/spread inwards}, and \refKey{/tcb/spread outwards}. +The optional \meta{length} is used for all these keys. +\begin{dispListing} +\begin{tcolorbox}[enhanced,spread upwards,sharp corners=north,height=3cm, + colframe=blue!75!black,interior style={top color=blue!50,bottom color=white}] +This is an example for 'spread upwards'. +\end{tcolorbox} +\end{dispListing} +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-13]{spread upwards*}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Identical to \refKey{/tcb/move upwards}, but without starting a new page. +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-13]{spread sidewards}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Combination of \refKey{/tcb/spread inwards} and \refKey{/tcb/spread outwards}. +The optional \meta{length} is used for all these keys. +\begin{dispListing} +\begin{tcolorbox}[enhanced,spread sidewards, + colframe=blue!75!black,colback=white,show bounding box] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispListing} +{\tcbusetemp} +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-13]{spread}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Combination of +\refKey{/tcb/move upwards}, \refKey{/tcb/fill downwards}, \refKey{/tcb/spread inwards}, +and \refKey{/tcb/spread outwards}. +Such, the box fills the whole page. +The optional \meta{length} is used for all these keys. +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-13]{spread downwards}{\colOpt{=\meta{length}}}{default |0pt|, initially unset} +Combination of +\refKey{/tcb/fill downwards}, \refKey{/tcb/spread inwards}, and \refKey{/tcb/spread outwards}. +The optional \meta{length} is used for all these keys. +\begin{dispListing} +\begin{tcolorbox}[enhanced,spread downwards,sharp corners=south, + colframe=red!75!black,interior style={top color=white,bottom color=red!50}] +This is an example for 'spread downwards'. +\end{tcolorbox} +\end{dispListing} +\end{docTcbKey} +\begin{tcolorbox}[enhanced,spread downwards,sharp corners=south, + colframe=red!75!black,interior style={top color=white,bottom color=red!50}] +This is an example for 'spread downwards'. +\end{tcolorbox} + + + + +\clearpage +\subsubsection{Box Extrusion} + \begin{marker} The following keys should not be used with breakable boxes or boxes with a lower part. @@ -3604,10 +3777,11 @@ from page \pageref{sec:numberedboxes}, e.\,g.\ \refKey{/tcb/new/auto counter}. \begin{docTcbKey}[][doc new=2014-11-28]{phantomlabel}{=\meta{marker}}{no default, initially unset} Equivalent to \refKey{/tcb/label} for an \emph{unnumbered} box. -A |\phantomsection| from the package |hyperref| is used to set a correct +A |\phantomsection| from the package |hyperref| \cite{rahtz:2012a} is used to set a correct hyperlink target. This is not needed for a numbered box. \end{docTcbKey} + \begin{docTcbKey}{label type}{=\meta{type}}{no default, initially unset} This option key can be used only in conjunction with the |cleveref| package \cite{cubitt:2013a} which has to be loaded separately. @@ -3637,7 +3811,6 @@ see Subsection \ref{sec:numberedboxes} from page \pageref{sec:numberedboxes}. \end{docTcbKey} - \clearpage \begin{docTcbKey}{list entry}{=\meta{text}}{no default, initially unset} If the \flqq list of tcolorbox(es)\frqq\ feature described in Subsection @@ -3695,6 +3868,67 @@ The box is titled '\nameref{mynamelabel}'. \end{docTcbKey} +\clearpage +\begin{docTcbKey}[][doc new=2017-02-03]{hypertarget}{=\meta{marker}}{no default, initially unset} +A |\hypertarget| from the package |hyperref| \cite{rahtz:2012a} is used to +create an internal link of an anchor \meta{marker}. +This \meta{marker} can be referenced by |\hyperlink| or +\refKey{/tcb/hyperlink}. + \begin{dispExample*}{sbs,lefthand ratio=0.7} +% \usepackage{hyperref}% +\begin{tcolorbox}[enhanced, + colback=red!10,colframe=red!50!black, + hypertarget=hypertwinA, + hyperlink=hypertwinB, + title=Box A] +Click me to jump to Box B. +\end{tcolorbox} + \end{dispExample*} +\end{docTcbKey} + + + +\begin{docTcbKey}[][doc new=2017-02-10]{bookmark}{=\meta{text}}{no default, initially unset} + Sets a PDF bookmark with the given \meta{text}, if the package |bookmark| \cite{oberdiek:2016a} + is loaded. This bookmark is set with an automated destination (the current box) + and is set one level below the current bookmark level. + \begin{dispExample*}{sbs,lefthand ratio=0.7} +% \usepackage{bookmark}% +\begin{tcolorbox}[colback=blue!10,colframe=blue!50!black, + bookmark=Example for using a bookmark, + title=Example for using a bookmark] +Open the bookmark view of the previewer +to see the bookmark. +\end{tcolorbox} + \end{dispExample*} +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-10]{bookmark*}{=\marg{options}\marg{text}}{no default, initially unset} + Identical to \refKey{/tcb/bookmark}, but additional \meta{options} + from the package |bookmark| \cite{oberdiek:2016a} can be given. + \begin{dispExample*}{sbs,lefthand ratio=0.7} +% \usepackage{bookmark}% +\begin{tcolorbox}[colback=red!10,colframe=red!50!black, + bookmark*={color=red,italic,bold}% + {Another bookmark example}, + title=Red and bold bookmark] +Open the bookmark view of the previewer +to see the bookmark. +\end{tcolorbox} + \end{dispExample*} +\end{docTcbKey} + + + + + + + + + + + \clearpage \subsection{Even and Odd Pages} 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 ac2bae49bb3..1f1495eedef 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex @@ -759,7 +759,7 @@ The English language is predefined. Sets the left hand offset of the documentation texts from \refEnv{docCommand}, \refEnv{docEnvironment}, \refEnv{docKey}, etc, to \meta{length}. \begin{dispExample} -\begin{docCommand*}[doc left=2cm,doc left indent=-2cm]{myCommandA}{\marg{argment}} +\begin{docCommand*}[doc left=2cm,doc left indent=-2cm]{myCommandA}{\marg{argument}} This is the documentation of \refCom{myCommandA} which takes one \meta{argument}. \refCom{myCommandA} does some funny things with its \meta{argument}. \end{docCommand*} @@ -770,7 +770,7 @@ The English language is predefined. Sets the right hand offset of the documentation texts from \refEnv{docCommand}, \refEnv{docEnvironment}, \refEnv{docKey}, etc, to \meta{length}. \begin{dispExample} -\begin{docCommand*}[doc right=2cm]{myCommandB}{\marg{argment}} +\begin{docCommand*}[doc right=2cm]{myCommandB}{\marg{argument}} This is the documentation of \refCom{myCommandB} which takes one \meta{argument}. \refCom{myCommandB} does some funny things with its \meta{argument}. \end{docCommand*} @@ -781,7 +781,7 @@ The English language is predefined. Sets the left hand indent of documentation heads from \refEnv{docCommand}, \refEnv{docEnvironment}, \refEnv{docKey}, etc, to \meta{length}. \begin{dispExample} -\begin{docCommand*}[doc left indent=2cm]{myCommandC}{\marg{argment}} +\begin{docCommand*}[doc left indent=2cm]{myCommandC}{\marg{argument}} This is the documentation of \refCom{myCommandC} which takes one \meta{argument}. \refCom{myCommandC} does some funny things with its \meta{argument}. \end{docCommand*} @@ -794,7 +794,7 @@ The English language is predefined. \refEnv{docCommand}, \refEnv{docEnvironment}, \refEnv{docKey}, etc, to \meta{length}. \begin{dispExample} \begin{docCommand*}[doc right indent=-10mm,doc right=10mm, - doc description=test value]{myCommandD}{\marg{argment}} + doc description=test value]{myCommandD}{\marg{argument}} This is the documentation of \refCom{myCommandD} which takes one \meta{argument}. \refCom{myCommandD} does some funny things with its \meta{argument}. \end{docCommand*} @@ -812,7 +812,7 @@ Options to these |tcolorbox|es can be given using the following keys. \tcbset{doc head command={interior style={fill,left color=red!20!white, right color=blue!20!white}}} -\begin{docCommand*}{myCommandE}{\marg{argment}} +\begin{docCommand*}{myCommandE}{\marg{argument}} This is the documentation of \refCom{myCommandE} which takes one \meta{argument}. \refCom{myCommandE} does some funny things with its \meta{argument}. \end{docCommand*} @@ -825,7 +825,7 @@ Options to these |tcolorbox|es can be given using the following keys. \tcbset{doc head environment={beamer,boxsep=2pt,arc=2pt,colback=green!20!white, after=\par\smallskip}} -\begin{docEnvironment*}{myEnvironment}{\marg{argment}} +\begin{docEnvironment*}{myEnvironment}{\marg{argument}} This is the documentation of \refEnv{myEnvironment} which takes one \meta{argument}. \end{docEnvironment*} @@ -865,7 +865,7 @@ keys to insert code before (or after) the description texts. \setlength{\parskip}{1ex plus 0.75ex minus 0.25ex}% }} -\begin{docCommand*}{myCommandG}{\marg{argment}} +\begin{docCommand*}{myCommandG}{\marg{argument}} This is the documentation of \refCom{myCommandG} which takes one \meta{argument}. \refCom{myCommandG} does some funny things with its \meta{argument}. \end{docCommand*} @@ -881,7 +881,7 @@ keys to insert code before (or after) the description texts. \hfill\nolinebreak[1]\hspace*{\fill}\textcolor{red}{$\diamondsuit$}% }} -\begin{docCommand*}{myCommandH}{\marg{argment}} +\begin{docCommand*}{myCommandH}{\marg{argument}} This is the documentation of \refCom{myCommandH} which takes one \meta{argument}. \refCom{myCommandH} does some funny things with its \meta{argument}. \end{docCommand*} @@ -929,7 +929,7 @@ keys to insert code before (or after) the description texts. \refEnv{docCommand} or \refEnv{docEnvironment}. Such a description is mandatory for \refEnv{docKey}. \begin{dispExample} -\begin{docCommand*}[doc description=my description]{myCommandF}{\marg{argment}} +\begin{docCommand*}[doc description=my description]{myCommandF}{\marg{argument}} This is the documentation of \refCom{myCommandF} which takes one \meta{argument}. \refCom{myCommandF} does some funny things with its \meta{argument}. \end{docCommand*} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex index 2682225f716..f497a01e6f8 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex @@ -494,3 +494,29 @@ and a border is to be drawn, this border width has to be substracted. \end{tikzpicture} \end{dispExample} + +\subsection{Hyper Nodes} +The following auxiliary macro is defined by the \mylib{skins} library. +\enlargethispage*{1cm} + +\begin{docCommand}[doc new=2016-02-03]{tcbhypernode}{\marg{macro}\marg{node}} +% Sets the east-to-west dimension of the given \meta{node} +% to the \TeX\ \meta{register}. + Applies a hyperlink creating \meta{macro} from the package |hyperref| \cite{rahtz:2012a} + to an existing |tikz| \meta{node}. \refCom{tcbhypernode} can only + be used inside a |tikzpicture| environment. + The last argument of the \meta{macro} is to be omitted and should stand + for an object (text) which is to be made a hyperlink. + For example, use |\hyperref[name]| instead of |\hyperref[name]{text}|. + +\begin{dispExample} +% \usepackage{hyperref} +\begin{tikzpicture} + \node[align=center,draw=red,fill=red!5] (mybutton) + {Click me to jump to Section~\ref*{sec:tikzimagefilling}}; + \tcbhypernode{\hyperref[sec:tikzimagefilling]}{mybutton} +\end{tikzpicture} +\end{dispExample} + +\end{docCommand} + 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 8ea4cbc3a4d..578552815ee 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex @@ -92,7 +92,7 @@ break into an arbitrary series of pages. \clearpage \subsection{Macros of the Library}\label{subsec:raster_macros} -\begin{docEnvironment}[doc new=2014-11-10]{tcbraster}{\oarg{options}} +\begin{docEnvironment}[doc new and updated={2014-11-10}{2017-02-01}]{tcbraster}{\oarg{options}} A raster arranges enclosed boxes in a regular way, mainly into rows and columns. The \meta{options} are used to control the raster parameters and to set the properties for the enclosed boxes. diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty index 4b351a587e3..d2afe7b04c1 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty @@ -13,7 +13,7 @@ \RequirePackage{varioref} \RequirePackage[makeindex]{imakeidx} \RequirePackage[pdftex,bookmarks,raiselinks,pageanchor,hyperindex,colorlinks]{hyperref} -\RequirePackage{varwidth,cleveref,incgraph} +\RequirePackage{bookmark,varwidth,cleveref,incgraph} \RequirePackage[a4paper,left=2.5cm,right=2.5cm,top=1.5cm,bottom=1.5cm, marginparsep=3mm,marginparwidth=18mm, @@ -156,6 +156,7 @@ tcbincludegraphics,tcbincludepdf,pdfpages,imagepage,imagepath,imagename, tcbline,tcboxedtitleheight,tcboxedtitlewidth, tcbsettowidthofnode,tcbsetmacrotowidthofnode,tcbsettoheightofnode,tcbsetmacrotoheightofnode, + tcbhypernode, % vignette tcbvignette, % xparse diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex index a7277ee892e..8cc303c916b 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex @@ -2667,6 +2667,158 @@ Finishes are intended for special effects like highlights or glosses or text ove \refKey{/tcb/finish} overwrites this key. \end{docTcbKey} +\clearpage +\subsection{Hyper Option Keys}\label{subsec:hyper} +All options of this section need the package |hyperref| \cite{rahtz:2012a} +to be loaded separately. All these options are implemented as +\refKey{/tcb/finish} and can be disabled by \refKey{/tcb/no finish}. + +\begin{marker} +If the package |hyperref| \cite{rahtz:2012a} is not loaded or if +the \refSkin{standard} skin is used, all hyper option are silently ignored. +\end{marker} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperref}{=\meta{marker}}{no default, initially unset} + The whole \textit{frame} of a |tcolorbox| is make an active hyperlink for a + \meta{marker} which was given by |\label| or \refKey{/tcb/label} or \refKey{/tcb/phantomlabel}. + Such, the |tcolorbox| is made a clickable button (depending on the previewer). + \begin{dispExample*}{sbs,lefthand ratio=0.7} +% \section{Library skins}\label{sec:skins}% +\begin{tcolorbox}[beamer,colback=red!50, + hyperref=sec:skins] +Jump to the heading of Section~\ref*{sec:skins}. +\end{tcolorbox} + \end{dispExample*} +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperref interior}{=\meta{marker}}{no default, initially unset} + Identical to \refKey{/tcb/hyperref}, but only the \textit{interior} of a + |tcolorbox| is made a hyperlink (without frame and title). +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperref title}{=\meta{marker}}{no default, initially unset} + Identical to \refKey{/tcb/hyperref}, but only the \textit{title} of a + |tcolorbox| is made a hyperlink. +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperref node}{=\marg{marker}\marg{node}}{no default, initially unset} + Identical to \refKey{/tcb/hyperref}, but only the given \tikzname\ \meta{node} + is made a hyperlink. This \meta{node} may be |frame|, |interior|, |title|, or + any other named node used for drawing the |tcolorbox|. + The \meta{node} may be defined inside + \refKey{/tcb/underlay}, \refKey{/tcb/overlay} or \refKey{/tcb/finish}. + If the later is used, define the node \emph{before} \refKey{/tcb/hyperref node} + is applied. + \begin{dispExample*}{sbs,lefthand ratio=0.7} +% \section{Library skins}\label{sec:skins}% +\begin{tcolorbox}[enhanced,colback=yellow!10, + underlay={\node[red,fill=red!30,inner sep=3mm] + (click) at (frame.center) {X};}, + hyperref node={sec:skins}{click}] +Jump to the heading of Section~\ref*{sec:skins} +(X marks the click point). +\end{tcolorbox} + \end{dispExample*} +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperlink}{=\meta{marker}}{no default, initially unset} + The whole \textit{frame} of a |tcolorbox| is make an active hyperlink for a + \meta{marker} which was given by |\hypertarget| or \refKey{/tcb/hypertarget}. + Such, the |tcolorbox| is made a clickable button (depending on the previewer). + \begin{dispExample*}{sbs,lefthand ratio=0.7} +% \usepackage{hyperref}% +\begin{tcolorbox}[enhanced, + colback=blue!10,colframe=blue!50!black, + hypertarget=hypertwinB, + hyperlink=hypertwinA, + title=Box B] +Click me to jump to Box A. +\end{tcolorbox} + \end{dispExample*} +\end{docTcbKey} + +\clearpage +\begin{docTcbKey}[][doc new=2017-02-03]{hyperlink interior}{=\meta{marker}}{no default, initially unset} + Identical to \refKey{/tcb/hyperlink}, but only the \textit{interior} of a + |tcolorbox| is made a hyperlink (without frame and title). +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperlink title}{=\meta{marker}}{no default, initially unset} + Identical to \refKey{/tcb/hyperlink}, but only the \textit{title} of a + |tcolorbox| is made a hyperlink. +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperlink node}{=\marg{marker}\marg{node}}{no default, initially unset} + Identical to \refKey{/tcb/hyperlink}, but only the given \tikzname\ \meta{node} + is made a hyperlink. This \meta{node} may be |frame|, |interior|, |title|, or + any other named node used for drawing the |tcolorbox|. + The \meta{node} may be defined inside + \refKey{/tcb/underlay}, \refKey{/tcb/overlay} or \refKey{/tcb/finish}. + If the later is used, define the node \emph{before} \refKey{/tcb/hyperlink node} + is applied. +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperurl}{=\meta{url}}{no default, initially unset} + The whole \textit{frame} of a |tcolorbox| is make an active hyperlink for an + \meta{url} in the same manner as using |\href| or |\url|. + Such, the |tcolorbox| is made a clickable button (depending on the previewer). + \begin{dispExample*}{sbs,lefthand ratio=0.7} +\begin{tcolorbox}[enhanced,colback=red!50, + hyperurl=http://www.ctan.org/pkg/tcolorbox] +View CTAN with a browser. +\end{tcolorbox} + \end{dispExample*} +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperurl interior}{=\meta{url}}{no default, initially unset} + Identical to \refKey{/tcb/hyperurl}, but only the \textit{interior} of a + |tcolorbox| is made a hyperlink (without frame and title). +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperurl title}{=\meta{url}}{no default, initially unset} + Identical to \refKey{/tcb/hyperurl}, but only the \textit{title} of a + |tcolorbox| is made a hyperlink. +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperurl node}{=\marg{url}\marg{node}}{no default, initially unset} + Identical to \refKey{/tcb/hyperurl}, but only the given \tikzname\ \meta{node} + is made a hyperlink. This \meta{node} may be |frame|, |interior|, |title|, or + any other named node used for drawing the |tcolorbox|. + The \meta{node} may be defined inside + \refKey{/tcb/underlay}, \refKey{/tcb/overlay} or \refKey{/tcb/finish}. + If the later is used, define the node \emph{before} \refKey{/tcb/hyperurl node} + is applied. +\end{docTcbKey} + + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperurl*}{=\marg{options}\marg{url}}{no default, initially unset} + Identical to \refKey{/tcb/hyperurl}, but additional |hyperref| \cite{rahtz:2012a} + \meta{options} are applied. + \begin{dispExample*}{sbs,lefthand ratio=0.7} +\begin{tcolorbox}[enhanced,colback=green!50, + hyperurl*={page=3,pdfnewwindow=true}% + {tcolorbox-example.pdf}] +Open example file on Page~3. +\end{tcolorbox} + \end{dispExample*} +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperurl* interior}{=\marg{options}\marg{url}}{no default, initially unset} + Identical to \refKey{/tcb/hyperurl interior}, but additional |hyperref| \cite{rahtz:2012a} + \meta{options} are applied. +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperurl* title}{=\marg{options}\marg{url}}{no default, initially unset} + Identical to \refKey{/tcb/hyperurl title}, but additional |hyperref| \cite{rahtz:2012a} + \meta{options} are applied. +\end{docTcbKey} + +\begin{docTcbKey}[][doc new=2017-02-03]{hyperurl* node}{=\marg{options}\marg{url}\marg{node}}{no default, initially unset} + Identical to \refKey{/tcb/hyperurl node}, but additional |hyperref| \cite{rahtz:2012a} + \meta{options} are applied. +\end{docTcbKey} + + \clearpage \subsection{Jigsaw Skin Variants}\label{subsec:skinjigsaw} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf Binary files differindex c0e14887e57..8980cc7446e 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 c5ee0e2c930..953f3e3521c 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex @@ -1,9 +1,9 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 3.96 (2016/11/18) +%% The LaTeX package tcolorbox - version 4.00 (2017/02/16) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -43,8 +43,8 @@ \setlength{\bibitemsep}{\smallskipamount} \addbibresource{tcolorbox.doc.bib} -\def\version{3.96}% -\def\datum{2016/11/18}% +\def\version{4.00}% +\def\datum{2017/02/16}% \makeindex \hypersetup{ @@ -57,7 +57,7 @@ \usepackage{pgfplots} %\tcbset{draftmode} -%\includeonly{tcolorbox.doc.documentation} +%\includeonly{tcolorbox.doc.coreoptions} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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 <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% 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}% |