The LaTeX assistant that verifies its own output against a real build.
Write in plain English at your cursor; it generates the code, adds the packages, and checks that it renders correctly — including that figures land where you put them. Complements LaTeX Workshop (compile + preview + IntelliSense); it does not replace it.
The VeriTex studio panel
Open the VeriTex view in the activity bar for a tabbed studio:
- Ask — describe what you want in plain English; preview, then insert.
- Matrix — choose order + bracket type and fill an editable cell grid.
- Figure — upload an image from your PC; it's copied into your project and a figure is inserted (caption / width / placement), then verified.
- Table — upload an Excel/CSV file; it's converted to a booktabs LaTeX table.
- Equation — import a Word
.docx; its equations are converted to LaTeX to edit and insert.
Everything runs locally / in-memory — your files are never stored on a server.
What it does
- Insert at cursor (placed & verified) —
Ctrl+Alt+K(Cmd+Alt+K), or use the VeriTex side panel. Describe a figure, matrix, table, equation, or TikZ diagram in plain English. It generates the code, adds the packages it needs, compiles locally, and — for figures and tables — inspects the PDF to confirm it landed where you asked. If LaTeX can't place a float cleanly it tells you honestly and offers to scale it, use\resizebox, or span it full width. - Mostly AI-free. Figures, matrices and tables are built deterministically; equations, TikZ and figure/table variants come from a curated, compiling snippet library (retrieval). The AI model is only a last-resort fallback. All generation is free.
- Explain & fix compile error — compiles to read the log, applies safe deterministic fixes first, then proposes targeted edits for what's left, and writes back only what you approve.
- Check references / DOIs — validates your
.biband flags dead or hallucinated DOIs. - Check journal compliance — validate against a target journal/conference submission profile and apply the safe auto-fixes.
Every insertion is verified against a real local build — that's the point: generated LaTeX that actually compiles, with floats that land where you put them.
Requirements
- A local LaTeX toolchain: latexmk, tectonic, or pdflatex on your PATH.
- A free VeriTex account (created in-editor).
Settings
| Setting | Default | Description |
|---|---|---|
veritex.docType |
paper |
Tunes float placement (paper / thesis / report). |
veritex.compiler |
auto |
Force a specific local compiler. |
veritex.maxVerifyLoops |
2 |
Auto-adjust + recompile attempts when a float overflows or drifts. |
veritex.apiBase |
production URL | Backend base URL (for local dev). |
Development
npm install
npm run build # bundle to dist/extension.js (esbuild)
npm run watch # rebuild on change
npm run compile-tsc # type-check only
Press F5 in VS Code to launch an Extension Development Host.