summaryrefslogtreecommitdiff
path: root/.obsidian/plugins/obsidian-enhancing-export/textemplate/neurips.tex
diff options
context:
space:
mode:
Diffstat (limited to '.obsidian/plugins/obsidian-enhancing-export/textemplate/neurips.tex')
-rwxr-xr-x.obsidian/plugins/obsidian-enhancing-export/textemplate/neurips.tex187
1 files changed, 187 insertions, 0 deletions
diff --git a/.obsidian/plugins/obsidian-enhancing-export/textemplate/neurips.tex b/.obsidian/plugins/obsidian-enhancing-export/textemplate/neurips.tex
new file mode 100755
index 0000000..46fa7e7
--- /dev/null
+++ b/.obsidian/plugins/obsidian-enhancing-export/textemplate/neurips.tex
@@ -0,0 +1,187 @@
+% This template was tested with Pandoc 3.4 and pandoc-crossref v0.3.18.0. It should be backwards compatible with older version of pandoc..
+\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,nonatbib]{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}
+\usepackage{longtable} % Add support for Pandoc's longtable if needed
+\usepackage{array} % For table alignment improvements
+\usepackage{amsmath}
+\usepackage{textcomp}
+\setlength{\LTcapwidth}{\textwidth} % To make captions fit within page width
+
+\makeatletter
+\newsavebox\pandoc@box
+\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
+ \sbox\pandoc@box{#1}%
+ \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
+ \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
+ \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both
+ \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}%
+ \else\usebox{\pandoc@box}%
+ \fi%
+}
+\makeatother
+\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
+
+$if(csl-refs)$
+% definitions for citeproc citations
+\NewDocumentCommand\citeproctext{}{}
+\NewDocumentCommand\citeproc{mm}{%
+\begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
+\makeatletter
+% allow citations to break across lines
+\let\@cite@ofmt\@firstofone
+% avoid brackets around text for \cite:
+\def\@biblabel#1{}
+\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
+\makeatother
+\newlength{\cslhangindent}
+\setlength{\cslhangindent}{1.5em}
+\newlength{\csllabelwidth}
+\setlength{\csllabelwidth}{3em}
+\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing
+{\begin{list}{}{%
+ \setlength{\itemindent}{0pt}
+ \setlength{\leftmargin}{0pt}
+ \setlength{\parsep}{0pt}
+ % turn on hanging indent if param 1 is 1
+ \ifodd #1
+ \setlength{\leftmargin}{\cslhangindent}
+ \setlength{\itemindent}{-1\cslhangindent}
+ \fi
+ % set entry spacing
+ \setlength{\itemsep}{#2\baselineskip}}}
+{\end{list}}
+\usepackage{calc}
+\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}}
+\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
+\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
+\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
+$endif$
+\providecommand{\tightlist}{%
+ \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
+\title{$title$}
+
+
+% Iterate through the authors except last to add \And.
+
+\author{%
+$for(authors/allbutlast)$
+ $authors.name$\\$authors.affiliation$\\$authors.institution$\\$authors.email$\\$authors.address$ \And
+$endfor$
+$for(authors/last)$
+ $authors.name$\\$authors.affiliation$\\$authors.institution$\\$authors.email$\\$authors.address$
+$endfor$
+}
+
+% \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}
+ $if(abstract)$
+ $abstract$
+ $else$
+ 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.
+ $endif$
+\end{abstract}
+
+
+$body$
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\end{document}