texlive[47079] Master/texmf-dist: tcolorbox (22mar18)
commits+karl at tug.org
commits+karl at tug.org
Thu Mar 22 22:45:01 CET 2018
Revision: 47079
http://tug.org/svn/texlive?view=revision&revision=47079
Author: karl
Date: 2018-03-22 22:45:00 +0100 (Thu, 22 Mar 2018)
Log Message:
-----------
tcolorbox (22mar18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
trunk/Master/texmf-dist/doc/latex/tcolorbox/README
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.recording.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 <thomas dot sturm at unibw dot de>
+%% Copyright (c) 2006-2018 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
%% -------------------------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
@@ -1035,3 +1035,18 @@
- 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'
+
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/README 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/README 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 <thomas dot sturm at unibw dot de>
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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
%%
%% -------------------------------------------------------------------------------------------
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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
%%
%% -------------------------------------------------------------------------------------------
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 @@
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 @@
poster = {showframe,columns=4,rows=5},
]
% Here, we insert the poster content later
-\end{poster}
+\end{tcbposter}
\end{document}
\end{guidelisting}
\end{guide}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -1331,6 +1331,7 @@
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 @@
\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 @@
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 @@
\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 @@
\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}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -51,7 +51,7 @@
\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}.
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -379,7 +379,7 @@
\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},
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -101,7 +101,7 @@
\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 @@
\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 @@
\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}
+
+
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -691,20 +691,26 @@
\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 @@
\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 @@
\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}}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -105,6 +105,8 @@
\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
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.recording.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.recording.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.recording.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -10,7 +10,7 @@
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|.
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty 2018-03-22 21:45:00 UTC (rev 47079)
@@ -252,3 +252,10 @@
}
\newrobustcmd*{\tcbexclamation}{!}
+
+\newtcbox{\section at 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 at box}}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -12,14 +12,6 @@
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 @@
\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 @@
\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
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -31,7 +31,7 @@
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
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.vignette.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -221,7 +221,6 @@
\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 @@
\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 @@
\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}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\let\tcb at parboxrestore@true=\tcb at parboxrestore
\let\tcb at parboxrestore@false\tcb at parbox@false at settings
@@ -579,6 +579,7 @@
\fi%
\else%
\ifdim\dimexpr\tcb at h@upper=0pt\relax%
+ \tcb at warning{Discard zero height first box part due to break problems (possible loss of zero height content)}%
\tcb at split@break at to@start%
\else%
\tcb at sdraw@U%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\tcbuselibrary{listings,skins,xparse,external}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\tcbuselibrary{pro at cessing}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\newdimen\tcbfitdim
\newdimen\tcb at lowerfitdim
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\tcbset{%
before upper app/.code={\appto\kvtcb at before@upper{#1}},%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\RequirePackage{listings}[2007/02/22]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\tcbuselibrary{pro at cessing}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\RequirePackage{listingsutf8}[2011/11/10]
\tcbuselibrary{listings}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\tcbuselibrary{breakable}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\RequirePackage{minted}[2011/09/17]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\tcbuselibrary{breakable,magazine,skins,fitting}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\RequirePackage{pdftexcmds}
\RequirePackage{shellesc}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\newcounter{tcbrastercolumn}
\newcounter{tcbrasterrow}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\RequirePackage{tikz}[2010/10/13]
@@ -1218,7 +1218,9 @@
\def\tcb at ppbb@textbox#1{\pgftext[x=\the\dimexpr\pgf at xa+\tcb at ppbb@width/2\relax,y=\pgf at ya+\tcb at ppbb@height/2]{#1}}
\def\tcb at set@waterbox at to@graphics#1{%
- \setbox\tcb at waterbox=\color at hbox\pgfinterruptpicture{\expandafter\includegraphics\expandafter[\tcb at tikz@fill at graphics@options]{#1}}\endpgfinterruptpicture\color at endbox%
+ \setbox\tcb at waterbox=\color at hbox\pgfinterruptpicture%
+ \begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb at tikz@fill at graphics@options]}\x{#1}%
+ \endpgfinterruptpicture\color at endbox%
}
\def\tcb at set@waterbox at to@picture#1{%
@@ -1234,7 +1236,7 @@
fill image options=,%
fill plain image/.style={path picture={%
\tcb at process@ppbb at wh%
- \tcb at ppbb@textbox{\expandafter\includegraphics\expandafter[\tcb at tikz@fill at graphics@options]{#1}}%
+ \tcb at ppbb@textbox{\begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb at tikz@fill at graphics@options]}\x{#1}}%
}},
fill plain picture/.style={path picture={%
\tcb at process@ppbb at wh%
@@ -1243,9 +1245,9 @@
}},
fill stretch image/.style={path picture={%
\tcb at process@ppbb at wh%
- \tcb at ppbb@textbox{\expandafter\includegraphics\expandafter[\tcb at tikz@fill at graphics@options,%
+ \tcb at ppbb@textbox{\begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb at tikz@fill at graphics@options,%
width=\the\dimexpr\tcb at tikz@fill at graphics@scale\dimexpr\tcb at ppbb@width\relax,%
- height=\the\dimexpr\tcb at tikz@fill at graphics@scale\dimexpr\tcb at ppbb@height\relax]{#1}}%
+ height=\the\dimexpr\tcb at tikz@fill at graphics@scale\dimexpr\tcb at ppbb@height\relax]}\x{#1}}%
}},
fill stretch picture/.style={path picture={%
\tcb at process@ppbb at wh%
@@ -1703,28 +1705,48 @@
\def\tcb at include@graphics{%
+ \let\tcb at graphics@options\kvtcb at graphics@options%
+ \ifnum\kvtcb at graphics@orientation>-1\relax%
+ \setbox\tcb at waterbox=\color at hbox\begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb at graphics@options]}\x{\imagepath}\color at endbox%
+ \ifcase\kvtcb at graphics@orientation\relax%
+ \ifdim\wd\tcb at waterbox<\dimexpr\ht\tcb at waterbox+\dp\tcb at waterbox\relax%
+ \appto\tcb at graphics@options{,angle=90}%
+ \fi%
+ \or%
+ \ifdim\wd\tcb at waterbox<\dimexpr\ht\tcb at waterbox+\dp\tcb at waterbox\relax%
+ \appto\tcb at graphics@options{,angle=-90}%
+ \fi%
+ \or%
+ \ifdim\wd\tcb at waterbox>\dimexpr\ht\tcb at waterbox+\dp\tcb at waterbox\relax%
+ \appto\tcb at graphics@options{,angle=90}%
+ \fi%
+ \or%
+ \ifdim\wd\tcb at waterbox>\dimexpr\ht\tcb at waterbox+\dp\tcb at waterbox\relax%
+ \appto\tcb at graphics@options{,angle=-90}%
+ \fi%
+ \fi%
+ \fi%
\ifdefstring{\kvtcb at capture}{hbox}{%
\tcbox{%
- \begingroup\edef\x{\endgroup\noexpand\includegraphics[\expandonce\kvtcb at graphics@options]}%
+ \begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb at graphics@options]}%
\x{\imagepath}%
}%
}{%
\iftcb at fixedheight%
\begin{tcolorbox}%
- \begingroup\edef\x{\endgroup\noexpand\includegraphics[\expandonce\kvtcb at graphics@options,width=\linewidth,height=\tcbtextheight,keepaspectratio]}%
+ \begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb at graphics@options,width=\linewidth,height=\tcbtextheight,keepaspectratio]}%
\x{\imagepath}%
\end{tcolorbox}%
\else%
\ifdefempty\tcb at height@adjust{%
\begin{tcolorbox}%
- \begingroup\edef\x{\endgroup\noexpand\includegraphics[\expandonce\kvtcb at graphics@options,width=\linewidth]}%
+ \begingroup\edef\x{\endgroup\noexpand\includegraphics[\tcb at 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 at graphics@options}}}\x%
- \path[fill zoom image={\imagepath}]
+ \path[fill zoom image*={\tcb at graphics@options}{\imagepath}]
([xshift=\kvtcb at boxsep+\kvtcb at leftupper,yshift=\kvtcb at boxsep+\kvtcb at bottom]interior.south west) rectangle
([xshift=-\kvtcb at boxsep-\kvtcb at rightupper,yshift=-\kvtcb at boxsep-\kvtcb at top]interior.north east);
\end{tcbclipinterior}%
@@ -1817,6 +1839,12 @@
graphics options/.store in=\kvtcb at graphics@options,
graphics pages/.store in=\kvtcb at graphics@pages,
graphics directory/.store in=\kvtcb at graphics@directory,
+ graphics orientation/.is choice,
+ graphics orientation/as-is/.code={\def\kvtcb at graphics@orientation{-1}},
+ graphics orientation/landscape/.code={\def\kvtcb at graphics@orientation{0}},
+ graphics orientation/landscape*/.code={\def\kvtcb at graphics@orientation{1}},
+ graphics orientation/portrait/.code={\def\kvtcb at graphics@orientation{2}},
+ graphics orientation/portrait*/.code={\def\kvtcb at graphics@orientation{3}},
}
\newcommand{\tcbhypernode}[2]{\ifdefined\hypersetup\@ifundefined{pgf at 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 at specialgeonodes@hook\relax},%
- graphics options=,graphics pages={1,...,\pdfpages},graphics directory=,%
+ graphics options=,graphics pages={1,...,\pdfpages},graphics directory=,graphics orientation=as-is,%
},
initialize at reset=reset at skins,
}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\RequirePackage{amsmath}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at set@library at version{4.12}
+\tcb at set@library at version{4.13}
\RequirePackage{xparse}[2013/12/31]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2018-03-22 21:44:23 UTC (rev 47078)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2018-03-22 21:45:00 UTC (rev 47079)
@@ -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 at version{4.12}
+\ProvidesPackage{tcolorbox}[2018/03/22 version 4.13 text color boxes]
+\def\tcb at version{4.13}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -414,6 +414,7 @@
grow to right by/.code={%
\tcbdimto\kvtcb at width{\kvtcb at 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}},
More information about the tex-live-commits
mailing list