home / skills / a5c-ai / babysitter / latex-proof-formatter
This skill formats proofs and algorithms in publication-quality LaTeX, applying inference rules, algorithms, cross-references, and style compliance.
npx playbooks add skill a5c-ai/babysitter --skill latex-proof-formatterReview the files below or copy the command above to add this skill to your agents.
---
name: latex-proof-formatter
description: Format proofs and algorithms in publication-quality LaTeX
allowed-tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep
metadata:
specialization: computer-science
domain: science
category: research-documentation
phase: 6
---
# LaTeX Proof Formatter
## Purpose
Provides expert guidance on formatting theoretical CS proofs and algorithms in publication-quality LaTeX.
## Capabilities
- Algorithm pseudocode formatting (algorithmicx)
- Inference rule typesetting
- Proof environment formatting
- Theorem numbering and cross-references
- BibTeX integration
- Conference style compliance
## Usage Guidelines
1. **Structure**: Organize proof structure clearly
2. **Algorithms**: Format algorithms with algorithmicx
3. **Rules**: Typeset inference rules with mathpartir
4. **References**: Manage cross-references properly
5. **Style**: Conform to conference/journal style
## Tools/Libraries
- LaTeX
- algorithmicx
- mathpartir
- amsthm
- Overleaf
This skill formats proofs and algorithms into publication-quality LaTeX tailored for theoretical computer science and related fields. I provide ready-to-use LaTeX snippets, environment recommendations, and style guidance to make proofs, inference rules, and pseudocode look professional and conference-ready. The output balances correctness, readability, and compliance with common conference templates.
I analyze the input proof or algorithm structure and map components to appropriate LaTeX packages and environments (amsthm, algorithmicx, mathpartir, etc.). I produce formatted LaTeX code for theorems, lemmas, proofs, inference rules, and algorithms, plus suggestions for numbering, cross-references, and BibTeX integration. I can adapt the formatting to common conference styles and point out package conflicts or compilation pitfalls.
Which LaTeX packages do you recommend?
Use amsthm for theorems, algorithmicx for pseudocode, mathpartir for inference rules, amsmath for math environments, and BibLaTeX/BibTeX for citations.
Can you adapt to a conference template?
Yes — I provide adjustments and warnings about package conflicts and show how to embed formatted proofs within common conference classes.