From 9af23458c7d822b3c9628417c8e076e291ec9220 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 14 Jan 2015 22:24:18 +0000 Subject: tcolorbox (13jan15) git-svn-id: svn://tug.org/texlive/trunk@36057 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tcolorbox/CHANGES | 8 ++- Master/texmf-dist/doc/latex/tcolorbox/README | 2 +- .../doc/latex/tcolorbox/tcolorbox-example.pdf | Bin 361345 -> 361340 bytes .../doc/latex/tcolorbox/tcolorbox-example.tex | 2 +- .../doc/latex/tcolorbox/tcolorbox.doc.quickref.tex | 30 +++++++++- .../doc/latex/tcolorbox/tcolorbox.doc.skins.tex | 61 +++++++++++++++++++++ .../texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf | Bin 5275975 -> 5287003 bytes .../texmf-dist/doc/latex/tcolorbox/tcolorbox.tex | 9 +-- 8 files changed, 103 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/doc/latex/tcolorbox') diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index 07122cf9d68..94501ca2cc6 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 3.36 (2015/01/09) +%% The LaTeX package tcolorbox - version 3.40 (2015/01/14) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm @@ -722,3 +722,9 @@ version 3.36 (2015/01/09) 'color counter', 'color length', 'doclang/counter', 'doclang/counters', 'doclang/length', 'doclang/lengths' +version 3.40 (2015/01/14) +- bug fix: list environments had too much leading space if set as first elements in a box +- library 'skins': + * new option: 'titlerule style' +- library 'breakable': + algorithm for handling overfull boxes revised; new warnings implemented diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 30adaaea12d..25413d9a425 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 3.36 (2015/01/09) +%% The LaTeX package tcolorbox - version 3.40 (2015/01/14) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf index 10da2a9d6b7..1192d920622 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 ee6e83eae74..a6c1cd73488 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 3.36 (2015/01/09) +%% The LaTeX package tcolorbox - version 3.40 (2015/01/14) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex index c678aeac285..ff8fd6cc9cb 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex @@ -34,19 +34,45 @@ \begin{tcolorbox}[enhanced,title={tcolorbox},before skip=5mm,after skip=5mm, colframe=red!50!black!30!white,colback=red!10!white!40!white, colbacktitle=red!30!white,coltext=black!20!white, + toptitle=1mm,bottomtitle=1mm, + overlay={\begin{tcbclipinterior}% + \path[fill=red!10!white!40!yellow!20!white,draw=yellow!50!black,dotted] + ([xshift=1mm,yshift=1mm]interior.south west) + rectangle ([xshift=-1mm,yshift=-1mm]interior.north east); + \path[fill=red!10!white!40!white,draw=yellow!50!black,dotted] ( + [xshift=5mm,yshift=3mm]interior.south west) + rectangle ([xshift=-5mm,yshift=-3mm]interior.north east); + \path[fill=red!10!white!40!yellow!20!white,draw=yellow!50!black,dotted] + ([xshift=5mm,yshift=-1mm]segmentation.south west) + rectangle ([xshift=-5mm,yshift=1mm]segmentation.north east); + \path[fill=red!10!white!40!white,draw=yellow!50!black,dotted] + ([xshift=5mm,yshift=1mm]segmentation.south west) + rectangle ([xshift=-5mm,yshift=-1mm]segmentation.north east); + \path[dashed,draw=red!50!black!30!white] (segmentation.west) -- (segmentation.east); + \end{tcbclipinterior}% + \begin{tcbcliptitle} + \path[fill=red!30!white!70!yellow,draw=yellow!50!black,dotted] + ([xshift=1mm,yshift=1mm]title.south west) + rectangle ([xshift=-1mm,yshift=-1mm]title.north east); + \path[fill=red!30!white,draw=yellow!50!black,dotted] + ([xshift=5mm,yshift=2mm]title.south west) + rectangle ([xshift=-5mm,yshift=-2mm]title.north east); + \end{tcbcliptitle}}, finish={ \coordinate (A) at ([yshift=-0.25mm]frame.north); \draw[thick,<-] (A) -- +(-1,0.3) node[left]{\refKey{/tcb/toprule}}; \coordinate (A) at ([yshift=-0.75mm]A); \draw[thick,<-] (A) -- +(1,0) node[right]{\refKey{/tcb/boxsep}}; + \coordinate (A) at ([yshift=-1mm]A); \draw[thick,<-] (A) -- +(-1,0) node[left]{\refKey{/tcb/toptitle}}; % \coordinate (A) at ([yshift=1.00mm]interior.north); \draw[thick,<-] (A) -- +(1,0) node[right]{\refKey{/tcb/boxsep}}; + \coordinate (A) at ([yshift=1mm]A); \draw[thick,<-] (A) -- +(-1,0) node[left]{\refKey{/tcb/bottomtitle}}; \coordinate (A) at ([yshift=0.25mm]interior.north); \draw[thick,<-] (A) -- +(-1,-0.4) node[left]{\refKey{/tcb/titlerule}}; - \coordinate (A) at ([yshift=-0.25mm]interior.north); + \coordinate (A) at ([yshift=-0.5mm]interior.north); \draw[thick,<-] (A) -- +(1,-0.2) node[right]{\refKey{/tcb/boxsep}}; \coordinate (A) at ([yshift=-1.5mm]A); \draw[thick,<-] (A) -- +(-1,-0.6) node[left]{\refKey{/tcb/top}}; @@ -64,7 +90,7 @@ \draw[thick,<-] (A) -- +(-1,-0.3) node[left]{\refKey{/tcb/bottomrule}}; \coordinate (A) at ([yshift=0.75mm]A); \draw[thick,<-] (A) -- +(1,0) node[right]{\refKey{/tcb/boxsep}}; - \coordinate (A) at ([yshift=2.5mm]A); + \coordinate (A) at ([yshift=1.5mm]A); \draw[thick,<-] (A) -- +(-1,0) node[left]{\refKey{/tcb/bottom}}; % \coordinate (A) at ([xshift=0.25mm]frame.west); diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex index 4e70982b8e0..aaf54ac37ed 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex @@ -287,6 +287,67 @@ This is the lower part. \end{dispExample*} \end{docTcbKey} + +\clearpage + + +\begin{docTcbKey}[][doc new=2015-01-14]{titlerule style}{=\meta{\texttt{\upshape tikz} keys}}{style, no default} + The \meta{\texttt{\upshape tikz} keys} are used to draw a title rule, + i.e.\ a rule below the optional title. The width of the rule is controlled + by \refKey{/tcb/titlerule}. It may be set directly to a smaller width + to create mixed effects with the standard rule. + This option is implemented as an \refKey{/tcb/underlay}. Thus, it is not + available for \refSkin{standard} and \refSkin{standard jigsaw}, but for + all other skins, e.g.\ \refSkin{enhanced}. + As an underlay, this option can be used multiple times and is removed + by \refKey{/tcb/no underlay}. +\begin{dispExample*}{sbs,lefthand ratio=0.66} +\begin{tcolorbox}[enhanced, + colback=red!5!white,colframe=red!75!black, + colbacktitle=red!50!yellow,fonttitle=\bfseries, + title=My title, + titlerule=1mm, + titlerule style=yellow ] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispExample*} + +\begin{dispExample*}{sbs,lefthand ratio=0.66} +\begin{tcolorbox}[enhanced, + colback=red!5!white,colframe=red!75!black, + colbacktitle=red!50!yellow,fonttitle=\bfseries, + title=My title, + titlerule=1mm, + titlerule style={yellow,line width=0.5mm} ] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispExample*} + +\begin{dispExample*}{sbs,lefthand ratio=0.66} +\begin{tcolorbox}[enhanced, + colback=red!10!white,colframe=red!75!black, + colbacktitle=red!50!yellow,fonttitle=\bfseries, + frame hidden, + title=My title, + boxrule=0pt,titlerule=1mm, + titlerule style=red!50!black ] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispExample*} + +\begin{dispExample*}{sbs,lefthand ratio=0.66} +%\usetikzlibrary{arrows.meta} +\begin{tcolorbox}[empty, + coltitle=red!75!black,fonttitle=\bfseries, + borderline horizontal={0.5mm}{0pt}{red!50!white}, + title=My title, + titlerule style={red, + arrows = {Hooks[arc=270]-Hooks[arc=270]}} ] +This is a \textbf{tcolorbox}. +\end{tcolorbox} +\end{dispExample*} +\end{docTcbKey} + \clearpage The combined \tikzname\ style applied to frame, interior, and title diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf index b6c11367e9a..5139fe5be3c 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 29b1323fc0e..101d95b3e64 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 3.36 (2015/01/09) +%% The LaTeX package tcolorbox - version 3.40 (2015/01/14) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -57,6 +57,7 @@ \usetikzlibrary{decorations.pathmorphing} \usetikzlibrary{patterns} \usetikzlibrary{spy} +\usetikzlibrary{arrows.meta} \usepackage{array,tabularx} \usepackage{amsmath} @@ -109,8 +110,8 @@ \renewcommand*{\tcbdocnew}[1]{\textcolor{green!50!black}{\sffamily\bfseries N} #1} \renewcommand*{\tcbdocupdated}[1]{\textcolor{blue!75!black}{\sffamily\bfseries U} #1} -\def\version{3.36}% -\def\datum{2015/01/09}% +\def\version{3.40}% +\def\datum{2015/01/14}% \makeindex \hypersetup{ @@ -380,7 +381,7 @@ %\tcbset{draftmode} -%\includeonly{tcolorbox.doc.coreoptions} +%\includeonly{tcolorbox.doc.skins} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} -- cgit v1.2.3