Home
cd ../playbooks
Academic ResearchBeginner

LaTeX Conference Template Organizer

Turn a messy official conference LaTeX .zip into a clean, Overleaf-ready structure — main file cleanup that preserves the required document class and packages, section files split into text/, an anonymous-submission configuration example with a camera-ready restoration checklist, and an auto-generated README with page limits and compilation requirements pulled from the conference site.

5 minutes
By Galaxy-Dawn (claude-scholar)Source
#latex#academic-writing#overleaf#conference-submission#academic-research

Official conference LaTeX templates ship as a tangle of example content, verbose instructional comments, and inconsistent file layout — and the actual submission requirements (page limits, anonymity mode, required compiler) are usually only findable by reading through all of it, which is exactly the kind of one-time extraction work an agent should do before you start writing.

Who it's for: researchers and graduate students preparing a paper for a specific conference's LaTeX template, academic authors who've downloaded a messy official .zip and need it Overleaf-ready, anyone setting up an anonymous-review submission who needs a clear before/after checklist for camera-ready restoration, teams standardizing a section-per-file LaTeX structure across a multi-author paper

Example

"Clean up this conference template zip for our submission" → The zip extracted and diagnosed for disorganization, example content, and missing dependencies, a cleanup plan presented for approval before anything is touched, then execution: a clean main.tex preserving the required document class, sections split into text/01-introduction.tex through text/05-conclusion.tex, and a README auto-filled with page limits and anonymity requirements fetched from the conference's actual submission page

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

# LaTeX Conference Template Organizer

Organize a messy conference LaTeX template `.zip` into clean, Overleaf-ready structure. Official conference templates usually ship with excessive example content, instructional comments, and disorganized files — this turns them into a template ready for writing, without losing any of the original document-class configuration or required packages.

## Working Mode: Analyze-Then-Confirm

Analyze issues and present a cleanup plan first, then execute only after the user confirms. Never restructure a template silently.

## Step 1: Extract and Analyze

```bash
unzip -q template.zip -d /tmp/latex-template-temp
cd /tmp/latex-template-temp
find . -type f -name "*.tex" -o -name "*.sty" -o -name "*.cls" -o -name "*.bib"
```

Identify file types (`.tex` sources, `.sty`/`.cls` style files, `.bib` bibliography, image files) and the main file — try common names (`main.tex`, `paper.tex`, `sample-sigconf.tex`), search for the file containing `\documentclass`, and ask the user to confirm if multiple candidates exist:

```bash
grep -l "\\documentclass" *.tex
```

## Step 2: Diagnose Issues

Present discovered issues to the user before touching anything:

- **Disorganized structure** — multi-level nesting, `.tex` files scattered across directories, unclear which file is the main one.
- **Redundant content** — filenames or comments containing `sample`, `example`, `demo`, `test`, `delete this`.
- **Dependency issues** — missing referenced `.sty`/`.cls` files, incorrect image/table reference paths.

## Step 3: Ask for Conference Information

```markdown
Please provide the following information (optional):
1. Conference submission link (recommended) — used to extract official submission requirements
2. Conference name — if no link is available
3. Other special requirements — page limits, anonymity requirements, etc.
```

## Step 4: Present the Cleanup Plan and Wait for Confirmation

```markdown
## Cleanup Plan

### Issues Found
- [List diagnosed issues]

### Cleanup Approach
1. Main file: main.tex (clean example content)
2. Section separation: text/ directory
3. Resource directories: figures/, tables/, styles/

### Output Structure
[Show output directory structure]

Confirm execution? [Y/n]
```

## Step 5: Execute Cleanup

Create the output structure:

```bash
mkdir -p output/{text,figures,tables,styles}
```

### Clean Up the Main File

**Keep:** the `\documentclass` declaration, required package imports, and core configuration (e.g. anonymous-mode settings). **Remove:** example section content, verbose instructional comments, and example author/title placeholders. **Add:** `\input{text/XX-section}` imports for each section.

Example structure (ACM template format):

```latex
\documentclass[...]{...}  % Keep original template document class

% Required packages (keep original template package declarations)

%% Preamble: Before \begin{document}
\title{Your Paper Title}
\author{Author Name}
\affiliation{...}

\begin{abstract}
% TODO: Write abstract content
\end{abstract}

\begin{CCSXML}
<ccs2012>...</ccs2012>
\end{CCSXML}
\ccsdesc[500]{Applied computing~...}
\keywords{keyword1, keyword2, keyword3}

\begin{document}
\maketitle

\input{text/01-introduction}
\input{text/02-related-work}
\input{text/03-method}
\input{text/04-experiments}
\input{text/05-conclusion}

\bibliographystyle{...}
\bibliography{references}
\end{document}
```

**Anonymous-submission configuration** (example for an ACM `acmart`-based venue): add `anonymous,review,nonacm` to the document class options to strip identifying footnotes, then clear the conference/year/ISBN/DOI metadata — and record what needs restoring for the camera-ready version:

```latex
%% Submission version:
\documentclass[sigconf,anonymous,review,nonacm]{acmart}
\settopmatter{printacmref=false}
\setcopyright{none}
\acmConference[]{}{}{}
\acmYear{}
\acmISBN{}
\acmDOI{}

%% Camera-ready version — restore:
%% \documentclass[sigconf]{acmart}
%% \acmConference[VENUE '26]{Full Proceedings Name}{Dates}{Location}
%% \acmISBN{...} \acmDOI{...}
```

### Create Section Files

Each file in `text/` contains only its section content — starting with `\section{...}`, never `\begin{document}` or other document-level wrappers:

```latex
% text/01-introduction.tex
\section{Introduction}
% TODO: Write introduction content
```

The abstract stays in `main.tex`'s preamble (before `\begin{document}`), not in a separate section file.

### Copy Style, Image, and Table Files

```bash
# Style/class files — keep the original template's own directory structure under styles/
find /tmp/latex-template-temp -type f \( -name "*.sty" -o -name "*.cls" \) -exec cp {} output/styles/ \;

# Images
find /tmp/latex-template-temp -type f \( -name "*.png" -o -name "*.jpg" -o -name "*.jpeg" -o -name "*.pdf" \) -exec cp {} output/figures/ \;

# Table files
find /tmp/latex-template-temp -type f -name "*.tex" | grep -i table | while read f; do cp "$f" output/tables/; done

# Bibliography
find /tmp/latex-template-temp -type f -name "*.bib" -exec cp {} output/ \;
```

If the original template had no separate table files, create one placeholder example table — Overleaf automatically deletes empty directories, so an empty `tables/` folder silently disappears on upload:

```bash
cat > output/tables/example-table.tex << 'EOF'
% Example table file — can be deleted or replaced
\begin{table}[h]
    \centering
    \caption{Example Table}
    \label{tab:example}
    \begin{tabular}{lccc}
        \toprule
        Method & Metric 1 & Metric 2 & Metric 3 \\
        \midrule
        Baseline & 85.3 & 12.4 & 0.92 \\
        \textbf{Ours} & \textbf{89.4} & \textbf{10.2} & \textbf{0.97} \\
        \bottomrule
    \end{tabular}
\end{table}
EOF
```

## Step 6: Generate a README

Source priority for filling in submission requirements: (1) the conference link the user provided, fetched for the actual submission page content; (2) comments already present in the template files; (3) reasonable inference from `\documentclass` options when neither is available.

```markdown
# [Conference Name] Submission Template

## Template Information
- Conference: [name] — Website: [link] — Document class: [extracted documentclass]

## Submission Requirements
### Page and Format
- Page limit: [from website or template]
- Column layout / font size: [detected]
### Anonymity Requirements
- Blind review required: [detected mode]
- Author information handling: [instructions]
### Compilation
- Recommended compiler: [XeLaTeX/pdfLaTeX/LuaLaTeX]
- Special package requirements: [if any]

## Overleaf Usage
1. Create a new project on Overleaf
2. Upload the entire output/ directory
3. Set the compiler to [specified compiler]
4. Click Recompile to test

## File Description
- main.tex — main file, start here
- text/ — section content, edit as needed
- figures/, tables/ — place assets here
- styles/ — style files, no modification needed
- references.bib — bibliography database

## Common Operations
[Adding images, tables, and references — standard LaTeX snippets]

## Notes
[Warnings extracted from the original template's own comments or the conference website]
```

If a conference link was provided, fetch the actual submission page and extract page limits, anonymity requirements, format requirements, and deadlines into the README rather than leaving placeholders.

## Step 7: Cleanup and Finish

```bash
rm -rf /tmp/latex-template-temp
echo "Template cleanup complete! Output directory: output/"
echo "Upload the output/ directory to Overleaf to test compilation."
```

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

A plan-first workflow for turning an official conference LaTeX template .zip — which almost always ships with excessive example content, verbose instructional comments, and an inconsistent file layout — into a clean, Overleaf-ready structure without losing any of the document class configuration or required packages that make the template actually compile correctly for that venue. It extracts the archive, identifies the main file (by name pattern or by searching for \documentclass), and diagnoses specific issues (disorganized nesting, sample/example content, missing dependency files) before presenting a concrete cleanup plan and waiting for approval — nothing gets touched until the user confirms.

Execution splits the template into a clean main.tex (document class, packages, title/abstract/keywords preamble, and \input{} imports) plus one file per section under text/, separate figures/, tables/, and styles/ directories, and copies the bibliography — including the Overleaf-specific gotcha of needing a placeholder table file, since Overleaf silently deletes empty directories on upload. For anonymous-review venues, it includes a worked example (ACM acmart-style) of the submission-vs-camera-ready configuration split, with the exact lines to restore later. It closes by generating a README that pulls actual page-limit, anonymity, and compilation requirements from the conference's submission page when a link is provided, rather than leaving generic placeholders.


Quick Start

Step 1: Create a Project Folder

mkdir latex-organizer && cd latex-organizer

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ./

Step 3: Organize a Template

claude

Provide the downloaded conference template .zip (and the conference submission link, if you have it) and ask Claude to clean it up. It will diagnose the issues, present a cleanup plan for your approval, then produce a clean, Overleaf-ready output/ directory with a filled-in README.


Tips & Best Practices

  • Always provide the conference submission link when you have it — the README's page limits, anonymity requirements, and compiler recommendation come from the actual current submission page rather than guesswork, and these details change between conference years.
  • For anonymous-review venues, keep the camera-ready restoration lines as comments right next to the stripped submission-mode config — it's much easier to find them again months later than to reconstruct the correct conference metadata from scratch.
  • Don't skip the placeholder table file if your template genuinely has no tables yet — an empty tables/ directory silently vanishes on the next Overleaf sync, which is a confusing failure mode to debug later.

Limitations

  • Reorganizes structure and strips boilerplate — it doesn't write your actual paper content, which is left as % TODO markers in each section file.
  • README accuracy for submission requirements depends on being given a working conference link; without one, it falls back to inferring from the template's own comments and \documentclass options, which may be incomplete or outdated.
  • The anonymous-submission example is specifically ACM acmart-style; a template using a different class (IEEEtran, a custom conference class) will need the equivalent anonymity-mode options identified separately.

$Related Playbooks

Academic Research

Idea Catalyst

Find cross-domain research inspiration by decomposing problems, searching other fields, and synthesizing transferable insights.

15 minutes
Intermediate
Academic Research

Knowledge Base Builder

Build a structured knowledge base for your domain with notation registries, application databases, design principles, and anti-patterns.

20 minutes
Intermediate
Academic Research

Grant Proposal Reviser

Apply reviewer and collaborator feedback to grant proposal drafts with voice-consistent revisions, change tracking, and automatic backups.

10 minutes
Intermediate
Academic Research

Grant Proposal Writer

Generate first-draft funding proposals from structured inputs, project data, and donor intelligence with voice-consistent academic writing.

20 minutes
Advanced
Academic Research

Iterative Build & Fix Loop

Run builds in a loop that automatically detects errors, fixes them, and re-runs until the build succeeds. Works with any build system: npm, cargo, go, make, gradle, and more.

10 minutes
Intermediate
Academic Research

Git Commit Workflow

Structured approach to git commits with quality checks, meaningful messages, and proper staging. Never commit broken code.

5 minutes
Beginner
Academic Research

Interactive Research Interview

Use Claude as an interviewer to formalize vague ideas into concrete specifications. Transform 'I have this intuition...' into a clear research plan.

5 minutes
Beginner
Academic Research

Literature Review Synthesis

Systematically search, analyze, and synthesize research literature. Extract key findings, identify gaps, and produce structured literature reviews.

10 minutes
Intermediate
Academic Research

Manuscript Referee Review

Get a thorough pre-submission review with referee-style objections. Identify weaknesses before reviewers do, and strengthen your paper proactively.

10 minutes
Intermediate
Academic Research

ML Paper Writing for Top Conferences

Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, and COLM — a non-negotiable citation-verification workflow against the ~40% hallucination rate in AI-generated references, a claim-ledger gate that stops unsupported claims from reaching manuscript prose, and sentence-level writing principles synthesized from named researchers (Nanda, Farquhar, Gopen & Swan, Lipton, Steinhardt, Perez) who've published extensively at top venues.

10 minutes
Advanced
Academic Research

ML Research Paper Pipeline: Design to Submission

An end-to-end pipeline for ML/AI research papers targeting NeurIPS, ICML, ICLR, ACL, AAAI, and COLM — experiment design tied to claims, incremental-safe execution with an experiment journal, negative-result handling, ensemble self-review with a meta-reviewer, and anonymization-safe submission prep.

15 minutes
Advanced
Academic Research

Multi-Agent Parallel Review

Run multiple specialized review agents in parallel — proofreader, code reviewer, security auditor, etc. Each agent focuses on one dimension with full attention.

15 minutes
Intermediate

Browse all Academic Research playbooks →