A lightweight VS Code preview for LaTeX prose and formulas. It renders the active .tex file in a side preview without requiring a TeX installation, using KaTeX for math and simple HTML approximations for common document structures.
Features
Open a live preview from the editor title button or the Open LaTeX Preview command.
Render inline math, display math, and common math environments with KaTeX.
Show readable previews for headings, paragraphs, figures, tables, and algorithm blocks.
Use image placeholders that preserve declared width / height information.
Double-click preview content to jump back to the corresponding source line, with word-level targeting for text where possible.
Zoom preview content with Ctrl + mouse wheel.
Keep rendering local to the current file; malformed formulas show local KaTeX errors instead of breaking the whole preview.
Requirements
No TeX distribution is required. The extension uses bundled JavaScript dependencies.
Settings
latexVisualizer.previewFontSize: base preview font size in pixels.