Theorems, definitions, remarks — our editor generates the tcolorbox code automatically.
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.
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.
Select one of 7 presets: theorem, definition, property, remark, warning, example or proof. Colors and style adapt automatically.
Choose one of 5 styles and adjust every color: background, border, title background, title text, body text. Set corner radius, border thickness and padding.
The code is displayed in three blocks: Packages, Preamble (color definitions + box definition) and Usage. Copy each block individually or all at once.
Click Test to see the result immediately in the online compiler. Or use the editor directly from your LaTeX document via the Structures menu.
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.
Discover our other free WYSIWYG editors for LaTeX:
See all editors: Visual LaTeX editors | Overleaf alternative
No download, no installation. Open the editor and start right away.
Open the editor — FreeWith 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.
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.
Yes — define a tcolorbox theorem environment once, then use it everywhere. The Sarmate editor lets you preview the styling before generating the code.
No. The editor runs directly in your browser without signup. Copy the generated code and paste it straight into your LaTeX document.