This repository provides a unified LaTeX environment for managing research papers across different conference formats (IEEE, ACM, and USENIX). It minimizes the effort required to re-format papers after a rejection or when targeting different conferences.
- Single Source of Truth: Manage your content in one place and switch formats with a single command.
- Anonymous & Camera-Ready Toggle: Defaults to double-blind submission across all three venues; switch to camera-ready with
CAMERA=1. - Modular Structure: Organized folder structure for sections, figures, and utilities.
- Fast Builds & Opt-In Preflight: Daily builds run
latexmkonly; font checks, spell-checking, PDF/A conversion, and clean submission zips are separate targets.
.
├── main.tex # Main entry point with target & anonymity selection
├── Makefile # Build, preflight, and submission archive automation
├── ref.bib # Bibliography file
├── figures/ # Images and plots
├── sections/ # Modular .tex files (abstract, intro, etc.)
├── utils/ # Custom commands (my_commands.tex)
├── clean_mywords.py # Deduplicates/sorts the personal aspell dictionary
├── mywords.txt # Personal aspell dictionary
├── pdfa.sh # Converts a PDF to PDF/A via pdftops + Ghostscript
├── *.cls / *.sty / *.bst # Vendored conference format files
└── .gitignore # Git exclusion rules
Ensure you have the following installed:
- LaTeX Distribution: TeX Live (recommended) or MiKTeX (
pdflatex). - Latexmk: For automated multi-pass compilation.
- Optional Preflight Tools:
- pdffonts: Verify font embedding (
make check/make embed_font_check). - Aspell + Python 3: Spell-checking (
make spell) and dictionary cleanup (make dict). - Ghostscript (
ps2pdf,gs) +pdftops: Font embedding fallback (make fontfix) and PDF/A conversion (make pdfa/./pdfa.sh).
- pdffonts: Verify font embedding (
You can build the paper for a specific conference without modifying the source code. The output PDF will be named main_{target}.pdf.
# Build for ACM (default, anonymous review mode)
make # or: make acm
# Build for IEEE or USENIX (anonymous review mode)
make ieee
make usenix
# Build in camera-ready mode (shows authors, acknowledgments, and ACM copyright block)
make acm CAMERA=1
make ieee CAMERA=1
make usenix CAMERA=1# Run font embedding check and spell check for a target (defaults to TARGET=acm)
make check TARGET=acm
# Re-distill PDF to embed all fonts (creates main_<target>_font_embedded.pdf)
make fontfix TARGET=acm
# Convert built PDF to PDF/A (creates main_<target>_a.pdf)
make pdfa TARGET=acm
# Or run directly on any PDF:
./pdfa.sh main_acm.pdf
# Run spell check on sections/*.tex (writes spell_check) and clean mywords.txt
make spell
make dict # or: python3 clean_mywords.py --input mywords.txt --output mywords.txt
# Create a submission zip containing only the selected venue's style files
make acm zip # Creates source_main_acm.zip
make zip TARGET=ieee # Creates source_main_ieee.zip
# Clean up all temporary and generated build files
make clean- Default target & anonymity: main.tex defaults to
\ACMtrueand\Anonymoustrue. Define\ForceCameraReady(or passCAMERA=1tomake) to render author blocks,sections/acknowledgement.tex, and the ACM copyright/reference block. - ACM
10ptoption:main.texpasses[sigconf,...,10pt]toacmart, matching systems-conference conventions. Remove10ptif targeting a standard 9pt ACM venue. - Subfigures (
subfigvssubcaption):IEEEtran.clsconflicts with thecaptionpackage, somain.texloads\usepackage[caption=false,font=footnotesize]{subfig}(\subfloat) under\ifIEEEandsubcaption(subfigure) under\ifACM/\ifUSENIX.
Write your content in sections/. Use target conditionals in main.tex or any sub-file when conference-specific formatting is needed:
\ifIEEE
% IEEE-specific content/commands
\fi
\ifACM
% ACM-specific content/commands
\fi
\ifUSENIX
% USENIX-specific content/commands
\fiThe template uses ref.bib by default. main.tex automatically selects \bibliographystyle based on the active target (IEEEtran, ACM-Reference-Format, or plain).
Feel free to use and modify this template for your research projects. Good luck with your submissions! Originally created by Jin Heo (@jheo4) and maintained at https://github.com/PaperRepos/AIO_Template