Skip to main content

{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 can be used for the setting of LaTeX 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} 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 can be used for the setting of LaTeX 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.

The tcolorbox package has many features:

  • Colored graphical boxes with background, frame and titles
  • TikZ overlays and underlays to make use of the TikZ engine
  • Code listings with listings and minted
  • Theorems
  • Rasters of boxes
  • Vignetted boxes
  • Magazine mode
  • beamer support with the beamer syntax for slide overlays
  • Posters