forked from kourgeorge/arxiv-style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
162 lines (124 loc) · 4.5 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
\documentclass{article}
\usepackage{xiv}
\usepackage[utf8]{inputenc} % allow utf-8 input
\usepackage[T1]{fontenc} % use 8-bit T1 fonts
\usepackage{hyperref} % hyperlinks
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
} % remove boxes / color around links
\usepackage{url} % simple URL typesetting
\usepackage{booktabs} % professional-quality tables
\usepackage{tabularx} % more control over spacing
\usepackage{multirow} % multirows in tables
\usepackage{amsfonts} % blackboard math symbols
\usepackage{amsmath} % equation management
\usepackage{nicefrac} % compact symbols for 1/2, etc.
\usepackage{microtype} % microtypography
\usepackage{cleveref} % smart cross-referencing
\usepackage{graphicx}
\usepackage{setspace} % more control of document spacing
\setstretch{1.2}
% for leaving comments in the paper
% feel free to add more entries with own colors:
% https://www.overleaf.com/learn/latex/Using_colours_in_LaTeX
\usepackage[dvipsnames]{xcolor}
\usepackage{soul}
\DeclareRobustCommand{\mariecurie}[1]{{\begingroup\sethlcolor{Aquamarine}\hl{[m: #1]}\endgroup}}
\DeclareRobustCommand{\lilylovelace}[1]{{\begingroup\sethlcolor{Apricot}\hl{[l: #1]}\endgroup}}
\DeclareRobustCommand{\newtnewton}[1]{{\begingroup\sethlcolor{YellowGreen}\hl{[l: #1]}\endgroup}}
\usepackage[backend=biber,style=nature,sorting=none]{biblatex}
\addbibresource{references.bib}
\usepackage{lipsum} % delete when real text is available
\title{A template for the \emph{arxiv} and \emph{biorxiv} style}
\author{Anna Hippocampus\inst{1} \and
Elefant Striatum\inst{2,*}}
\institute{Department of Computer Science, Rice University \and
Department of Electrical and Computer Engineering, Rice University \\
\textit{* Correspondence to:} \email{\{striatum\}@rice.edu}}
% uncomment to add other headers as wanted
%\renewcommand{\headeright}{Technical Report}
%\renewcommand{\undertitle}{Technical Report}
\renewcommand{\shorttitle}{\textit{arXiv} Template}
%%% Add PDF metadata to help others organize their library
%%% Once the PDF is generated, you can check the metadata with
%%% $ pdfinfo template.pdf
\hypersetup{
pdftitle={A template for the arxiv style},
pdfauthor={Anna Hippocampus, Elefant SStriatum},
pdfkeywords={First keyword, Second keyword, More},
}
\begin{document}
\maketitle
\begin{abstract}
\lipsum[1]
\end{abstract}
% keywords can be removed
% \keywords{First keyword \and Second keyword \and More}
\section{Introduction}
\lipsum[2]
\lipsum[3]
\section{Headings: first level}
\label{sec:headings}
\lipsum[4] See Section \ref{sec:headings}.
\subsection{Headings: second level}
\lipsum[5]
\begin{equation}
\xi _{ij}(t)=P(x_{t}=i,x_{t+1}=j|y,v,w;\theta)= {\frac {\alpha _{i}(t)a^{w_t}_{ij}\beta _{j}(t+1)b^{v_{t+1}}_{j}(y_{t+1})}{\sum _{i=1}^{N} \sum _{j=1}^{N} \alpha _{i}(t)a^{w_t}_{ij}\beta _{j}(t+1)b^{v_{t+1}}_{j}(y_{t+1})}}
\end{equation}
\subsubsection{Headings: third level}
\lipsum[6]
\paragraph{Paragraph}
\lipsum[7]
\section{Examples of citations, figures, tables, references}
\label{sec:others}
\subsection{Citations}
Citations use \verb+biblatex+. The documentation may be found at
\begin{center}
\url{https://ctan.org/pkg/biblatex}
\end{center}
We can try to cite \cite{hadash2018estimate,kour2014fast,kour2014real}.
\subsection{Figures}
\lipsum[10]
See Figure \ref{fig:fig1}. Here is how you add footnotes. \footnote{Sample of the first footnote.}
\lipsum[11]
\begin{figure}
\centering
\fbox{\rule[-.5cm]{4cm}{4cm} \rule[-.5cm]{4cm}{0cm}}
\caption{Sample figure caption.}
\label{fig:fig1}
\end{figure}
\subsection{Tables}
See awesome Table~\ref{tab:table}.
The documentation for \verb+booktabs+ (`Publication quality tables in LaTeX') is available from:
\begin{center}
\url{https://www.ctan.org/pkg/booktabs}
\end{center}
\begin{table}
\caption{Sample table title}
\centering
\begin{tabular}{lll}
\toprule
\multicolumn{2}{c}{Part} \\
\cmidrule(r){1-2}
Name & Description & Size ($\mu$m) \\
\midrule
Dendrite & Input terminal & $\sim$100 \\
Axon & Output terminal & $\sim$10 \\
Soma & Cell body & up to $10^6$ \\
\bottomrule
\end{tabular}
\label{tab:table}
\end{table}
\subsection{Lists}
\begin{itemize}
\item Lorem ipsum dolor sit amet
\item consectetur adipiscing elit.
\item Aliquam dignissim blandit est, in dictum tortor gravida eget. In ac rutrum magna.
\end{itemize}
\clearpage
\printbibliography
\end{document}