math-tex

Standardize standalone math.tex documents with YAML frontmatter and LaTeX statements.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/JoernStoehler/msc-math --skill math-tex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: math-tex
Source: https://github.com/JoernStoehler/msc-math/tree/main/.claude/skills/math-tex
Command: npx skills add https://github.com/JoernStoehler/msc-math --skill math-tex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

math.tex files are standardized LaTeX documents that sit alongside code modules and experiments, providing a single source of lemmas, theorems, definitions, and proofs that can be compiled independently and referenced across the project.

Core Features & Use Cases

  • Standardized layouts for lemmas, theorems, definitions, and proofs with consistent labeling.
  • Easy cross-referencing between code comments and math.tex content to ensure verifiability.
  • Reusable as a standalone document for code reviews, verification, and experiments, found in crates/symplectic/src/<module>/math.tex and experiments/<name>/math.tex.

Quick Start

Place a properly formatted math.tex in the module or experiment directory and ensure it compiles standalone.

Frequently Asked Questions about math-tex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure standalone LaTeX documents for mathematical proofs and definitions alongside code?

Standardized standalone LaTeX documents require a YAML frontmatter with name and description, followed by self-contained content specifying lemmas, theorems, definitions, and proofs that compile independently. This ensures verifiable math.tex files sit alongside code modules.

What is the purpose of keeping a math.tex file in a code module directory?

A math.tex file serves as a single source of mathematical lemmas and theorems for code reviews and experiments. It provides standardized layouts for proofs and definitions, enabling easy cross-referencing between code comments and independently compiled LaTeX content.

How do I format YAML frontmatter for standalone LaTeX math documents?

Formatting YAML frontmatter for standalone LaTeX math documents requires including name and description fields at the top of the file. This fixed structure standardizes the math.tex documents so they can be compiled independently and referenced across the project.

Can I compile a math.tex document independently without external project dependencies?

Yes, standardized math.tex documents are designed to be self-contained and compile independently. By specifying standalone LaTeX content with fixed frontmatter, you can compile lemmas, definitions, and proofs without relying on external project dependencies.

What is the best way to cross-reference mathematical lemmas between code comments and LaTeX files?

The best way to cross-reference lemmas is using standardized labeling within standalone math.tex documents. Consistent layouts for theorems and proofs allow direct referencing from code comments, ensuring verifiability and maintaining a single source of truth for experiments.

Does standardizing math.tex files limit how I write custom LaTeX proofs and definitions?

Standardizing math.tex files requires a fixed frontmatter structure and self-contained content for lemmas, definitions, and proofs. While the layout is standardized for consistency and independent compilation, the mathematical content and LaTeX formatting within the document remain customizable.