summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-09-26 20:04:48 +0000
committerKarl Berry <karl@freefriends.org>2023-09-26 20:04:48 +0000
commitc235a19b87bb41ec8d503d64173dfacfdea43c6e (patch)
tree26f55fd8b11cb0c4dd91e7f69089ff90e93de875 /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
parentd65f05e524b6dddf4c57dd93adda6b2cb57f1969 (diff)
tcolorbox (26sep23)
git-svn-id: svn://tug.org/texlive/trunk@68375 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.tex25
1 files changed, 25 insertions, 0 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 4be5dc76c8d..9144696d2cb 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
@@ -346,6 +346,31 @@ Now, we load the saved text:\\
\end{exdispExample}
\end{docTcbKey}
+
+\clearpage
+\begin{docTcbKey}[][doc new=2023-07-17]{redirectlowerto}{=\meta{file name}}{no default, initially empty}
+ This is a combination of \refKey{/tcb/savelowerto} and \refKey{/tcb/lowerbox}|=|\docValue{ignored}
+ \emph{and additionally} avoids typesetting the content of the lower part.
+ This can be useful, if the lower part contains counters or similar.
+\begin{exdispExample}{redirectlowerto}
+
+\setcounter{enumi}{1}
+Test counter: \theenumi
+
+\begin{tcolorbox}[redirectlowerto=\jobname_bspsave.tex,colback=white]
+This is a \textbf{tcolorbox}.
+\tcblower
+This is the lower part.\stepcounter{enumi}
+New value of test counter: \theenumi.
+\end{tcolorbox}
+
+Now, we load the saved text:\\
+\input{\jobname_bspsave.tex}
+\end{exdispExample}
+\end{docTcbKey}
+
+
+
\clearpage
\begin{docTcbKey}{lower separated}{\colOpt{=true\textbar false}}{default |true|, initially |true|}
If set to |true|, the lower part is visually separated from the upper part.