# latex-terminal

> A Claude Code mod that renders LaTeX formulas in Claude's answers: as typeset images in Ghostty/kitty or as multi-line Unicode math in any other terminal.

- Role: Solo project
- When: Nov 2026
- Stack: TypeScript, LaTeX, Claude Code
- Links: [GitHub](https://github.com/PabloPC05/latex-terminal)
- URL: https://ppardocotos.com/projects/latex-terminal

On macOS terminals that speak the kitty graphics protocol (such as Ghostty and kitty), display formulas compile with the local LaTeX installation into images with a button to copy the source, and inline formulas render at line height. It follows light or dark mode and caches rendered output.

In every other terminal (VS Code, Terminal.app, iTerm2…) and inside `tmux`, it falls back to multi-line Unicode math — fractions, summations and subscripts — without compiling anything. Installs as a Claude Code plugin.
