summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tcolorbox/tcolorbox.doc.hooks.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tcolorbox/tcolorbox.doc.hooks.tex')
-rw-r--r--macros/latex/contrib/tcolorbox/tcolorbox.doc.hooks.tex98
1 files changed, 98 insertions, 0 deletions
diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.hooks.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.hooks.tex
index 5d8c115be9..8d5971c387 100644
--- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.hooks.tex
+++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.hooks.tex
@@ -132,6 +132,104 @@ from page \pageref{subsec:contentadditions}.
Prepends the given \meta{code} to \refKey{/tcb/after lower} or \refKey{/tcb/after lower*} \emph{after} the content of the lower part.
\end{docTcbKey}
+\clearpage
+
+\begin{docTcbKeys}[
+ doc new = 2023-11-13,
+ doc description = style,
+ ]
+ {
+ { doc name = environment title app, doc parameter={=\meta{name}} },
+ { doc name = environment title args app, doc parameter={=\marg{name}\marg{code}} }
+ }
+ This shortcut style sets \refKey{/tcb/before title app}
+ to |\begin|\marg{name} and \refKey{/tcb/after title pre}
+ to |\end|\marg{name}, i.e. the title text is enclosed by the environment \meta{name}.
+ The second variant also places \meta{code} after |\begin|\marg{name}.
+ Note that you may need \emph{additional} brackets around \meta{code}, if
+ \meta{code} contains some para\-meter(s) for the environment \meta{name}.
+\end{docTcbKeys}
+
+\begin{docTcbKeys}[
+ doc new = 2023-11-13,
+ doc description = style,
+ ]
+ {
+ { doc name = environment title pre, doc parameter={=\meta{name}} },
+ { doc name = environment title args pre, doc parameter={=\marg{name}\marg{code}} }
+ }
+ This shortcut style sets \refKey{/tcb/before title pre}
+ to |\begin|\marg{name} and \refKey{/tcb/after title app}
+ to |\end|\marg{name}, i.e. the title text is enclosed by the environment \meta{name}.
+ The second variant also places \meta{code} after |\begin|\marg{name}.
+ Note that you may need \emph{additional} brackets around \meta{code}, if
+ \meta{code} contains some para\-meter(s) for the environment \meta{name}.
+\end{docTcbKeys}
+
+\begin{docTcbKeys}[
+ doc new = 2023-11-13,
+ doc description = style,
+ ]
+ {
+ { doc name = environment upper app, doc parameter={=\meta{name}} },
+ { doc name = environment upper args app, doc parameter={=\marg{name}\marg{code}} }
+ }
+ This shortcut style sets \refKey{/tcb/before upper app}
+ to |\begin|\marg{name} and \refKey{/tcb/after upper pre}
+ to |\end|\marg{name}, i.e. the upper part is enclosed by the environment \meta{name}.
+ The second variant also places \meta{code} after |\begin|\marg{name}.
+ Note that you may need \emph{additional} brackets around \meta{code}, if
+ \meta{code} contains some para\-meter(s) for the environment \meta{name}.
+\end{docTcbKeys}
+
+\begin{docTcbKeys}[
+ doc new = 2023-11-13,
+ doc description = style,
+ ]
+ {
+ { doc name = environment upper pre, doc parameter={=\meta{name}} },
+ { doc name = environment upper args pre, doc parameter={=\marg{name}\marg{code}} }
+ }
+ This shortcut style sets \refKey{/tcb/before upper pre}
+ to |\begin|\marg{name} and \refKey{/tcb/after upper app}
+ to |\end|\marg{name}, i.e. the upper part is enclosed by the environment \meta{name}.
+ The second variant also places \meta{code} after |\begin|\marg{name}.
+ Note that you may need \emph{additional} brackets around \meta{code}, if
+ \meta{code} contains some para\-meter(s) for the environment \meta{name}.
+\end{docTcbKeys}
+
+\begin{docTcbKeys}[
+ doc new = 2023-11-13,
+ doc description = style,
+ ]
+ {
+ { doc name = environment lower app, doc parameter={=\meta{name}} },
+ { doc name = environment lower args app, doc parameter={=\marg{name}\marg{code}} }
+ }
+ This shortcut style sets \refKey{/tcb/before lower app}
+ to |\begin|\marg{name} and \refKey{/tcb/after lower pre}
+ to |\end|\marg{name}, i.e. the lower part is enclosed by the environment \meta{name}.
+ The second variant also places \meta{code} after |\begin|\marg{name}.
+ Note that you may need \emph{additional} brackets around \meta{code}, if
+ \meta{code} contains some para\-meter(s) for the environment \meta{name}.
+\end{docTcbKeys}
+
+\begin{docTcbKeys}[
+ doc new = 2023-11-13,
+ doc description = style,
+ ]
+ {
+ { doc name = environment lower pre, doc parameter={=\meta{name}} },
+ { doc name = environment lower args pre, doc parameter={=\marg{name}\marg{code}} }
+ }
+ This shortcut style sets \refKey{/tcb/before lower pre}
+ to |\begin|\marg{name} and \refKey{/tcb/after lower app}
+ to |\end|\marg{name}, i.e. the lower part is enclosed by the environment \meta{name}.
+ The second variant also places \meta{code} after |\begin|\marg{name}.
+ Note that you may need \emph{additional} brackets around \meta{code}, if
+ \meta{code} contains some para\-meter(s) for the environment \meta{name}.
+\end{docTcbKeys}
+
\clearpage
\subsection{Embedding into the Surroundings}