LaTeX Coder
Tired of installing LaTeX packages on your laptop and fighting compile errors? LaTeX Coder sets it all up in one click:
- latex-coder-devcontainer - The most lightweight Docker container with TeX Live preinstalled to compile your LaTeX inside a clean container, Nothing else to install on your laptop!
- latex_grammar_checker - Offline LaTeX and English grammar checked as you type.
- MCP tools (for AI agents) - Claude Code, Codex, GitHub Copilot, Cursor and Antigravity compile, check: e.g. find "Table 1" and install missing packages to the container, from the editor or a terminal.

Features
- Code Editor / Visual Editor, like Overleaf's: math rendered, tables you edit cell by cell, citations and your own macros shown as text, no
\ and {}.
- Math symbols: the toolbar's Ω opens over 200 symbols and templates, searchable; a click inserts one at the cursor. Ask AI's Insert a math equation shows them too.
- LaTeX and English checked as you type, offline: unclosed
{ and environments, broken formulas, _ outside math ("Missing $ inserted"), table rows with a cell too many, grammar and spelling. LaTeX mistakes highlighted in red, English underlined in orange, with one-click fixes.
- Ask AI on any text in the code or the PDF, and Fix with AI on any error: an exact prompt for your AI chat, copied.
- Conference templates: NeurIPS, ICLR, ICML, CVPR, ICCV, ECCV, AAAI and IEEE, plus a CV and proposals.
- A clean folder:
.aux, .log, .bbl and the PDF stay out of your paper's folder. ⇩ PDF saves a copy where you want.
Privacy & security
- Your papers stay on your machine: they compile in the LaTeX container and are checked on your computer. There is no telemetry, account or sign-in.
- LaTeX Coder goes online only to download the LaTeX container (ghcr.io), to download the grammar engine once (7 MB, from its GitHub release), to fetch templates from the conferences' own sites, and to install the packages you or your agent ask for (from CTAN).
- The grammar engine runs on your computer, and is used only if its SHA-256 hash matches the one built into the extension.
- A paper can't run commands: the container that compiles it has no network access, and sees only your project folder and your papers' build files. Shell escape and latexmkrc files stay off unless you turn them on.
- Build files, and the list of open LaTeX files that agents read, are kept in your user cache and deleted when the window closes. Add to dictionary writes to
.vscode/settings.json. Agents get a latex-coder entry in their settings; Connect AI Agents (MCP) removes each one, and uninstalling removes the cache and the Antigravity plugin.
Please report problems in the Q&A tab of this page, or contact the developer: linkedin.com/in/hasitha-gallella.
Quick start
- Install the extension from VS Code, and for Cursor and Antigravity from Open VSX
- Run Docker: Docker Desktop or OrbStack or Colima or Rancher Desktop must be there installed in your laptop to use a Docker Container. Have TeX Live or MacTeX already? Then Docker isn't needed.
- Open a
.tex file, or run New Project from Template.
- Click Setup Now once (about 140 MB).
| Shortcut or command |
What it does |
Cmd+S / Ctrl+S |
Save and compile |
| Double-click the PDF |
Select that word in the code |
| → PDF |
Mark the words at the cursor in the PDF |
| Connect AI Agents (MCP) |
Connect Claude Code, Codex, Copilot, Cursor or Antigravity |
Ask your agent "Check my paper, fix the errors and compile it". It will use MCP tools: compile_latex, get_latex_errors, check_latex, locate_latex_elements, find_latex_package, install_latex_packages and latex_status.
References
- English grammar: the grammar engine, latex_grammar_checker 1.0.0, is Harper 3.0.0 by Automattic, unchanged, under the Apache License 2.0. LaTeX Coder's own LaTeX checker reads the prose out of your LaTeX for it.
- Math: KaTeX, MIT. PDF: pdf.js, Apache License 2.0. Editor: CodeMirror, MIT.
- Compiling: TeX Live, latexmk and SyncTeX, in a container built from its repository (MIT).
© Hasitha Gallella. Licensed under CC BY-NC-ND 4.0, provided as is, without warranty; the license text is in LICENSE in the extension package. Bundled open source keeps its own licenses, listed in THIRD_PARTY_NOTICES.md.
| |