LaTeX Inline
Typesets the LaTeX math in Claude's replies right in the terminal.
Illustration. Actual results depend on the mod, terminal and environment.
Install
/plugin marketplace add dazebug/latex-inline
/plugin install latex-inline@latex-inline
/reload-pluginsRun these commands one at a time in a Claude Code session.
claude plugin marketplace add dazebug/latex-inline
claude plugin install latex-inline@latex-inlineThen run /reload-plugins in your session, or start a new session.
Please install the Claude Code mod "LaTeX Inline" (https://github.com/dazebug/latex-inline). Before installing, read the Security and Requirements sections of its README and tell me what it reads and writes, which commands it runs, whether it uses the network, and which Claude Code version, OS and terminal it needs. If everything looks fine, run claude plugin marketplace add dazebug/latex-inline and claude plugin install latex-inline@latex-inline, then remind me to run /reload-plugins in my session.Send this to Claude Code so it reads the author’s instructions before installing.
git clone https://github.com/dazebug/latex-inline
cd latex-inline
claude --plugin-dir .Clone the repository and try it in a local session with --plugin-dir.
What it accesses
Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.
Reads
YesReads terminal config, font headers, env vars, mouse selection, and the clipboard briefly.
Writes files
YesWrites image cache to ~/.cache/latex-inline; rewrites copies on the clipboard as LaTeX.
Runs commands
YesRuns node render and font scripts; runs pbpaste or wl-paste/xclip/xsel after a copy.
Network
NoneIntroduction
LaTeX Inline is a Claude Code mod that typesets $…$ and $$…$$ math in Claude's replies. In Ghostty, cmux and kitty (outside tmux) MathJax with Fira Math renders formulas as pictures at text size; elsewhere they become Unicode text such as e^(iπ) + 1 = 0.
It supports \(…\), \[…\] and AMS environments; math in tables, headings and quotes becomes Unicode, code is left alone. In fullscreen mode a mouse copy puts formulas back as LaTeX on the clipboard (it briefly reads the clipboard; copy_latex=false disables it). On 2.1.296+ fullscreen, \texttip/\mathtip show hover cards. Where it draws pictures it adds a short system-prompt section, and it works beside Mermaid Inline.
Requires Claude Code 2.1.287+ in a terminal, macOS or Linux; pictures also need Node.js 18+ with npm. No effect in Desktop, VS Code or claude -p. Per the author it makes no network requests and caches PNGs in ~/.cache/latex-inline. Scores are docs-calibrated, not run-tested; preview is illustrative.
Who it is for
- People discussing math, algorithms or ML formulas in Claude Code
Requirements
- Claude Code ≥ 2.1.287
- Platforms · macOS / Linux
- Pictures need Ghostty, cmux or kitty (not in tmux) plus Node.js 18+ with npm.
- Tooltips need 2.1.296+ fullscreen; no effect in Desktop, VS Code or claude -p.