Latex Math Writing logo

Latex Math Writing

Community
amelieloher
latex-math-writing

Draft, edit, refactor, and publication-polish research-level mathematical LaTeX with economical statements, complete proofs, stable notation, source fidelity, readable displays, and rendered-page verification. Use for notes, papers, slides, theorem and proof writing, display repair, or turning a mathematically checked manuscript into a clear publication-ready paper without changing its claims.

Overview

Publisheramelieloher
Repositorymath-paper-skills
Skill namelatex-math-writing
Stars
48
Forks
5
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by amelieloher on GitHub. Read the source before you install it.

Installation

Install the Latex Math Writing AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/amelieloher/math-paper-skills/tree/main/skills/latex-math-writing
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/amelieloher/math-paper-skills.git /tmp/math-paper-skills
mkdir -p .claude/skills
cp -r /tmp/math-paper-skills/skills/latex-math-writing .claude/skills/latex-math-writing
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Latex Math Writing in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Latex Math Writing on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Latex Math Writing is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

LaTeX Mathematics Writing

Write for a mathematically sophisticated reader who knows the field but not the project's development history. Produce finished mathematical prose, not a transcription of notes, formal proof code, review reports, or project-management language.

Route the task

Read references/writing-rules.md first: it fixes the priority order, the mathematical safety rules, and the source conventions. Then load only what the task needs:

  • references/artisan-writing.md for statements, proofs, prose, notation, introductions, displays, adaptation from other sources, and rendered verification;
  • references/house-style.md for the default explanatory and visual target of a polished paper, including a starting preamble; use it for whole-paper writing and polishing unless the author or venue prescribes another style.

For work on a whole paper, also use the math-paper-campaign skill: building a paper from notes or an outline, or taking a checked manuscript through the phased polish (reduce, cite, linearise, rewrite, introduction, final audit). That skill controls packets, ledgers, review, and integration; this skill controls the reader-facing mathematics, prose, and TeX.

Establish authority before editing

  1. Read the canonical TeX entry point, macro file, bibliography, surrounding section, and any style example the author designates.
  2. Identify the exact mathematical source and its status. For a rewrite of a checked manuscript, bind the work to the named revision and the scope of that check.
  3. Inventory local notation, theorem environments, labels, citations, references, display style, and visible uncertainty markers.
  4. Apply the priority order in the writing rules. When no other style authority is named, the house style is the target for whole-paper polishing: move draft prose and layout towards it while preserving mathematical contracts, meaningful notation, and venue requirements.

Do not normalise untouched text merely to enforce a house rule. Preserve established macros and symbols. Resolve a genuine notation conflict before writing; never change an object's meaning to simplify notation.

For a whole-paper rewrite or style study, read the entire current manuscript, including proofs and consequences, before inferring its strategy. Bind that reading to a revision; the author's updates supersede earlier editorial diagnoses. For a narrow edit, read the relevant dependency context without restarting a full publication campaign. Check repository state before editing shared files and synchronise without overwriting others' changes; commit or push only when authorised.

Preserve the mathematical contract

  • Never silently strengthen, weaken, specialise, or generalise a claim.
  • Keep hypotheses, conclusions, quantifier order, spaces, boundary conditions, normalisations, signs, exponents, exceptional sets, constant dependencies, and uniformities fixed unless a mathematical review accepts the change.
  • Preserve labels, citations, draft markers, and explicit uncertainty unless their removal is authorised and mathematically justified.
  • A mismatch with a formalisation (for example in Lean) is evidence, not permission to edit the paper's contract. Pause the affected work and reopen its review.
  • Replace a proof step by a citation only after checking the source's exact result, location, hypotheses, conclusion, normalisation, and transport to the present setting.
  • Do not hide a load-bearing step behind "standard," "clear," "straightforward," or "similarly." Prove it or cite it precisely.

Write the mathematics artisanally

  • Put only the mathematical contract in a theorem-like environment. Keep purpose, intuition, provenance, and strategy in the surrounding prose.
  • Give each paragraph or named proof step one coherent mathematical burden: a reduction, construction, theorem application, decisive calculation, or subgoal-closing consequence.
  • Explain the obstruction before its correction, and the mathematical consequence after a decisive display. In a long construction, make the remaining error and the preserved properties explicit.
  • For abstracts, outlines, and section openings, follow Ideas before technicalities: explain the mechanism before the parameter list, distinguish improvement from preservation, and check that every deferred condition remains explicit somewhere.
  • Calibrate section and subsection openings: sections give the intuitive strategy; subsections interlace that intuition with the precise objects, formulas, and comparisons used next.
  • Follow Short titles and paragraph headings: short, concrete titles and selective bold \paragraph{Title.} headings for distinct explanatory parts, kept separate from the italic proof-step convention.
  • Begin a proof paragraph with the mathematical action it performs. Put a brief route map before a long proof.
  • Introduce an object immediately before its first sustained use, explaining its kind and job. Keep objects recognisable through the argument across differentiation, normalisation, coordinate changes, and decompositions. Name a repeated expression only when the name lowers reader effort or reveals structure.
  • Cite accepted inputs at the point of use and say why their hypotheses apply.
  • For deferred proofs and technical modules, give the usable statement, its role, and its exact proof location in matching notation.
  • Give every major result distinct motivation before it and a useful plain interpretation afterwards. Do not paraphrase its display merely to repeat it.
  • Distinguish the final objective from preparatory errors, and improvement from preservation or controlled growth. Account for the cost of failed steps rather than calling them free progress.
  • When reorganising a proposition, group the conclusions by use while keeping necessary labelled intermediate estimates in the proof. Check every old conclusion and downstream use.
  • Use simple verbs and exact mathematical nouns. Remove development nicknames, praise, slogans, and ornate transitions. Never use a word on the banned word list.
  • Stop when the assertion is proved.

Whole-paper rewrites

A complete rewrite or polish of a paper is a campaign: follow the math-paper-campaign skill (Route B for a checked manuscript). Keep one canonical manuscript and one canonical editor; reviewers inspect exact read-only packets and return evidence, findings, and the smallest repair.

Typeset and verify

  • Follow the selected style authority and compatible local conventions. Keep a display on one line when it fits; break at mathematical structure, not inside a coupled product or integrand.
  • For a new standalone paper with no prescribed style, start from the house style preamble and compare representative rendered pages with its profile.
  • Reuse existing macros, labels, theorem styles, and reference commands. Follow the manuscript's fraction and terminology conventions without blind search-and-replace.
  • Compile the smallest relevant target after substantive edits.
  • Check errors, references, citations, warnings, and overfull material introduced by the change.
  • Convert the affected PDF pages to images and look at them at readable resolution, including neighbouring prose and page breaks.
  • Reread the changed passage linearly as mathematics and apply the comprehension test. Compilation alone is not publication verification.

Report any unresolved mathematical status, skipped verification, meaningful warning, or required author decision plainly.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Latex Math Writing AI skill do?

Draft, edit, refactor, and publication-polish research-level mathematical LaTeX with economical statements, complete proofs, stable notation, source fidelity, readable displays, and rendered-page verification. Use for notes, papers, slides, theorem and proof writing, display repair, or turning a mathematically checked manuscript into a clear publication-ready paper without changing its claims.

Why use Latex Math Writing on TypingMind?

Because you install it once and use it with any model. Latex Math Writing is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Latex Math Writing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/amelieloher/math-paper-skills/tree/main/skills/latex-math-writing. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Latex Math Writing?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Latex Math Writing?

As many as you like. As long as a model supports skills, you can use Latex Math Writing with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Latex Math Writing AI skill free?

It is published on GitHub by amelieloher. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇