From 6a779f2a3a5171811c5a3b6ed99f3d0affb1d371 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 22 Mar 2018 21:45:00 +0000 Subject: tcolorbox (22mar18) git-svn-id: svn://tug.org/texlive/trunk@47079 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tcolorbox/CHANGES | 19 +++++++- Master/texmf-dist/doc/latex/tcolorbox/README | 2 +- .../latex/tcolorbox/tcolorbox-example-poster.pdf | Bin 274157 -> 273832 bytes .../latex/tcolorbox/tcolorbox-example-poster.tex | 2 +- .../doc/latex/tcolorbox/tcolorbox-example.pdf | Bin 457686 -> 457474 bytes .../doc/latex/tcolorbox/tcolorbox-example.tex | 2 +- .../latex/tcolorbox/tcolorbox-tutorial-poster.pdf | Bin 442941 -> 442319 bytes .../latex/tcolorbox/tcolorbox-tutorial-poster.tex | 6 +-- .../latex/tcolorbox/tcolorbox.doc.coreoptions.tex | 20 ++++++-- .../tcolorbox/tcolorbox.doc.documentation.tex | 2 +- .../doc/latex/tcolorbox/tcolorbox.doc.filling.tex | 2 +- .../doc/latex/tcolorbox/tcolorbox.doc.graphics.tex | 48 ++++++++++++++++++- .../doc/latex/tcolorbox/tcolorbox.doc.listings.tex | 16 +++++-- .../doc/latex/tcolorbox/tcolorbox.doc.magazine.tex | 2 + .../latex/tcolorbox/tcolorbox.doc.recording.tex | 2 +- .../doc/latex/tcolorbox/tcolorbox.doc.s_main.sty | 7 +++ .../latex/tcolorbox/tcolorbox.doc.technical.tex | 21 +-------- .../doc/latex/tcolorbox/tcolorbox.doc.theorems.tex | 2 +- .../doc/latex/tcolorbox/tcolorbox.doc.vignette.tex | 5 +- .../texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf | Bin 6532055 -> 6556959 bytes .../texmf-dist/doc/latex/tcolorbox/tcolorbox.tex | 8 ++-- .../tex/latex/tcolorbox/tcbbreakable.code.tex | 5 +- .../tex/latex/tcolorbox/tcbdocumentation.code.tex | 4 +- .../tex/latex/tcolorbox/tcbexternal.code.tex | 4 +- .../tex/latex/tcolorbox/tcbfitting.code.tex | 4 +- .../tex/latex/tcolorbox/tcbhooks.code.tex | 4 +- .../tex/latex/tcolorbox/tcblistings.code.tex | 4 +- .../tex/latex/tcolorbox/tcblistingscore.code.tex | 4 +- .../tex/latex/tcolorbox/tcblistingsutf8.code.tex | 4 +- .../tex/latex/tcolorbox/tcbmagazine.code.tex | 4 +- .../tex/latex/tcolorbox/tcbminted.code.tex | 4 +- .../tex/latex/tcolorbox/tcbposter.code.tex | 4 +- .../tex/latex/tcolorbox/tcbprocessing.code.tex | 4 +- .../tex/latex/tcolorbox/tcbraster.code.tex | 4 +- .../tex/latex/tcolorbox/tcbskins.code.tex | 52 ++++++++++++++++----- .../tex/latex/tcolorbox/tcbskinsjigsaw.code.tex | 4 +- .../tex/latex/tcolorbox/tcbtheorems.code.tex | 4 +- .../tex/latex/tcolorbox/tcbvignette.code.tex | 4 +- .../tex/latex/tcolorbox/tcbxparse.code.tex | 4 +- .../texmf-dist/tex/latex/tcolorbox/tcolorbox.sty | 7 +-- 40 files changed, 199 insertions(+), 95 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index 2c62fb3824e..0b36a6eeb03 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 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -1035,3 +1035,18 @@ version 4.12 (2018/01/12) - library 'theorems': * new options 'theorem label supplement', 'theorem full label supplement' +version 4.13 (2018/03/22) +- typos in 'tcolorbox-tutorial-poster' corrected +- new options: + 'grow sidewards by' +- library 'breakable': + * Warning for discarded zero height box content added +- library 'listings': + * Documentation for 'text side listing', 'listing side text', + 'comment side listing', 'listing side comment' supplemented with notes. +- library 'skins': + * Options given by '/tcb/graphics options' and '/tikz/fill image options' + are now fully expanded while applied to underlying '\includegraphics' + * new option: + 'graphics orientation' + diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 04e9868d1ca..81fd2c14561 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/README +++ b/Master/texmf-dist/doc/latex/tcolorbox/README @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf index de9a16bb061..b5ae37d231d 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf differ diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex index 0dc452d3cfb..fc9eb118619 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcolorbox-example-poster.tex: a poster example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf index df144566c4a..88931956f45 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index 0d8f5532c73..fe893e499cd 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf index fa684589f38..c294a19d954 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf differ diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex index 551b80c6416..9e93a60c607 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex @@ -1,5 +1,5 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox %% %% ------------------------------------------------------------------------------------------- @@ -87,7 +87,7 @@ we display a help grid.\par\medskip poster = {showframe,columns=4,rows=5}, ] % Here, we insert the poster content later -\end{poster} +\end{tcbposter} \end{document} \end{guidelisting} \end{guide} @@ -136,7 +136,7 @@ Also, some more packages are loaded for the future poster content. poster = {showframe,columns=4,rows=5}, ] % Here, we insert the poster content later -\end{poster} +\end{tcbposter} \end{document} \end{guidelisting} \end{guide} 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 d47f38d77c0..ebd10ec9d31 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -1331,6 +1331,7 @@ outer arc & auto & auto & auto & auto & 0.0pt & 0.0pt \\ the page. Note that this style option has to be given \emph{after} all other geometry keys! + Also see \refKey{/tcb/grow sidewards by} and \refKey{/tcb/spread sidewards}. \begin{dispListing} \tcbset{colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries} @@ -2935,7 +2936,7 @@ enforce the \refKey{/tcb/before} setting. \refKey{/tcb/noparskip}, \refKey{/tcb/after skip}, \refKey{/tcb/breakable}, and - \refKey{/tcb/raster}. + \refEnv{tcbraster}. This option was created to automatically avoid overfull box warnings with |\parfillskip| changing packages. @@ -3106,12 +3107,24 @@ This is a \textbf{tcolorbox}. enhanced,show bounding box] This is a \textbf{tcolorbox}. \end{tcolorbox} +\end{exdispExample} +\end{docTcbKey} +\clearpage + +\begin{docTcbKey}[][doc new=2018-03-22]{grow sidewards by}{=\meta{length}}{no default, initially |0mm|} + Shortcut for setting \refKey{/tcb/grow to left by} and \refKey{/tcb/grow to right by} + to \meta{length}. Also see \refKey{/tcb/oversize} and \refKey{/tcb/spread sidewards}. +\begin{exdispExample}[safety=2cm]{grow_sidewards_by} +\tcbset{colframe=blue!75!black,colback=white} + +\begin{tcolorbox}[grow sidewards by=2cm,enhanced,show bounding box] +This is a \textbf{tcolorbox}. +\end{tcolorbox} \end{exdispExample} \end{docTcbKey} -\clearpage \subsubsection{Box Alignment} \begin{docTcbKey}[][doc new=2015-11-20]{flush left}{}{style, no value} @@ -3296,6 +3309,7 @@ Identical to \refKey{/tcb/move upwards}, but without starting a new page. \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. +Also see \refKey{/tcb/oversize} and \refKey{/tcb/grow sidewards by}. \begin{dispListing} \begin{tcolorbox}[enhanced,spread sidewards, colframe=blue!75!black,colback=white,show bounding box] @@ -3907,7 +3921,7 @@ This issues:\\ \begin{docTcbKey}[][doc new and updated={2016-06-22}{2016-11-18}]{nameref}{=\meta{text}}{no default, initially unset} If the |nameref| package is loaded, the given \meta{text} is used for -corresponding |\nameref| makros. Typically, the \meta{text} will be chosen +corresponding |\nameref| macros. Typically, the \meta{text} will be chosen to be identical or nearly identical to the one for \refKey{/tcb/title}. \inputpreamblelisting{A} 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 1e956b36b05..98baf621fd2 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex @@ -51,7 +51,7 @@ For |minted| \cite{poore:2015a} support, load: \subsection{Macros of the Library} -%\enlargethispage*{15mm} +\enlargethispage*{15mm} \begin{docEnvironment}[doclang/environment content=command description]{docCommand}{\oarg{options}\marg{name}\marg{parameters}} Documents a \LaTeX\ macro with given \meta{name} where \meta{name} is written without backslash. The given \meta{options} are set with \refCom{tcbset}. 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 f497a01e6f8..449807e99a6 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex @@ -379,7 +379,7 @@ See \Vref{sec:skins} for the documentation of all other options of the \mylib{sk \end{docTikzKey} -\begin{docTikzKey}{fill image options}{=\meta{graphics options}}{no default, initially empty} +\begin{docTikzKey}[][doc updated=2018-03-18]{fill image options}{=\meta{graphics options}}{no default, initially empty} The \meta{graphics options} are given to the underlying \docAuxCommand*{includegraphics} command for the image fill options. This can be just together with \refKey{/tikz/fill stretch image}, \refKey{/tikz/fill overzoom image}, \refKey{/tikz/fill zoom image}, diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex index 4035e9c45ca..e99c8271b79 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex @@ -101,7 +101,7 @@ The auxiliary macro \docAuxCommand{imagepage} may be used inside \clearpage \subsection{Option Keys} -\begin{docTcbKey}[][doc new=2014-11-14]{graphics options}{=\meta{options}}{no default, initially empty} +\begin{docTcbKey}[][doc new and updated={2014-11-14}{2018-03-18}]{graphics options}{=\meta{options}}{no default, initially empty} Used for \refCom{tcbincludegraphics} and \refCom{tcbincludepdf} to specify |\includegraphics| \meta{options}. @@ -110,7 +110,8 @@ specify |\includegraphics| \meta{options}. \begin{tcbraster}[raster columns=3,size=fbox,raster equal height, colframe=red!50!black,colback=red!20!black,drop fuzzy shadow] \tcbincludegraphics{goldshade.png} - \tcbincludegraphics[graphics options={angle=20}]{goldshade.png} + \newcommand{\myangle}{angle=20}% + \tcbincludegraphics[graphics options=\myangle]{goldshade.png} \tcbincludegraphics[graphics options={viewport=0cm 0cm 8cm 4cm,clip}] {goldshade.png} \end{tcbraster} @@ -150,5 +151,48 @@ The \meta{selection} has to be given using the |\foreach| syntax of \tikzname. \end{dispListing} \end{docTcbKey} +\clearpage + + +\begin{docTcbKey}[][doc new=2018-03-21]{graphics orientation}{=\meta{orientation}}{no default, initially |as-is|} + Used for \refCom{tcbincludegraphics} and \refCom{tcbincludepdf} to + guarantee a certain \meta{orientation} of the included image. + After all other options for the image are processed, the result is possibly + rotated to be in landscape or portrait mode. + + Feasible values for \meta{orientation} are: + \begin{itemize} + \item\docValue{as-is}: no rotation of the processed image. + \item\docValue{landscape}: + the processed image is possibly rotated by 90 degrees + to ensure that the final width is not smaller than the final height. + \item\docValue{landscape*}: + the processed image is possibly rotated by -90 degrees + to ensure that the final width is not smaller than the final height. + \item\docValue{portrait}: + the processed image is possibly rotated by 90 degrees + to ensure that the final height is not smaller than the final width. + \item\docValue{portrait*}: + the processed image is possibly rotated by -90 degrees + to ensure that the final height is not smaller than the final width. + \end{itemize} + +\begin{dispExample} +% \tcbuselibrary{raster} +\begin{tcbraster}[raster columns=6,size=fbox,raster equal height, + colframe=red!50!black,colback=red!20!black,drop fuzzy shadow] + \tcbincludegraphics{Basilica_5.png} + \tcbincludegraphics[graphics orientation=landscape]{Basilica_5.png} + \tcbincludegraphics[graphics orientation=portrait]{Basilica_5.png} + \tcbincludegraphics[graphics orientation=portrait*]{Basilica_5.png} + \tcbincludegraphics[graphics options={viewport=0cm 0cm 2cm 3cm,clip}] + {goldshade.png} + \tcbincludegraphics[graphics options={viewport=0cm 0cm 2cm 3cm,clip}, + graphics orientation=landscape]{goldshade.png} +\end{tcbraster} +\end{dispExample} + + +\end{docTcbKey} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex index 37c3c7b9b0b..22c5023c056 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex @@ -691,20 +691,26 @@ This is a \LaTeX\ example. \clearpage -\begin{docTcbKey}{listing side text}{}{no value} +\begin{docTcbKey}{listing side text}{}{style, no value} Typesets the environment content side by side as listing in the left (upper) part and as compiled text in the right (lower) part. +This is a shortcut for setting \refKey{/tcb/listing and text} and \refKey{/tcb/sidebyside}. \begin{dispExample} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,listing side text} This is a \LaTeX\ example. \end{tcblisting} \end{dispExample} +\begin{marker} +Note that |sidebyside=false| has to be added, if the setting of +\refKey{/tcb/listing side text} is to be annihilated. +\end{marker} \end{docTcbKey} -\begin{docTcbKey}{text side listing}{}{no value} +\begin{docTcbKey}{text side listing}{}{style, no value} Typesets the environment content side by side as compiled text in the left (upper) part and as listing in the right (lower) part. +This is a shortcut for setting \refKey{/tcb/text and listing} and \refKey{/tcb/sidebyside}. \begin{dispExample} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,text side listing} This is a \LaTeX\ example. @@ -744,9 +750,10 @@ This is a \LaTeX\ example. \clearpage -\begin{docTcbKey}{listing side comment}{}{no value} +\begin{docTcbKey}{listing side comment}{}{style, no value} Typesets the environment content side by side as listing in the left (upper) part and a given comment in the right (lower) part. +This is a shortcut for setting \refKey{/tcb/listing and comment} and \refKey{/tcb/sidebyside}. \begin{dispExample} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,listing side comment, righthand width=1.5cm,image comment={width=1.5cm}{example-image-a.pdf}} @@ -756,9 +763,10 @@ This is a \LaTeX\ example. \end{docTcbKey} -\begin{docTcbKey}{comment side listing}{}{no value} +\begin{docTcbKey}{comment side listing}{}{style, no value} Typesets the environment content side by side with a given comment in the left (upper) part and as listing in the right (lower) part. +This is a shortcut for setting \refKey{/tcb/comment and listing} and \refKey{/tcb/sidebyside}. \begin{dispExample} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,comment side listing, lefthand width=1.5cm,image comment={width=1.5cm}{example-image-a.pdf}} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex index 88e4307ba5d..bf9c106bc44 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex @@ -105,6 +105,8 @@ registers. \end{dispListing} \end{docCommand} +\enlargethispage*{20mm} + \begin{docTcbKey}[][doc new=2015-07-13]{reset box array}{\colOpt{=\meta{name}}}{default |default|, initially unset} Resets the size counter of a box array \meta{name} to zero. Use this or \refCom{boxarrayreset} (which does the same) before diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.recording.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.recording.tex index 2bbdcb9deeb..75c016fb91c 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.recording.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.recording.tex @@ -10,7 +10,7 @@ to a file for later usage. The main application scenario is depicted in information about example solutions is recorded and read again in \Vref{sec:recording-solutions}. -\subsection{Makros}\label{sec:recording-makros} +\subsection{Macros}\label{sec:recording-makros} \begin{docCommand}[doc new=2014-11-28]{tcbstartrecording}{\oarg{file name}} Opens a file denoted by \meta{file name} for writing the records. The default file name is |\jobname.records|. 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 6efb39eb240..7307f888597 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 @@ -252,3 +252,10 @@ } \newrobustcmd*{\tcbexclamation}{!} + +\newtcbox{\section@box}{tile,before=\clearpage\noindent,after=, + fontupper=\normalfont\Large\bfseries,capture=minipage,colback=blue!80,coltext=white, + boxsep=0mm,top=4mm,bottom=4mm,left=\oddsidemargin+1in,right=\oddsidemargin+1in, + spread sidewards,fuzzy halo=1mm with blue!50!gray} + +\renewcommand\section{\@startsection{section}{1}{\z@}{\z@}{5mm}{\section@box}} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex index 772ef03aaa8..566a4f5a45b 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex @@ -12,14 +12,6 @@ for most users are documented. The following explanations also cover options and settings from the \mylib{skins} library, see \Vref{sec:skins}. - -%The library is loaded by a package option or inside the preamble by: -%\begin{dispListing} -%\tcbuselibrary{skins} -%\end{dispListing} -%This also loads the package |tikz| \cite{tantau:2015a}. Typically but not necessarily, -%the following skins use |tikz| instead of |pgf|. - \subsection{Skins and Drawing Engines}\label{sec:skincorekeys} From a technical point of view, a \emph{skin} is a style definition for the appearance of a |tcolorbox|. The core package provides some additional @@ -44,17 +36,6 @@ option from the core package has to be set. \end{dispExample} \end{docTcbKey} - -%\begin{marker} -% On first read, you may skip the rest of this subsection and proceed to -% Subsection \ref{subsec:addstyleoptions} on page \pageref{subsec:addstyleoptions}. -% All following keys in this subsection are automatically set by the selected skin -% and you may never have to temper with them. -% Nevertheless, they can be used after a skin was selected to modify -% this skin. -%\end{marker} - - \begin{docTcbKey}{skin first}{=\meta{name}}{style, no default, initially \texttt{standard}} If the box is set to be \refKey{/tcb/breakable} and \emph{is} broken actually, then the skin for the \emph{first} part of the break sequence @@ -79,6 +60,8 @@ option from the core package has to be set. \end{docTcbKey} +\clearpage + \begin{docTcbKey}{graphical environment}{=\meta{name}}{no default, initially \texttt{pgfpicture}} Sets the graphical environment for the |tcolorbox| to \meta{name}. Feasible values are |pgfpicture| and |tikzpicture| or environments which diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex index df9f8974015..ad0bc344f36 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex @@ -31,7 +31,7 @@ This also loads the package |amsmath|. The new environment \meta{name}|*| takes one optional and one mandatory parameter and represents an unnumbered variant of the environment \meta{name}. This variant is not labeled and not listed in lists of theorems. -%\enlargethispage*{20mm} +\enlargethispage*{20mm} \inputpreamblelisting{F} \begin{dispExample} % usage of '\nameref' needs 'nameref' or 'hyperref' to be loaded diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex index 6c3e04bf7eb..d43c42993b8 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex @@ -221,7 +221,6 @@ is used internally. \end{dispExample*} \end{vigTcbKey} -\clearpage \begin{vigTcbKey}[][doc new=2016-04-22]{vertical size}{=\meta{length}}{style, initially |2mm|} Sets \refKey{/tcb/vig/north size} and \refKey{/tcb/vig/south size}, to the given \meta{length}. @@ -281,6 +280,8 @@ be set \emph{before} \refKey{/tcb/vig/outside node} is used. \end{dispExample*} \end{vigTcbKey} +\clearpage + \begin{vigTcbKey}[][doc new=2016-04-22]{east style}{=\marg{style}}{no default, initially |red!75!black|} Sets \tikzname\ \meta{style} options for the east \emph{vignette} part. \begin{dispExample*}{sbs,righthand width=3cm,center lower} @@ -291,7 +292,7 @@ be set \emph{before} \refKey{/tcb/vig/outside node} is used. \end{dispExample*} \end{vigTcbKey} -\clearpage + \begin{vigTcbKey}[][doc new=2016-04-22]{west style}{=\marg{style}}{no default, initially |red!75!white|} Sets \tikzname\ \meta{style} options for the west \emph{vignette} part. \begin{dispExample*}{sbs,righthand width=3cm,center lower} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf index 90b394baad6..b0f8140a90d 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf differ diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex index a4492686df2..18f90c3844f 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex @@ -1,5 +1,5 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -43,8 +43,8 @@ \setlength{\bibitemsep}{\smallskipamount} \addbibresource{tcolorbox.doc.bib} -\def\version{4.12}% -\def\datum{2018/01/12}% +\def\version{4.13}% +\def\datum{2018/03/22}% \makeindex \hypersetup{ @@ -58,7 +58,7 @@ %\tcbset{draftmode} \tcbset{/tcb/external/-}% for final run -%\includeonly{tcolorbox.doc.theorems} +%\includeonly{tcolorbox.doc.documentation} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index c6129c12dee..7f43f3df097 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \let\tcb@parboxrestore@true=\tcb@parboxrestore \let\tcb@parboxrestore@false\tcb@parbox@false@settings @@ -579,6 +579,7 @@ \fi% \else% \ifdim\dimexpr\tcb@h@upper=0pt\relax% + \tcb@warning{Discard zero height first box part due to break problems (possible loss of zero height content)}% \tcb@split@break@to@start% \else% \tcb@sdraw@U% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index 27a807d9159..c724b871150 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 9fd9b69ff83..fbef0b4c908 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 1f4e21906de..f17843d9654 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 15411be5749..67e01d333fc 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 0ce01409a8e..7791d9638fc 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 7119462ba9e..b4fe8d17cd4 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 58fe13d458c..44d19c95777 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 160f5e7b6c2..dad68e4287a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 0fb6ec8d9c7..c8d512dfa2b 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \RequirePackage{minted}[2011/09/17] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex index 0b43615daf6..ae47d8665cb 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \tcbuselibrary{breakable,magazine,skins,fitting} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex index bda9545effb..6bb8a1c73da 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 74a16baa0b5..2da431c59de 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index 90119646a62..d71b330609f 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \RequirePackage{tikz}[2010/10/13] @@ -1218,7 +1218,9 @@ \def\tcb@ppbb@textbox#1{\pgftext[x=\the\dimexpr\pgf@xa+\tcb@ppbb@width/2\relax,y=\pgf@ya+\tcb@ppbb@height/2]{#1}} \def\tcb@set@waterbox@to@graphics#1{% - \setbox\tcb@waterbox=\color@hbox\pgfinterruptpicture{\expandafter\includegraphics\expandafter[\tcb@tikz@fill@graphics@options]{#1}}\endpgfinterruptpicture\color@endbox% + \setbox\tcb@waterbox=\color@hbox\pgfinterruptpicture% + \begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb@tikz@fill@graphics@options]}\x{#1}% + \endpgfinterruptpicture\color@endbox% } \def\tcb@set@waterbox@to@picture#1{% @@ -1234,7 +1236,7 @@ fill image options=,% fill plain image/.style={path picture={% \tcb@process@ppbb@wh% - \tcb@ppbb@textbox{\expandafter\includegraphics\expandafter[\tcb@tikz@fill@graphics@options]{#1}}% + \tcb@ppbb@textbox{\begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb@tikz@fill@graphics@options]}\x{#1}}% }}, fill plain picture/.style={path picture={% \tcb@process@ppbb@wh% @@ -1243,9 +1245,9 @@ }}, fill stretch image/.style={path picture={% \tcb@process@ppbb@wh% - \tcb@ppbb@textbox{\expandafter\includegraphics\expandafter[\tcb@tikz@fill@graphics@options,% + \tcb@ppbb@textbox{\begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb@tikz@fill@graphics@options,% width=\the\dimexpr\tcb@tikz@fill@graphics@scale\dimexpr\tcb@ppbb@width\relax,% - height=\the\dimexpr\tcb@tikz@fill@graphics@scale\dimexpr\tcb@ppbb@height\relax]{#1}}% + height=\the\dimexpr\tcb@tikz@fill@graphics@scale\dimexpr\tcb@ppbb@height\relax]}\x{#1}}% }}, fill stretch picture/.style={path picture={% \tcb@process@ppbb@wh% @@ -1703,28 +1705,48 @@ \def\tcb@include@graphics{% + \let\tcb@graphics@options\kvtcb@graphics@options% + \ifnum\kvtcb@graphics@orientation>-1\relax% + \setbox\tcb@waterbox=\color@hbox\begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb@graphics@options]}\x{\imagepath}\color@endbox% + \ifcase\kvtcb@graphics@orientation\relax% + \ifdim\wd\tcb@waterbox<\dimexpr\ht\tcb@waterbox+\dp\tcb@waterbox\relax% + \appto\tcb@graphics@options{,angle=90}% + \fi% + \or% + \ifdim\wd\tcb@waterbox<\dimexpr\ht\tcb@waterbox+\dp\tcb@waterbox\relax% + \appto\tcb@graphics@options{,angle=-90}% + \fi% + \or% + \ifdim\wd\tcb@waterbox>\dimexpr\ht\tcb@waterbox+\dp\tcb@waterbox\relax% + \appto\tcb@graphics@options{,angle=90}% + \fi% + \or% + \ifdim\wd\tcb@waterbox>\dimexpr\ht\tcb@waterbox+\dp\tcb@waterbox\relax% + \appto\tcb@graphics@options{,angle=-90}% + \fi% + \fi% + \fi% \ifdefstring{\kvtcb@capture}{hbox}{% \tcbox{% - \begingroup\edef\x{\endgroup\noexpand\includegraphics[\expandonce\kvtcb@graphics@options]}% + \begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb@graphics@options]}% \x{\imagepath}% }% }{% \iftcb@fixedheight% \begin{tcolorbox}% - \begingroup\edef\x{\endgroup\noexpand\includegraphics[\expandonce\kvtcb@graphics@options,width=\linewidth,height=\tcbtextheight,keepaspectratio]}% + \begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb@graphics@options,width=\linewidth,height=\tcbtextheight,keepaspectratio]}% \x{\imagepath}% \end{tcolorbox}% \else% \ifdefempty\tcb@height@adjust{% \begin{tcolorbox}% - \begingroup\edef\x{\endgroup\noexpand\includegraphics[\expandonce\kvtcb@graphics@options,width=\linewidth]}% + \begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb@graphics@options,width=\linewidth]}% \x{\imagepath}% \end{tcolorbox}% }{% height fill \begin{tcolorbox}[underlay={% \begin{tcbclipinterior}% - \begingroup\edef\x{\endgroup\noexpand\tikzset{fill image options={\expandonce\kvtcb@graphics@options}}}\x% - \path[fill zoom image={\imagepath}] + \path[fill zoom image*={\tcb@graphics@options}{\imagepath}] ([xshift=\kvtcb@boxsep+\kvtcb@leftupper,yshift=\kvtcb@boxsep+\kvtcb@bottom]interior.south west) rectangle ([xshift=-\kvtcb@boxsep-\kvtcb@rightupper,yshift=-\kvtcb@boxsep-\kvtcb@top]interior.north east); \end{tcbclipinterior}% @@ -1817,6 +1839,12 @@ graphics options/.store in=\kvtcb@graphics@options, graphics pages/.store in=\kvtcb@graphics@pages, graphics directory/.store in=\kvtcb@graphics@directory, + graphics orientation/.is choice, + graphics orientation/as-is/.code={\def\kvtcb@graphics@orientation{-1}}, + graphics orientation/landscape/.code={\def\kvtcb@graphics@orientation{0}}, + graphics orientation/landscape*/.code={\def\kvtcb@graphics@orientation{1}}, + graphics orientation/portrait/.code={\def\kvtcb@graphics@orientation{2}}, + graphics orientation/portrait*/.code={\def\kvtcb@graphics@orientation{3}}, } \newcommand{\tcbhypernode}[2]{\ifdefined\hypersetup\@ifundefined{pgf@sh@ns@#2}{}{% @@ -1858,7 +1886,7 @@ clip title=false,clip upper=false,clip lower=false,% no borderline,smart shadow arc,no shadow,no underlay,no finish,tikz reset,at begin tikz reset,at end tikz reset,% boxed title size=title,no boxed title style,hbox boxed title,code={\let\tcb@specialgeonodes@hook\relax},% - graphics options=,graphics pages={1,...,\pdfpages},graphics directory=,% + graphics options=,graphics pages={1,...,\pdfpages},graphics directory=,graphics orientation=as-is,% }, initialize@reset=reset@skins, } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index ec1180d05cd..d77a1c3a3a5 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 8d666acced7..a7e9b0a1ac5 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 4de697b72f7..97e05e21b2e 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 2a862879679..8910fbf7027 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.12} +\tcb@set@library@version{4.13} \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 76e1313224a..a920818f71e 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.12 (2018/01/12) +%% The LaTeX package tcolorbox - version 4.13 (2018/03/22) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2018/01/12 version 4.12 text color boxes] -\def\tcb@version{4.12} +\ProvidesPackage{tcolorbox}[2018/03/22 version 4.13 text color boxes] +\def\tcb@version{4.13} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -414,6 +414,7 @@ grow to right by/.code={% \tcbdimto\kvtcb@width{\kvtcb@width+#1}% \pgfkeysalso{enlarge right by={-\the\dimexpr#1\relax}}},% + grow sidewards by/.style={grow to left by={#1},grow to right by={#1}},% 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}}, -- cgit v1.2.3