0% found this document useful (0 votes)
159 views1 page

tcb/frame Style /tikz/fill Tile Image: Graphics Optionsi Are Given To The Underlying

The document describes options in tcolorbox that control the styling of box frames and interiors. The /tcb/frame style tile option fills the frame with a tile pattern from an image. The /tcb/frame hidden option switches off frame drawing. The /tcb/interior style option sets TikZ keys for drawing the box interior, and only works with certain interior engines. Examples are provided to demonstrate the options.

Uploaded by

jimusos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
159 views1 page

tcb/frame Style /tikz/fill Tile Image: Graphics Optionsi Are Given To The Underlying

The document describes options in tcolorbox that control the styling of box frames and interiors. The /tcb/frame style tile option fills the frame with a tile pattern from an image. The /tcb/frame hidden option switches off frame drawing. The /tcb/interior style option sets TikZ keys for drawing the box interior, and only works with certain interior engines. Examples are provided to demonstrate the options.

Uploaded by

jimusos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

/tcb/frame style tile={hgraphics optionsi}{hfile namei}

(no default, initially unset)


Fills the frame with a tile pattern based on an external image referenced by hfile namei. The
hgraphics optionsi are given to the underlying \includegraphics command. For advanced
features like blending of a picture with the background, use /tcb/frame style P. 139 together with /tikz/fill tile image P. 249 .
\tcbset{colback=red!5!white,coltitle=red!30!black,
opacityback=0.75,fonttitle=\bfseries}
\begin{tcolorbox}[enhanced,title=My title,
frame style tile={width=1cm}{pink_marble.png}]
This is a \textbf{tcolorbox}.
\tcblower
This is the lower part.
\end{tcolorbox}

My title
This is a tcolorbox.
This is the lower part.

/tcb/frame hidden
(style, no value)
This is a shortcut for frame style={draw=none,fill=none}. Depending on the skin, this
option switches off the drawing of the frame. Alternatively, use /tcb/frame empty P. 129 .
\tcbset{colback=red!5!white,colframe=red!75!black,
fonttitle=\bfseries,coltitle=black}
\begin{tcolorbox}[enhanced,title=My title,
frame hidden]
This is a \textbf{tcolorbox}.
\tcblower
This is the lower part.
\end{tcolorbox}

My title
This is a tcolorbox.
This is the lower part.

/tcb/interior style=htikz keysi


The htikz keysi are used inside the tikz path command for drawing
box. They are used for the titled and for the untitled version as well.
This option is available if the /tcb/interior titled engine P. 126
engine P. 127 is set to path, pathfirst, pathmiddle, or pathlast. It
standard.

(style, no default)
the interior of the
or /tcb/interior
is not available for

\tcbset{colframe=red!75!black,fonttitle=\bfseries}
\begin{tcolorbox}[enhanced,title=My title,
interior style={left color=red!20!white,
right color=yellow!50!white}]
This is a \textbf{tcolorbox}.
\tcblower
This is the lower part.
\end{tcolorbox}

140

My title
This is a tcolorbox.
This is the lower part.

You might also like