157 lines
4.2 KiB
TeX
157 lines
4.2 KiB
TeX
\documentclass{article}
|
|
|
|
|
|
% if you need to pass options to natbib, use, e.g.:
|
|
% \PassOptionsToPackage{numbers, compress}{natbib}
|
|
% before loading neurips_2023
|
|
|
|
|
|
% ready for submission
|
|
\usepackage[final]{neurips}
|
|
|
|
|
|
% to compile a preprint version, e.g., for submission to arXiv, add add the
|
|
% [preprint] option:
|
|
% \usepackage[preprint]{neurips_2023}
|
|
|
|
|
|
% to compile a camera-ready version, add the [final] option, e.g.:
|
|
% \usepackage[final]{neurips_2023}
|
|
|
|
|
|
% to avoid loading the natbib package, add option nonatbib:
|
|
% \usepackage[nonatbib]{neurips_2023}
|
|
|
|
|
|
\usepackage[utf8]{inputenc} % allow utf-8 input
|
|
\usepackage[T1]{fontenc} % use 8-bit T1 fonts
|
|
\usepackage{hyperref} % hyperlinks
|
|
\usepackage{url} % simple URL typesetting
|
|
\usepackage{booktabs} % professional-quality tables
|
|
\usepackage{amsfonts} % blackboard math symbols
|
|
\usepackage{nicefrac} % compact symbols for 1/2, etc.
|
|
\usepackage{microtype} % microtypography
|
|
\usepackage{xcolor} % colors
|
|
\usepackage{graphicx}
|
|
|
|
\makeatletter
|
|
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
|
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
|
|
\makeatother
|
|
% Scale images if necessary, so that they will not overflow the page
|
|
% margins by default, and it is still possible to overwrite the defaults
|
|
% using explicit options in \includegraphics[width, height, ...]{}
|
|
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
|
% Set default figure placement to htbp
|
|
\makeatletter
|
|
\def\fps@figure{htbp}
|
|
\makeatother
|
|
|
|
\newlength{\cslhangindent}
|
|
\setlength{\cslhangindent}{1.5em}
|
|
\newlength{\csllabelwidth}
|
|
\setlength{\csllabelwidth}{3em}
|
|
\newlength{\cslentryspacingunit} % times entry-spacing
|
|
\setlength{\cslentryspacingunit}{\parskip}
|
|
\newenvironment{CSLReferences}[2] % #1 hanging-ident, #2 entry spacing
|
|
{% don't indent paragraphs
|
|
\setlength{\parindent}{0pt}
|
|
% turn on hanging indent if param 1 is 1
|
|
\ifodd #1
|
|
\let\oldpar\par
|
|
\def\par{\hangindent=\cslhangindent\oldpar}
|
|
\fi
|
|
% set entry spacing
|
|
\setlength{\parskip}{#2\cslentryspacingunit}
|
|
}%
|
|
{}
|
|
\usepackage{calc}
|
|
\newcommand{\CSLBlock}[1]{#1\hfill\break}
|
|
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{#1}}
|
|
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break}
|
|
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
|
|
\providecommand{\tightlist}{%
|
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
|
\title{}
|
|
|
|
|
|
% Iterate through the authors except last to add \And.
|
|
|
|
\author{%
|
|
}
|
|
|
|
% \author{%
|
|
% David S.~Hippocampus \\
|
|
% Department of Computer Science\\
|
|
% Cranberry-Lemon University\\
|
|
% Pittsburgh, PA 15213 \\
|
|
% \texttt{hippo@cs.cranberry-lemon.edu} \\
|
|
% % examples of more authors
|
|
% % \And
|
|
% % Coauthor \\
|
|
% % Affiliation \\
|
|
% % Address \\
|
|
% % \texttt{email} \\
|
|
% % \AND
|
|
% % Coauthor \\
|
|
% % Affiliation \\
|
|
% % Address \\
|
|
% % \texttt{email} \\
|
|
% % \And
|
|
% % Coauthor \\
|
|
% % Affiliation \\
|
|
% % Address \\
|
|
% % \texttt{email} \\
|
|
% % \And
|
|
% % Coauthor \\
|
|
% % Affiliation \\
|
|
% % Address \\
|
|
% % \texttt{email} \\
|
|
% }
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
\maketitle
|
|
|
|
|
|
\begin{abstract}
|
|
Add your abstract at the beginning of your markdown file like this
|
|
\begin{verbatim}
|
|
---
|
|
title: "Your Title"
|
|
abstract: "your abstract here"
|
|
authors:
|
|
- name: Leonardo V. Castorina
|
|
affiliation: School of Informatics
|
|
institution: University of Edinburgh
|
|
email: justanemail@domain.ext
|
|
address: Edinburgh
|
|
- name: Coauthor
|
|
affiliation: Affiliation
|
|
institution: Institution
|
|
email: coauthor@example.com
|
|
address: Address
|
|
---
|
|
\end{verbatim}
|
|
This is called YAML frontmatter. If you set your abstract correctly you should not see this message.
|
|
\end{abstract}
|
|
|
|
|
|
(Bullock et al. 2004)
|
|
|
|
\phantomsection\label{refs}
|
|
\begin{CSLReferences}{1}{0}
|
|
\bibitem[\citeproctext]{ref-bullockHardwareintheloopSimulation2004}
|
|
Bullock, Darcy, Brian Johnson, Richard B. Wells, Michael Kyte, and Zhen
|
|
Li. 2004. {``Hardware-in-the-Loop Simulation.''} \emph{Transportation
|
|
Research Part C: Emerging Technologies} 12 (1): 73--89.
|
|
\url{https://doi.org/10.1016/j.trc.2002.10.002}.
|
|
|
|
\end{CSLReferences}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
\end{document} |