Sarmate.net Sarmate.net
Home Features Pricing Documentation Contact
Log in Sign up

Colored boxes for LaTeX — create them visually, without writing a single line of code

Theorems, definitions, remarks — our editor generates the tcolorbox code automatically.

Open the editor Read the guide
Visual tcolorbox editor

What is the box editor?

The Sarmate.net box editor is a visual WYSIWYG online editor that lets you create colored boxes for your LaTeX documents — without mastering the complex tcolorbox syntax. Choose a style, adjust the colors, and the code is generated in real time.

Who is this tool for?

Whether you're a teacher highlighting theorems and definitions in your course materials, a student submitting a clean assignment, or an author writing a textbook — the box editor saves you valuable time. The tcolorbox syntax is extremely powerful but also complex: \newtcbtheorem, attach boxed title, sharp corners... With our editor, you no longer need to worry about it.

What boxes can I create?

5 available styles

Step-by-step guide

1

Choose a preset

Select one of 7 presets: theorem, definition, property, remark, warning, example or proof. Colors and style adapt automatically.

2

Customize style and colors

Choose one of 5 styles and adjust every color: background, border, title background, title text, body text. Set corner radius, border thickness and padding.

3

Copy the code

The code is displayed in three blocks: Packages, Preamble (color definitions + box definition) and Usage. Copy each block individually or all at once.

4

Test and insert

Click Test to see the result immediately in the online compiler. Or use the editor directly from your LaTeX document via the Structures menu.

Features in detail

The editor offers a live preview that shows the result in the browser before you even compile. Every change to colors, style or dimensions is immediately reflected in the preview and generated code.

The generated code uses \newtcbtheorem for numbered environments and \newtcolorbox for unnumbered ones. All colors are defined with \definecolor and HTML hex codes, allowing precise color control.

Other visual editors

Discover our other free WYSIWYG editors for LaTeX:

Sign & variation tables Visual tkz-tab editor Probability trees Visual TikZ editor TikZ & PSTricks figures WYSIWYG graphics editor LaTeX tables Visual tabular editor

See all editors: Visual LaTeX editors | Overleaf alternative

Ready to create your boxes?

No download, no installation. Open the editor and start right away.

Open the editor — Free

Frequently asked questions

How do I create a colored theorem box in LaTeX?

With the tcolorbox package, but the syntax is complex. Sarmate's visual editor lets you click the background color, the border, enter a title and your content. Clean tcolorbox code is generated, ready to paste.

What's the difference between tcolorbox and mdframed?

tcolorbox is more modern and powerful: customizable headers, gradients, shadows, theorem environments. mdframed is older and simpler. Sarmate outputs tcolorbox code, the standard for academic boxes today.

Can I use these boxes for theorems and definitions?

Yes — define a tcolorbox theorem environment once, then use it everywhere. The Sarmate editor lets you preview the styling before generating the code.

Do I need an account to use the tcolorbox editor?

No. The editor runs directly in your browser without signup. Copy the generated code and paste it straight into your LaTeX document.