lingzhi227/latex-formatting
Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission.
npx skills add https://github.com/lingzhi227/agent-research-skills --skill latex-formatting
Set up and manage LaTeX formatting for academic papers.
$0 — Action: setup, fix, check$1 — Venue name (for setup) or .tex file path (for fix/check)python ~/.claude/skills/latex-formatting/scripts/latex_checker.py paper/main.tex --venue neurips --check-anon
Checks: word count, required sections, TODO markers, anonymization, mismatched environments, content stats.
python ~/.claude/skills/citation-management/scripts/validate_citations.py \
--tex paper/main.tex --bib paper/references.bib --check-figures
python ~/.claude/skills/latex-formatting/scripts/clean_latex.py \
--input paper/main.tex --output paper/main_cleaned.tex
Replaces special/non-UTF8 characters with LaTeX equivalents, skips math environments.
Key flags: --dry-run, --tables-only
python ~/.claude/skills/latex-formatting/scripts/latex_checker.py paper/main.tex --venue neurips --fix
Runs checks then applies clean_latex.py fixes, writing to main_fixed.tex.
~/.claude/skills/latex-formatting/references/venue-templates.mdsetupCreate the project directory structure and main.tex for the specified venue. Use the template from references/venue-templates.md.
fixFix common LaTeX issues: unescaped special chars, math mode errors, float placement, overfull/underfull boxes, cross-reference issues.
checkRun latex_checker.py for pre-submission validation. Check page count, anonymization, required sections, TODO markers.
Take lingzhi227/latex-formatting from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.