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 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.
Our searchable collection of LaTeX examples is a great place to look when you're using a LaTeX package for the first time (or the first time in a while!).
Show off your awesome LaTeX skills by contributing examples to the gallery. You can publish any Overleaf project with a couple of clicks.
New examples of LaTeX packages and techniques are added all the time. Follow us on twitter for the highlights!