tcolorbox LaTeX Package

repository·master·Indexed 43 days ago

https://github.com/t-f-s/tcolorbox

A powerful LaTeX package for creating highly customizable colored and framed text boxes. It supports framed text, split boxes, theorem environments, and the display of source code with rendered output.

Tokens
298
Snippets
0
Records
2
Agent score
5%

What's inside tcolorbox

  1. Overview of tcolorbox capabilities

    master

    tcolorbox is a LaTeX package that provides an environment for creating colored and framed text boxes, often featuring a heading line.

    Key use cases include:

    • Framed Text: Creating boxes with customizable colors and frames.
    • Split Boxes: Optionally splitting a box into an upper and a lower part.
    • Code Examples: Displaying source code in one part of a box and its rendered output in another.
    • Theorems: Setting up theorem environments.
    • Content Reuse: Saving and reusing source code and text parts within boxes.
  2. Install the tcolorbox LaTeX package

    master

    To install tcolorbox, you can use one of two methods:

    Method 1: Using the TDS zip

    Copy the contents of tcolorbox.tds.zip from CTAN directly to your local TeX file tree.

    Method 2: Manual installation

    Place the individual files into their respective locations within your TeX installation:

    • tcolorbox.sty and all .code.tex library files (e.g., tcbbreakable.code.tex, tcbtheorems.code.tex, etc.) should be placed in /tex/latex/tcolorbox.
    • Image files (e.g., blueshade.png, goldshade.png) should be placed in /tex/latex/tcolorbox.
    • All other documentation and auxiliary files should be placed in /doc/latex/tcolorbox.