A well-organized LaTeX template for writing research papers, optimized for machine learning conferences (ICML, NeurIPS, ICLR, etc.) and designed to work seamlessly with Claude Code.
# Clone or download this template
git clone <your-repo-url>
# Compile the paper
make
# Or manually with pdflatex
pdflatex main.tex
bibtex main
pdflatex main.tex
pdflatex main.texresearch-template/
├── main.tex # Main document
├── main.bib # Bibliography file
├── Makefile # Build automation
├── README.md # This file
│
├── chapters/ # Paper sections
│ ├── abstract.tex
│ ├── introduction.tex
│ ├── method.tex
│ ├── experiments.tex
│ ├── related_works.tex
│ ├── conclusion.tex
│ ├── acknowledgements.tex
│ ├── impact_statement.tex
│ └── appendix/ # Appendix sections
│ ├── additional_results.tex
│ ├── implementation.tex
│ └── proofs.tex
│
├── figures/ # Image files (PDF, PNG, JPG)
│ └── README.md # Organization guide
│
├── tables/ # LaTeX table definitions
│ └── README.md # Best practices
│
├── latexfig/ # Complex LaTeX/TikZ figures
│ └── README.md # Examples and tips
│
└── Conference style files # ICML 2025 included
├── icml2025.sty
├── icml2025.bst
├── algorithm.sty
├── algorithmic.sty
└── fancyhdr.sty
Edit main.tex starting at line 115:
\icmltitle{Your Paper Title Here}
\icmlauthor{First Author}{inst1}
\icmlauthor{Second Author}{inst2}
...
\icmlaffiliation{inst1}{First Institution}
\icmlcorrespondingauthor{First Author}{email@inst.edu}
\icmlkeywords{Your, Keywords, Here}Add your paper-specific commands in main.tex around line 78:
% Example: Method name
\newcommand{\methodname}{\textsc{YourMethod}\xspace}
% Example: Dataset names
\newcommand{\dataset}{\texttt{YourDataset}\xspace}
% Example: Metrics
\newcommand{\accuracy}{95.3\%\xspace}Edit the chapter files in chapters/:
- abstract.tex: 150-250 words summarizing your work
- introduction.tex: Motivation, problem, approach, contributions
- method.tex: Technical details of your approach
- experiments.tex: Setup, results, ablations, analysis
- related_works.tex: Prior work organized by theme
- conclusion.tex: Summary and impact
Each file includes detailed guidance and structure suggestions.
Figures: Place images in figures/ and include with:
\begin{figure}[t]
\centering
\includegraphics[width=0.8\linewidth]{figures/your_figure}
\caption{Your caption}
\label{fig:your-label}
\end{figure}Tables: Create in tables/ and include with:
\input{tables/your_table}See README files in each directory for best practices.
Add BibTeX entries to main.bib:
@inproceedings{smith2024method,
author = {John Smith and Jane Doe},
title = {A Novel Method for Deep Learning},
booktitle = {ICML},
year = {2024}
}Cite in text with \cite{smith2024method} or \citep{smith2024method}.
# Using Make (recommended)
make
# Clean build artifacts
make clean
# Full rebuild
make clean all\section{Title}: Main section\subsection{Title}: Subsection\subsubsection{Title}: Subsubsection\label{sec:name}: Add label for referencing\ref{sec:name}: Reference section by number
$x + y$: Inline math\[equation\]or\begin{equation}: Display math\begin{align}: Multiple aligned equations- Common symbols:
\alpha, \beta, \mathbb{R}, \mathcal{L}
\includegraphics[options]{path}: Include image\begin{tabular}{lcc}: Create table (left, center, center columns)\toprule, \midrule, \bottomrule: Professional table rules
\cite{key}: Citation\citep{key}: Parenthetical citation\citet{key}: Textual citation (Author et al. year)
\ie: i.e.,\eg: e.g.,\etal: et al.\wrt: w.r.t.
Initialize a git repository to track changes:
git init
git add .
git commit -m "Initial commit: research paper template"The .gitignore is already configured to exclude build artifacts.
Improvements and suggestions welcome! This template is designed to evolve with best practices in academic writing and tooling.
Happy writing! 🚀