diff options
author | Karl Berry <karl@freefriends.org> | 2014-12-12 00:29:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-12-12 00:29:07 +0000 |
commit | cc801e6495901e37af9ce71175f2aeca72eec887 (patch) | |
tree | c2f748a7b29de843446120b63c803747feda0ba4 /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex | |
parent | d3c71523d218025e9f651a4a83de8cdff48f2b73 (diff) |
tcolorbox (11dec14)
git-svn-id: svn://tug.org/texlive/trunk@35788 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex | 22 |
1 files changed, 19 insertions, 3 deletions
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.}: |