summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-14 22:24:18 +0000
committerKarl Berry <karl@freefriends.org>2015-01-14 22:24:18 +0000
commit9af23458c7d822b3c9628417c8e076e291ec9220 (patch)
treee85879b386d507817f79ff19eaca6ea51f07206b /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
parentde8e68502f2756ea9ec69667d4ceb3da26cea84d (diff)
tcolorbox (13jan15)
git-svn-id: svn://tug.org/texlive/trunk@36057 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex61
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
index 4e70982b8e0..aaf54ac37ed 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
@@ -287,6 +287,67 @@ This is the lower part.
\end{dispExample*}
\end{docTcbKey}
+
+\clearpage
+
+
+\begin{docTcbKey}[][doc new=2015-01-14]{titlerule style}{=\meta{\texttt{\upshape tikz} keys}}{style, no default}
+ The \meta{\texttt{\upshape tikz} keys} are used to draw a title rule,
+ i.e.\ a rule below the optional title. The width of the rule is controlled
+ by \refKey{/tcb/titlerule}. It may be set directly to a smaller width
+ to create mixed effects with the standard rule.
+ This option is implemented as an \refKey{/tcb/underlay}. Thus, it is not
+ available for \refSkin{standard} and \refSkin{standard jigsaw}, but for
+ all other skins, e.g.\ \refSkin{enhanced}.
+ As an underlay, this option can be used multiple times and is removed
+ by \refKey{/tcb/no underlay}.
+\begin{dispExample*}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,
+ colback=red!5!white,colframe=red!75!black,
+ colbacktitle=red!50!yellow,fonttitle=\bfseries,
+ title=My title,
+ titlerule=1mm,
+ titlerule style=yellow ]
+This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{dispExample*}
+
+\begin{dispExample*}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,
+ colback=red!5!white,colframe=red!75!black,
+ colbacktitle=red!50!yellow,fonttitle=\bfseries,
+ title=My title,
+ titlerule=1mm,
+ titlerule style={yellow,line width=0.5mm} ]
+This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{dispExample*}
+
+\begin{dispExample*}{sbs,lefthand ratio=0.66}
+\begin{tcolorbox}[enhanced,
+ colback=red!10!white,colframe=red!75!black,
+ colbacktitle=red!50!yellow,fonttitle=\bfseries,
+ frame hidden,
+ title=My title,
+ boxrule=0pt,titlerule=1mm,
+ titlerule style=red!50!black ]
+This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{dispExample*}
+
+\begin{dispExample*}{sbs,lefthand ratio=0.66}
+%\usetikzlibrary{arrows.meta}
+\begin{tcolorbox}[empty,
+ coltitle=red!75!black,fonttitle=\bfseries,
+ borderline horizontal={0.5mm}{0pt}{red!50!white},
+ title=My title,
+ titlerule style={red,
+ arrows = {Hooks[arc=270]-Hooks[arc=270]}} ]
+This is a \textbf{tcolorbox}.
+\end{tcolorbox}
+\end{dispExample*}
+\end{docTcbKey}
+
\clearpage
The combined \tikzname\ style applied to frame, interior, and title