LaTeX assistant
Build your tables, figures and formulas with forms and a live preview, then copy the LaTeX code. Free, no sign-up: everything stays in your browser.
How to use it
- Each tab produces a piece of code to paste into your document. The “Preamble” line lists the
\usepackagelines to add (once, before\begin{document}). - Copy full document gives a file ready to compile (pdfLaTeX, XeLaTeX or LuaLaTeX); Open in Overleaf compiles it online without installing anything (the document is then sent to Overleaf).
- Previews are drawn by the tool: they show the general look, but only the compiled PDF is authoritative.
- Each tab's work is kept in this browser; Save project creates a
.jsonfile to continue elsewhere.
Frequently asked questions
Why don't my table colours show?
Load \usepackage[table]{xcolor} (with the table option) and the \definecolor lines shown under the code.
If another package already loads xcolor, put this line before it or use \PassOptionsToPackage{table}{xcolor}.
The variation table does not compile
Check that \usepackage{tkz-tab} is present (it loads TikZ) and that every value is valid math-mode LaTeX. The package ships with TeX Live, MiKTeX and Overleaf.
How do I type a function in the TikZ module?
As on a calculator: x^2-3*x+1, 2x+1, exp(-x), ln(x), sqrt(x), sin(x) (radians), abs(x), pi.
The tool translates it for TikZ (TikZ trigonometric functions work in degrees).
What each tab produces
- Tables: an editable grid, merged cells, row colours, number alignment; clean
tabularcode with the rules and colours you chose. - Variation and sign tables:
tkz-tabtables (common in French maths teaching) without learning its syntax. - TikZ graphs: function curves, axes, grids and points, from expressions typed as on a calculator.
- Probability trees: branches and probabilities entered in a form, the tree drawn in TikZ.
- Matrices and systems: matrices of any size, determinants, aligned systems of equations.
- Formulas: common symbols and structures (fractions, sums, integrals, limits) with a preview.
- Preamble: the list of
\usepackagelines needed for everything you created.
An end-to-end example
For a calculus exercise: build the variation table of f(x) = x² − 4x + 3 (decreasing to 2, minimum −1, then increasing), plot the curve in the TikZ tab on [−1, 5], then click “Copy a full document”. You get a file that compiles as is with pdfLaTeX, XeLaTeX or LuaLaTeX, or that you open in Overleaf to compile online.
LaTeX good practice
- One preamble: each
\usepackagegoes once, before\begin{document}. Loading a package twice with different options causes an “option clash” error. - Readable tables: few vertical rules, thin horizontal rules at the top, under the header and at the bottom (
booktabsstyle). - Units and numbers: the
siunitxpackage (\qty{9.81}{m/s^2}) handles spacing, decimal marks and units. - Floats: put tables and graphs in
tableorfigurewith a\captionand a\labelso you can cite them with\ref.
If it doesn't compile
- “Undefined control sequence”: a package is missing. Copy the suggested preamble line.
- “Missing $ inserted”: a formula is written outside math mode (a
^or_in text). - Broken accents: with pdfLaTeX keep
\usepackage[utf8]{inputenc}and\usepackage[T1]{fontenc}; with XeLaTeX or LuaLaTeX they are unnecessary.
To turn a TikZ figure into an image for use elsewhere, try TikZ to SVG.
Guide written and checked by Erwan Hautot · updated 30 October 2026.