tikz.dev / tcolorbox Manual

The tcolorbox package

The tcolorbox package

Manual for version 6.10.0 (2026/05/28)
Unofficial HTML Version
This HTML version of the documentation is maintained by Dominik Peters, and is generated from the LaTeX sources of the manual.
Author of the tcolorbox manual: Thomas F. Sturm.

Abstract

tcolorbox provides an environment for colored and framed text boxes with a heading line. Optionally, such a box can be split in an upper and a lower part. The package tcolorbox can be used for the setting of examples where one part of the box displays the source code and the other part shows the output. Another common use case is the setting of theorems. The package supports saving and reuse of source code and text parts.

tcolorbox cover
Compiled outputCompiled outputCompiled output

Contents