init-latex-project
Original:🇺🇸 English
Translated
1 scripts
Initialize LaTeX Academic Project with standard structure, macros, and writing guide. Use when user wants to create a new LaTeX paper project for any conference or journal.
4installs
Added on
NPX Install
npx skill4agent add a-green-hand-jack/ml-research-skills init-latex-projectTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Initialize LaTeX Academic Project
Set up a complete LaTeX academic paper project from the standard template.
Skill Directory Layout
<installed-skill-dir>/
├── SKILL.md
├── sources.yaml # Authoritative download sources per venue (verified)
├── templates/
│ ├── macros.tex # Full math macro library
│ ├── main.tex # Generic arXiv/whitepaper template
│ ├── CLAUDE.md # Writing rules for AI agents
│ └── venues/
│ ├── icml/main.tex # ICML two-column template
│ ├── acl/main.tex # ACL/*ACL single-column template
│ ├── emnlp/main.tex # EMNLP (same acl.sty as ACL)
│ ├── naacl/main.tex # NAACL (same acl.sty as ACL)
│ ├── iccv/main.tex # ICCV two-column template
│ ├── eccv/main.tex # ECCV single-column (Springer LNCS)
│ ├── neurips/main.tex # NeurIPS single-column template
│ ├── iclr/main.tex # ICLR single-column template
│ ├── cvpr/main.tex # CVPR two-column template
│ └── acm/main.tex # ACM SIGCONF template
└── scripts/
└── init.sh # Builds project + downloads official style filesHow venue_preamble.tex works
Every venue template uses instead of a hardcoded
. downloads the official / files
from the venue's authoritative source (see ), detects the actual
filename, and writes automatically.
\input{venue_preamble}\usepackage{neurips_<year>}init.sh.sty.bstsources.yamlvenue_preamble.texproject/
├── main.tex ← \input{venue_preamble} (stable, never changes)
├── venue_preamble.tex ← generated by init.sh (edit here to change mode)
├── neurips_<year>.sty ← downloaded from neurips.cc
└── ...To switch submission mode (e.g., anonymous → camera-ready), only edit
— never needs to change.
venue_preamble.texmain.texSteps to Follow
1. Parse $ARGUMENTS
$ARGUMENTS| Position/Flag | Meaning | Required |
|---|---|---|
| First word | Project name | Yes |
| Second word | Target directory (default: current dir) | No |
| Conference venue | No |
| Initialize git repo | No |
| Skip style-file download (creates placeholder venue_preamble.tex) | No |
Supported venues (by deadline month):
| Venue | Month | Style | Source |
|---|---|---|---|
| Jan | two-column | icml.cc |
| Feb | single-column | github.com/acl-org/acl-style-files |
| Mar (biennial, odd) | two-column | CVF / iccv.thecvf.com |
| Mar (biennial, even) | single-column (LNCS) | github.com/paolo-favaro/paper-template |
| May | single-column | neurips.cc |
| May | single-column | github.com/acl-org/acl-style-files |
| Sep | single-column | github.com/ICLR/Master-Template |
| Nov | two-column | github.com/cvpr-org/author-kit |
| Dec | single-column | github.com/acl-org/acl-style-files |
| varies | single-column | CTAN (pre-installed) |
2. Run the init script
bash
bash <init-latex-project-skill-dir>/scripts/init.sh <project-name> [target-dir] [--venue <venue>] [--git]Important: Resolve as the installed directory for this skill and use the absolute path to . Do not assume a Claude-specific install path.
<init-latex-project-skill-dir>init.sh3. Offer to immediately customize
After the script runs, ask the user if they want to:
- Update with their actual title
sections/title.tex - Fill in authors and affiliations in
main.tex - Any other immediate adjustments
4. Print the script's output to the user
The script prints a file tree and venue-specific setup notes. Make sure the user sees these.
Venue Details
All sources are verified in . downloads style files automatically.
Edit to switch submission mode.
sources.yamlinit.shvenue_preamble.texICML — Jan deadline
- Layout: Two-column
- Doc class: +
article(year-specific)\usepackage{icml{YEAR}} - Bibliography:
icml{YEAR}.bst - MANDATORY: (Broader Impact, no page limit)
sections/impact.tex - Note: Uses ICML-specific author macros (,
\icmltitle, etc.)\icmlauthor
ACL / EMNLP / NAACL — *ACL family
- Layout: Single-column
- Doc class: +
\documentclass[11pt]{article}(stable name)\usepackage[review]{acl} - Bibliography:
acl_natbib.bst - Citations: in-text;
\citet{}/\cite{}parenthetical\citep{} - MANDATORY: (no page limit)
sections/limitations.tex - Required if applicable:
sections/ethics.tex
ICCV — Mar deadline (biennial, odd years: 2025, 2027, …)
- Layout: Two-column (same CVF format as CVPR)
- Doc class: +
\documentclass[times,10pt,twocolumn,letterpaper]{article}\usepackage[review]{iccv} - Bibliography:
ieeenat_fullname.bst - Note: Use /
figure*for full-width floatstable*
ECCV — Mar deadline (biennial, even years: 2024, 2026, …)
- Layout: Single-column (Springer LNCS)
- Doc class: — NOT article
\documentclass[runningheads]{llncs} - Style: +
eccv.styeccvabbrv.sty - Bibliography:
splncs04.bst - Page limit: 14 pages including figures; references uncapped
- Author format: LNCS macros
\author{}\inst{}\institute{}
NeurIPS — May deadline
- Layout: Single-column
- Doc class: +
article(year-specific)\usepackage{neurips_{YEAR}} - Bibliography: (numeric, sorted by appearance)
unsrtnat - Acknowledgments: Use environment (auto-hides in anonymous mode)
{ack} - MANDATORY: (Broader Impact, no page limit)
sections/impact.tex - MANDATORY: (Author Checklist, no page limit)
sections/checklist.tex
ICLR — Sep deadline
- Layout: Single-column
- Doc class: +
article(year-specific)\usepackage[submitted]{iclr{YEAR}_conference} - Bibliography:
iclr{YEAR}_conference.bst - Extra: (optional Ethics Statement)
sections/impact.tex
CVPR — Nov deadline
- Layout: Two-column
- Doc class: +
\documentclass[times,10pt,twocolumn,letterpaper]{article}(stable name)\usepackage[review]{cvpr} - Bibliography:
ieeenat_fullname.bst - Note: Use /
figure*for full-width floatstable*
ACM — varies
- Layout: Single-column (sigconf)
- Doc class: (pre-installed via CTAN)
\documentclass[sigconf,review,anonymous]{acmart} - Bibliography:
ACM-Reference-Format.bst - Camera-ready extras: ,
\acmConference,\acmDOI, CCS concepts\setcopyright
What Is Always Included (Every Venue)
macros.tex- Calligraphic …
\calA, bold\calZ…\bA/\bZ…\ba\bz - Blackboard bold
\R\E\P\B - Greek shortcuts
\sG\lG\tG\pa\half - Operators
\argmin\argmax\Softmax\Sigmoid\Var - Sum shortcuts
\sumN\sumK\sumM\sumT - Theorem environments (grey tcolorbox):
theoremlemmadefinitionremarkassumption - Author comment macros
\jerry{}\wwm{}etc.\jieke{}
Standard section files (all placeholder):
, , , , , , , ,
title.texabstract.texintro.texrelated.texmethod.texexp.texconclusion.texappendix.texacknowledgement.texbib/refs.bibExample Invocations
/init-latex-project my-new-paper # generic arXiv
/init-latex-project my-icml-paper ~/Papers --venue icml --git
/init-latex-project my-acl-paper ~/Papers --venue acl --git
/init-latex-project my-iccv-paper . --venue iccv
/init-latex-project my-eccv-paper . --venue eccv
/init-latex-project my-neurips-paper . --venue neurips --git
/init-latex-project my-emnlp-paper . --venue emnlp
/init-latex-project my-iclr-paper ~/Papers --venue iclr --git
/init-latex-project my-cvpr-paper . --venue cvpr
/init-latex-project my-naacl-paper . --venue naacl
/init-latex-project my-acm-paper . --venue acm
/init-latex-project my-paper-offline . --venue neurips --offline # skip downloadIf the Auto-Download Fails
If cannot reach the venue server, is created as a
placeholder. Fix it:
init.shvenue_preamble.tex- Visit the venue's author instructions page (URL is in ).
sources.yaml - Download the style zip manually and unpack /
.styfiles into the project root..bst - Edit to add the correct
venue_preamble.texline.\usepackage{...}
As a last resort, use WebSearch to find the current year's download URL and fetch it:
bash
# Example for NeurIPS <year>:
curl -fsSL https://media.nips.cc/Conferences/<year>/Styles/neurips_<year>.zip -o /tmp/n.zip
unzip -j /tmp/n.zip "*.sty" -d /path/to/project/Package Conflict Notes
The library is loaded last in all venue templates (after venue packages), so our definitions take precedence. Known conflicts:
macros.tex| Venue | Potential Conflict | Resolution |
|---|---|---|
| ACM | | Our |
| ACM | | |
| CVPR | Two-column layout | |
| ICML | Uses its own | Load macros.tex after |
| NeurIPS | | Always use |
| NeurIPS | | |
| ALL | | PERMANENTLY DISABLED. These four lines redefined LaTeX's built-in math-mode delimiters ( |
| ALL | | PERMANENTLY DISABLED. Loading both |