latex-formatting
Original:🇺🇸 English
Translated
2 scripts
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.
9installs
Added on
NPX Install
npx skill4agent add lingzhi227/agent-research-skills latex-formattingTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →LaTeX Formatting
Set up and manage LaTeX formatting for academic papers.
Input
- — Action:
$0,setup,fixcheck - — Venue name (for
$1) orsetupfile path (for.tex/fix)check
Scripts
Pre-submission format checker
bash
python ~/.claude/skills/latex-formatting/scripts/latex_checker.py paper/main.tex --venue neurips --check-anonChecks: word count, required sections, TODO markers, anonymization, mismatched environments, content stats.
Validate citations and references
bash
python ~/.claude/skills/citation-management/scripts/validate_citations.py \
--tex paper/main.tex --bib paper/references.bib --check-figuresClean LaTeX text (fix special characters)
bash
python ~/.claude/skills/latex-formatting/scripts/clean_latex.py \
--input paper/main.tex --output paper/main_cleaned.texReplaces special/non-UTF8 characters with LaTeX equivalents, skips math environments.
Key flags: ,
--dry-run--tables-onlyAuto-fix after checking
bash
python ~/.claude/skills/latex-formatting/scripts/latex_checker.py paper/main.tex --venue neurips --fixRuns checks then applies clean_latex.py fixes, writing to .
main_fixed.texReferences
- Venue specs, project structure, packages, commands:
~/.claude/skills/latex-formatting/references/venue-templates.md
Action: setup
setupCreate the project directory structure and main.tex for the specified venue. Use the template from .
references/venue-templates.mdAction: fix
fixFix common LaTeX issues: unescaped special chars, math mode errors, float placement, overfull/underfull boxes, cross-reference issues.
Action: check
checkRun for pre-submission validation. Check page count, anonymization, required sections, TODO markers.
latex_checker.pyRelated Skills
- Upstream: paper-writing-section, table-generation
- Downstream: paper-compilation
- See also: citation-management