jcode/skills/write-my-paper/template/main.tex

66 lines
2.2 KiB
TeX

% main.tex - generic ML conference paper (single column, ~NeurIPS/ICLR geometry, natbib author-year).
% For a specific venue: replace the \documentclass/geometry block with the official style file
% (e.g. \usepackage{neurips_2025}, \usepackage{icml2025}, \documentclass{llncs}) and keep the rest.
\documentclass[11pt]{article}
\usepackage[letterpaper, textwidth=5.5in, textheight=9in, top=1in]{geometry}
\usepackage[utf8]{inputenc}
% T1 + Latin Modern when installed (scalable fonts); otherwise the default Computer Modern
\IfFileExists{lmodern.sty}{\usepackage[T1]{fontenc}\usepackage{lmodern}}{}
\usepackage{microtype}
\usepackage{amsmath, amssymb, amsthm, mathtools}
\usepackage{bm}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{subcaption}
\usepackage{xcolor}
\usepackage[numbers, sort&compress]{natbib} % for author-year: \usepackage[round]{natbib}
\usepackage[colorlinks=true, linkcolor=blue!60!black, citecolor=blue!60!black, urlcolor=blue!60!black]{hyperref}
\usepackage[capitalise, noabbrev]{cleveref}
\usepackage{xspace}
\usepackage{algorithm}
\usepackage{algpseudocode}
% ---- macros: one name for the proposed method everywhere ------------------
\newcommand{\ours}{\textsc{MethodName}}
\newcommand{\eg}{e.g.,\xspace}
\newcommand{\ie}{i.e.,\xspace}
\newcommand{\etal}{et al.\xspace}
\newcommand{\R}{\mathbb{R}}
\newcommand{\E}{\mathbb{E}}
\DeclareMathOperator*{\argmin}{arg\,min}
\DeclareMathOperator*{\argmax}{arg\,max}
\newtheorem{proposition}{Proposition}
\title{Paper Title: Specific, Informative, Without Hype}
% Double-blind by default. Fill in real authors only for camera-ready / arXiv.
\author{Anonymous Authors\\Paper under double-blind review}
\date{}
\begin{document}
\maketitle
\begin{abstract}
\input{sections/abstract}
\end{abstract}
\input{sections/introduction}
\input{sections/related_work}
\input{sections/method}
\input{sections/experimental_setup}
\input{sections/results}
\input{sections/discussion}
\input{sections/conclusion}
% Statements many venues require (do not count towards the page limit at most venues)
\input{sections/statements}
\bibliographystyle{plainnat}
\bibliography{references}
\appendix
\input{sections/appendix}
\end{document}