From cc801e6495901e37af9ce71175f2aeca72eec887 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 12 Dec 2014 00:29:07 +0000 Subject: tcolorbox (11dec14) git-svn-id: svn://tug.org/texlive/trunk@35788 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 361359 -> 361340 bytes .../doc/latex/tcolorbox/tcolorbox-example.tex | 2 +- .../latex/tcolorbox/tcolorbox.doc.coreoptions.tex | 22 ++++++++++++++++++--- .../doc/latex/tcolorbox/tcolorbox.doc.quickref.tex | 2 +- .../texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf | Bin 5191152 -> 5195793 bytes .../texmf-dist/doc/latex/tcolorbox/tcolorbox.tex | 8 ++++---- 8 files changed, 33 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index dd351303a03..90cbe5be46e 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.32 (2014/12/01) +%% The LaTeX package tcolorbox - version 3.33 (2014/12/11) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm @@ -685,3 +685,9 @@ version 3.31 (2014/11/28) version 3.32 (2014/12/01) - bug fix for 'crefname' and 'Crefname' options (cleveref support) + +version 3.33 (2014/12/11) +- The nobreak settings after a heading are respected now for breakable and + unbreakable boxes. Use the new option 'ignore nobreak' to restore the old + behavior. +- vertical skip of two successive tcbraster environments fixed diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 7cb6295d8fa..04958c4bbfa 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.32 (2014/12/01) +%% The LaTeX package tcolorbox - version 3.33 (2014/12/11) %% %% ------------------------------------------------------------------------------------------- %% 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 a15f730c1a0..657c6a12c8a 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 1ba3b4240f8..3826fc0b4f3 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.32 (2014/12/01) +%% The LaTeX package tcolorbox - version 3.33 (2014/12/11) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- 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 9af1eaa1d8f..0600d0b753e 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -2276,7 +2276,9 @@ This behavior is controlled by the keys |before| and |after|. \begin{docTcbKey}{before}{=\meta{code}}{no default, initially see \refKey{/tcb/autoparskip}} Sets the \meta{code} which is executed before the colored box. - It is not used for floating boxes. + It is not used for floating boxes. + Also, it is not used, if the box follows a heading immediately + and \refKey{/tcb/ignore nobreak} is set to \docValue{false}. \end{docTcbKey} \begin{docTcbKey}{after}{=\meta{code}}{no default, initially see \refKey{/tcb/autoparskip}} @@ -2484,6 +2486,20 @@ Some text. \end{docTcbKey} +\begin{docTcbKey}[][doc new=2014-12-11]{ignore nobreak}{\colOpt{=true\textbar false}}{default |true|, initially |false|} +After a heading, \LaTeX\ tries to avoid a break by setting a |nobreak| boolean value. +Starting from version |3.33|, the \refKey{/tcb/before} respectively \refKey{/tcb/before skip} +settings are not used after a heading, if \refKey{/tcb/ignore nobreak} is +set to \docValue{false}. Further, a \refKey{/tcb/breakable} box will also try to +avoid a break between a heading and a directly following first part of a +break sequence. + +Set \refKey{/tcb/ignore nobreak} to \docValue{true}, if |nobreak| should be +ignored as prior to version |3.33|. Also, this setting may be used locally to +enforce the \refKey{/tcb/before} setting. +\end{docTcbKey} + + \clearpage \subsection{Bounding Box} @@ -3217,8 +3233,8 @@ This issues:\\ If set to |true|, the even/odd page testing from the package |changepage| is applied. The \refKey{/tcb/toggle enlargement} check and the \refKey{/tcb/toggle left and right} check -will use the -|\ifoddpage| macro from this package. +will use the |\ifoddpage| macro from this package or another package like +|ifoddpage|. This options is independent from \refKey{/tcb/phantom}. Note that you have to include the package |changepage| by hand\footnote{If |changepage| is not included, a compilation error will arise.}: 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 53625465073..c678aeac285 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex @@ -5,7 +5,7 @@ \makeatletter \begin{tcolorbox}[enhanced,title={tcolorbox}, - left skip=1cm,right skip=1cm,before skip=1cm,after skip=1cm, + enlarge top initially by=1cm,enlarge bottom finally by=1cm,left skip=1cm,right skip=1cm, colframe=red!50!black!30!white,colback=red!10!white!40!white, colbacktitle=red!30!white,colupper=black!20!white, code={\appto\kvtcb@shadow{% diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf index 719927ac027..c1a0def7ca9 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 f8e5ae390ec..a0594ad9f26 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.32 (2014/12/01) +%% The LaTeX package tcolorbox - version 3.33 (2014/12/11) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -106,8 +106,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.32}% -\def\datum{2014/12/01}% +\def\version{3.33}% +\def\datum{2014/12/11}% \makeindex \hypersetup{ @@ -376,7 +376,7 @@ %\tcbset{draftmode} -%\includeonly{tcolorbox.doc.theorems} +%\includeonly{tcolorbox.doc.quickref} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} -- cgit v1.2.3