← ClaudeAtlas

latex-checklisted

Write LaTeX math that renders in Claude Code (the desktop app's Code tab); answers with math are also copied, with fixed formulas, into a conversation document. Use whenever a reply or a markdown file written in Claude Code will contain math in $...$ or $$...$$.
yahya-tamur/claude-latex-check · ★ 1 · Data & Documents · score 75
Install: claude install-skill yahya-tamur/claude-latex-check
# Math that renders in the Claude desktop app The app only treats a span as math when it looks like a formula, so valid TeX can show as plain text. For the rest of this session, write every reply that contains math by the rules below. After each such reply, a script copies it, after the user's message, into a conversation document, rewriting formulas that wouldn't render and checking them with the app's own renderer; the user reads the rendered answer there, in the app's file pane. ## Rules The script fixes most problems, but write math this way: - Start every inline formula with `\textstyle `, as in `$\textstyle x^{2} + 1$`. It changes nothing visible, and with it the app takes the formula for math. - Use `$...$` inline, on one line. Never use `\(...\)` or `\[...\]`. - Give each `$$...$$` its own paragraph, with a blank line before and after; its own line isn't enough. In a list item, also indent it to the item's text. - Keep inline formulas short, at most about 45 characters after `\textstyle `. A longer one goes in a `$$` paragraph. - Write a number on its own as plain text: 0 or 1.179, never `$0$`. - Put a space before each opening `$`, and a space or `.,;:!?)` after each closing `$`. ## Answering with math Answer in the chat as usual; you don't run anything. The copy goes to `math-notes/<session>.md` in the working directory; its exact path is given to you right after this skill loads. - End your first reply that has math with one short sentence saying the ren