mirror of
https://github.com/wassname/evil_MoE.git
synced 2026-09-12 02:20:27 +08:00
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>
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
% 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}
|
||||
Reference in New Issue
Block a user