06.01.2015 Views

Manual for the tcolorbox package

Manual for the tcolorbox package

Manual for the tcolorbox package

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

tcb/bottom=〈length〉<br />

(no default, initially 2mm)<br />

Sets <strong>the</strong> bottom space between text and frame (additional to boxsep).<br />

\tcbset{colback=red!5!white,colframe=red!75!black}<br />

\begin{<strong>tcolorbox</strong>}[bottom=0mm]<br />

This is a \textbf{<strong>tcolorbox</strong>}.<br />

\tcblower<br />

This is <strong>the</strong> lower part.<br />

\end{<strong>tcolorbox</strong>}<br />

This is a <strong>tcolorbox</strong>.<br />

This is <strong>the</strong> lower part.<br />

/tcb/bottomtitle=〈length〉<br />

(no default, initially 0mm)<br />

Sets <strong>the</strong> bottom space between title and frame (additional to boxsep).<br />

\tcbset{colback=red!5!white,colframe=red!75!black}<br />

\begin{<strong>tcolorbox</strong>}[bottomtitle=3mm,title=My title]<br />

This is a \textbf{<strong>tcolorbox</strong>}.<br />

\end{<strong>tcolorbox</strong>}<br />

My title<br />

This is a <strong>tcolorbox</strong>.<br />

/tcb/middle=〈length〉<br />

(no default, initially 2mm)<br />

Sets <strong>the</strong> space between upper and lower text to <strong>the</strong> separation line (additional to boxsep).<br />

\tcbset{colback=red!5!white,colframe=red!75!black}<br />

\begin{<strong>tcolorbox</strong>}[middle=0mm,boxsep=0mm]<br />

This is a \textbf{<strong>tcolorbox</strong>}.<br />

\tcblower<br />

This is <strong>the</strong> lower part.<br />

\end{<strong>tcolorbox</strong>}<br />

This is a <strong>tcolorbox</strong>.<br />

This is <strong>the</strong> lower part.<br />

28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!