Files
evil_MoE/docs/writeup/nips-template.tex
T
wassname 376dccdd7f writeup: add main.qmd (Quarto draft) + nips-template.tex; update human journal
main.qmd mirrors main.tex structure with markdown prose, callout TODOs,
and Quarto cross-refs. Renders via nips-template.tex which wraps
nips15submit_e.sty so quarto render --to pdf produces NeurIPS-formatted
output. Human journal prose incorporated into abstract + intro + routing
section.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-06-08 07:00:54 +08:00

59 lines
1.5 KiB
TeX

% Pandoc LaTeX template for Quarto -> NeurIPS-formatted PDF.
% Variables: $title$, $author$, $abstract$, $body$, $bibliography$, $natbib$
\documentclass{article}
\PassOptionsToPackage{table}{xcolor}
\usepackage{nips15submit_e}
\usepackage[numbers]{natbib}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{newtxtext,newtxmath}
\usepackage[scaled=0.92]{zi4}
\usepackage[table]{xcolor}
\usepackage{listings}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=black, citecolor=black,
urlcolor=[rgb]{0.0,0.2,0.5}}
\setlength{\abovecaptionskip}{8pt}
\setlength{\belowcaptionskip}{6pt}
\definecolor{lightgray}{rgb}{0.94,0.94,0.94}
\lstset{
basicstyle=\small\ttfamily,
breaklines=true, breakatwhitespace=true,
columns=flexible, keepspaces=true,
showstringspaces=false, language=Python,
commentstyle=\color{gray!70!black}\itshape,
keywordstyle=\bfseries, stringstyle=\color{black},
frame=single, backgroundcolor=\color{lightgray!30}
}
% Quarto uses \tightlist in bullet lists
\providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
$if(title)$
\title{$title$}
$endif$
$if(author)$
\author{$for(author)$$author$$sep$ \\ $endfor$}
$endif$
\begin{document}
\maketitle
$if(abstract)$
\begin{abstract}
$abstract$
\end{abstract}
$endif$
$body$
$if(natbib)$
\bibliographystyle{plainnat}
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
$endif$
\end{document}