FormaTeX

\usepackage{ai-assistant}

Your AI reads LaTeX.

Not just autocomplete. FormaTeX ships a full AI assistant that understands your source, your error logs, and your intent — so it can fix, explain, generate, and discuss your documents.

All plans, no add-onsFull document contextWorks in the editor + API
live

main.tex

1\documentclass{article}
2\usepackage{amsmath}
3
4\begin{document}
5\begin{equation}
6 \int_0^{\infity} e^{-x^2}\,dx
7 = \frac{\sqrt{\pi}}{2}
8\end{equation}
9\end{document}

✗ Undefined control sequence \infity line 6

FormaTeX AI

ready

\begin{ai-modes}

Four modes. One assistant.

Every mode operates on your full document — not just the line you're on. The AI sees your source, your error log, and your compilation history.

Fixrewrites your LaTeX

Paste the error log. The AI reads it alongside your source and rewrites the offending section — not a guess, a targeted fix from the actual compiler output.

- \int_0^{\infity} e^{-x^2}\,dx
+ \int_0^{\infty} e^{-x^2}\,dx
line 6 · \infity → \infty · 1 change
Explainplain English

LaTeX errors are famously cryptic. The AI translates compiler output into plain English with the specific location, root cause, and a fix suggestion.

! Overfull \hbox (8.4pt too wide)
Your text exceeds the column width by ~8pt. Try adding \linebreak before "infrastructure" on line 14.
Generateprompt → LaTeX

Describe what you need in plain language. The AI writes production-ready LaTeX — tables, equations, environments, bibliography entries — in the style of your existing document.

> A 3-col comparison table with booktabs
\begin{tabular}{lll}
\toprule
A & B & C \\ \midrule
...
Chatfull context

Ask anything about your document. The AI has your entire source as context — not just the current paragraph. Ask about structure, packages, citations, or style decisions.

YouWhy is Section 3 missing from my TOC?
AIYou used \section* — the asterisk suppresses both numbering and the TOC entry.

\compare{ai}

Not Overleaf's autocomplete.

Overleaf added AI features — they're useful. But they operate at the token level. FormaTeX AI operates at the document level.

Overleaf AI

  • Inline autocomplete — completes the current command
  • Error messages rephrased — describes what went wrong
  • No full document context
  • No generation from natural language prompts
  • No conversational mode

FormaTeX AI

  • +Fix — rewrites the broken section using the compiler error log
  • +Explain — root cause, plain English, exact location
  • +Full document source available in every interaction
  • +Generate — produce LaTeX from a natural language description
  • +Chat — conversational with persistent document state

AI on every plan. Free to start.

Fix, Explain, Generate, and Chat — included from the free tier. No add-ons, no separate subscription.

One quick thing

We track anonymous usage — page views, feature usage, compilation events — to understand what works and what doesn't. No ads, no personal data, no third-party sharing.

Cookie policy