You are on page 1of 1

9 Technical Overview and Customization

This section provides a technical overview of the skin concept of tcolorbox. For most appli-
cations of tcolorbox, one will not need to know the bells and whistles described herein. You
may proceed to Section 10 on page 148 where the customization options for most users are
documented.
The following explanations also cover options and settings from the skins library, see Sec-

LIB
tion 10 on page 148.

9.1 Skins and Drawing Engines

From a technical point of view, a skin is a style definition for the appearance of a tcolorbox.
The core package provides some additional option keys for skins but only two skins called
standardÕ P. 204 and standard jigsawÕ P. 205 . The skins library adds several more skins. To

LIB
change to a skin, only one option from the core package has to be set.
/tcb/skin=hnamei (style, no default, initially standard)
Sets the current skin to hnamei. This is a style definition which sets all the following keys,
i. e. for many use cases there is nothing more to do.

\tcbset{colback=Salmon!50!white,colframe=FireBrick!75!black,
width=(\linewidth-8mm)/2,before=,after=\hfill,equal height group=ske}

\begin{tcolorbox}[adjusted title=My title]


This is my content.
\end{tcolorbox}
\begin{tcolorbox}[skin=beamer,beamer,adjusted title=My title]
This is my content.
\end{tcolorbox}

My title My title

This is my content. This is my content.

/tcb/skin first=hnamei (style, no default, initially standard)


If the box is set to be /tcb/breakableÕ P. 365 and is broken actually, then the skin for the
first part of the break sequence is set to hnamei, see Subsection 17.8 on page 378. Typically,
this key is set by a /tcb/skin.
/tcb/skin middle=hnamei (style, no default, initially standard)
If the box is set to be /tcb/breakableÕ P. 365 and is broken actually, then the skin for the
middle parts (if any) of the break sequence is set to hnamei, see Subsection 17.8 on page
378. Typically, this key is set by a /tcb/skin.
/tcb/skin last=hnamei (style, no default, initially standard)
If the box is set to be /tcb/breakableÕ P. 365 and is broken actually, then the skin for the
last part of the break sequence is set to hnamei, see Subsection 17.8 on page 378. Typically,
this key is set by a /tcb/skin.

134

You might also like