summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex')
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex9
1 files changed, 6 insertions, 3 deletions
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex
index 4ebaee76d9..c714bfd445 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.breakable.tex
@@ -7,6 +7,7 @@ The library is loaded by a package option or inside the preamble by:
\begin{dispListing}
\tcbuselibrary{breakable}
\end{dispListing}
+This also loads the package |pdfcol|.
\subsection{Technical Overview}
The library \mylib{breakable} supports the automatic breaking of a |tcolorbox|.
@@ -108,9 +109,11 @@ parameters. The differences are:
use \refKey{/tcb/enforce breakable} for the nested
box\footnote{\refKey{/tcb/enforce breakable} acts like \refKey{/tcb/breakable} until |tcolorbox| 3.04.}.
\textbf{But, a breakable box inside a breakable box will usually give a mess.}
-\item If your text content contains some text color changing commands,
- your color will not survive the break to the next box.
- But, with the |fontspec| package and |xelatex| or |lualatex|,
+\item\tcbdocmarginnote{\tcbdocnew{2020-09-17}}
+ Depending on the \LaTeX\ compiler, if your text content contains some text
+ color changing commands, your color may not survive the break to the next box.
+ Since |tcolorbox|~4.32, |pdflatex| and |lualatex| should not have that
+ problem. For |xelatex|, with the |fontspec| package,
you can use
|\addfontfeatures{Color=mycolor}|
to add a font color which survives the break.