06.01.2015 Views

Manual for the tcolorbox package

Manual for the tcolorbox package

Manual for the tcolorbox package

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

tcb/colupper=〈color〉<br />

Sets <strong>the</strong> text 〈color〉 of <strong>the</strong> upper part.<br />

\begin{<strong>tcolorbox</strong>}[colupper=red!75!black]<br />

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

\tcblower<br />

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

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

(no default, initially black)<br />

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

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

/tcb/collower=〈color〉<br />

Sets <strong>the</strong> text 〈color〉 of <strong>the</strong> lower part.<br />

\begin{<strong>tcolorbox</strong>}[collower=red!75!black]<br />

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

\tcblower<br />

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

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

(no default, initially black)<br />

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

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

/tcb/coltext=〈color〉<br />

(style, no default, initially black)<br />

Sets <strong>the</strong> text 〈color〉 of <strong>the</strong> box. This is an abbreviation <strong>for</strong> setting colupper and collower<br />

to <strong>the</strong> same value.<br />

\begin{<strong>tcolorbox</strong>}[coltext=red!75!black]<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/coltitle=〈color〉<br />

Sets <strong>the</strong> title text 〈color〉 of <strong>the</strong> box.<br />

\begin{<strong>tcolorbox</strong>}[coltitle=red!75!black,<br />

colbacktitle=black!10!white,title=Test]<br />

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

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

Test<br />

(no default, initially white)<br />

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

20

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

Saved successfully!

Ooh no, something went wrong!