ClaudeCodeMod

All shelves / Mods / Review

latex

By zaahiral

latex is a Claude Code review mod by zaahiral.

Typesets TeX math, TikZ diagrams, and LaTeX blocks in Claude's replies in the desktop app's Code tab, with MathJax or one of 10 LaTeX fonts.

Draws

Install

The marketplace name is claude-latex.

In your shell
claude plugin marketplace add zaahiral/claude-latex
claude plugin install latex@claude-latex
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.5.0
License
MIT
Repo stars
7
Last change
2026-10-02

What it can reach

  • Draws in the session
  • Calls another program on this machine

Claude Code 2.1.287 or later, in the Code tab of the Claude desktop app: the mod cannot draw in a terminal or the VS Code extension. Then restart the desktop app, or run /reload-plugins in an open session. A TeX install with latex and dvisvgm, such as MacTeX or TeX Live, is optional and needed for diagrams, LaTeX blocks, and the extra fonts; math works without it. On Windows, math works and LaTeX blocks are not supported yet. /latex opens the settings, and your own macros go in ~/.claude/latex-macros.tex.

The marketplace, claude-latex, holds only this mod; the plugin is the repository. Reading math as typeset math is why this page files it under review. figures-natsukium draws diagrams and LaTeX math from replies as pictures in kitty or Ghostty. cc-intelligent-ui draws each answer as a typeset picture made with Typst. This one hooks the drawing of each message: prose goes back to the app's own Markdown renderer, display math becomes an SVG from MathJax 3 inside the mod, inline math is laid out word by word on the text's baseline, and tikz, tikzcd, and latex blocks compile in the background. Every latex and dvisvgm run goes through macOS's sandbox-exec, with shell escape off and the network blocked, and is stopped after 60 seconds.

Demo

LaTeX in a Code tab reply, from the author's screenshots: colored inline math for gradient descent, every math alphabet in one line, two colored boxed equations, and Ramanujan's nested continued fraction.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • prompt.submitWhen you send a prompt
  • turn.completeWhen a turn ends
  • prompt.composeWhile you write a prompt
  • command.runWhen you run its slash command/latex
  • ui.renderDraws into the sessionAssistantMessageUserMessageAbovePromptPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /latexOpen the LaTeX mod settings

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
zaahiral
Category
Review
Marketplace
claude-latex
Repo
zaahiral/claude-latex
Version
0.5.0
License
MIT
Repo stars
7
Last change
2026-10-02
Language
TypeScript
Files
46

Other mods in Review

quick-peekmidudevTurns file paths in Claude's replies into links: hover one for a preview of the file, or its lines, by the pointer, and click to show it in Finder.review-pingarasovicShows a toast when Claude commits 30 or more lines with no review since the last commit, and adds a note to that commit asking the model to review it.vellumbengousHolds a commandHolds a planning mode: Claude writes the plan, you review it in a browser page, a band shows above the prompt, and other writes are refused while it plans.leafmax-sixtyHas the agent build a browser page for a plan, a decision, or live work. You comment and edit, the agent revises it, and a line per page sits above the prompt.diff-reviewnicolas-codemateOpens a review pane for your uncommitted changes, the pull request, or one commit, where you click a line to ask Claude and the answer streams in under it.rippleNealMaps what a code change reaches: a background agent traces the code that uses what you changed, and a pane draws the files, which break, and which to review.testivai-reportTestivAIDraws a pane of a TestivAI visual report's snapshots, changed first, toasts what a run found, and opens the full report with its screenshots in the side panel.owner-repmacollins27Draws a row above the prompt with the result you asked for and what the agent is doing, warns when work is dropped, and checks the agent's claims on a press.editlensmymotomaker-aiShows each change Claude makes to your website in your browser as it happens, with the chat and the code beside the page, and draws a line above the prompt.bilingual-viewagainest1Translates a Chinese prompt into English before it is sent, and draws Claude's English reply in Chinese, with buttons to see the sent text or the original.mermaid-drawgalElmalahDraws each mermaid block Claude writes as colored box art in the reply, where the fence was: flowcharts, state, sequence, class, and ER diagrams, and xy charts.crayonjonpojonpoRedraws every reply in themed color, with gradient headings, boxed tables, and callouts, and teaches Claude tags for badges, colors, and panels. Six themes.
All 145 in Review