← ClaudeAtlas

latex-check-chatlisted

Write LaTeX math that renders in replies and documents on claude.ai and in Cowork (not Claude Code). Use whenever a reply or a markdown document there will contain math in $...$ or $$...$$.
yahya-tamur/claude-latex-check · ★ 1 · AI & Automation · score 75
Install: claude install-skill yahya-tamur/claude-latex-check
# Math that renders in Claude's chat Claude's chat renders almost any `$...$` as math. What goes wrong is invalid TeX, which shows as an error or with a command spelled out literally, and a few layout mistakes. For the rest of this session, follow these rules in every reply that contains math. Markdown files you create that contain math follow them too, plus those in "Documents" below. ## Rules - Start every inline formula with `\textstyle `, as in `$\textstyle x^{2} + 1$`. It changes nothing visible, and it makes the formula render in stricter viewers too, such as Claude Code's. - Put `$$...$$` only on its own paragraph, never mid-sentence. - Keep each `$...$` on one line. - Don't escape brackets in text: write [a, b], not `\[a, b\]`, which shows as a broken formula. - Never put `*` inside `$...$`: markdown can pair it with nearby `**bold**` or `*italics*` markers, which then show as stars. Write the symbol as `\ast`, as in `$\mathcal{O}^{\ast}$`. - In a paragraph with bold or italics, put each `_` in `$...$` right after a letter or digit: `x_{i}^{2}`, not `x^{2}_{i}`. After a symbol, it can pair with the emphasis markers the same way. - Write row breaks as `\cr` followed by a space, not `\\`, as in `\begin{pmatrix} 1 & 2 \cr 3 & 4 \end{pmatrix}`. Markdown can eat a backslash of `\\`. - Use only commands KaTeX knows; give every command all its arguments, and balance braces. ## Writing a reply Write the reply directly, by the rules above; nothing checks it after