-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
134 lines (94 loc) · 3.17 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
\documentclass{article}
%%%% Patch to make lineno work nicely with amsmath
% https://tex.stackexchange.com/a/461192
\usepackage{lineno}
\usepackage{amsmath} %% <- after lineno
\usepackage{etoolbox} %% <- for \cspreto, \csappto
%% Patch 'normal' math environments:
\newcommand*\linenomathpatch[1]{%
\cspreto{#1}{\linenomath}%
\cspreto{#1*}{\linenomath}%
\csappto{end#1}{\endlinenomath}%
\csappto{end#1*}{\endlinenomath}%
}
\linenomathpatch{equation}
\linenomathpatch{gather}
\linenomathpatch{multline}
\linenomathpatch{align}
\linenomathpatch{alignat}
\linenomathpatch{flalign}
\linenumbers%
%%%% end patching
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{graphicx}
\usepackage[hidelinks]{hyperref}
\usepackage[inline]{showlabels}
\renewcommand{\showlabelfont}{\tiny\sffamily}
\newtheorem{lemma}{Lemma}
\newtheorem{prop}{Proposition}
\newtheorem{thm}{Theorem}
\newtheorem{prob}{Problem}
\newtheorem{defn}{Definition}
\newtheorem{obs}{Observation}
\newtheorem{alg}{Algorithm}
\newcommand{\median}{\operatorname{median}}
% http://bytesizebio.net/2013/03/11/adding-supplementary-tables-and-figures-in-latex/
\newcommand{\beginsupplement}{%
\setcounter{table}{0}
\renewcommand{\thetable}{S\arabic{table}}%
\setcounter{figure}{0}
\renewcommand{\thefigure}{S\arabic{figure}}%
}
\hyphenation{Ge-nome Ge-nomes hyper-mut-ation through-put}
% template follows "Ten simple rules for structuring papers" http://dx.doi.org/10.1371/journal.pcbi.1005619
\title{Focus your paper on a central contribution, and communicate that in the title}
\author{You}
\begin{document}
\maketitle
\begin{abstract}
% The one question is:
% Here we... (describe approach)
% What we found
% How it matters
\end{abstract}
\section*{Introduction}
% At least one paragraph for each of the following prompts.
% Describe the big problem in science we are approaching here.
% What does the field know about this problem?
% What is the remaining gap?
% In this paper, we... (Describe approach)
% We find that...
Hooray for Joe~\cite{Felsenstein1981-zs}.
% NOTE: here I'm writing a results-first paper. A methods-first paper should
% still have a Methods overview before really getting into the details.
\section*{Results}
\subsection*{Methods overview}
% In order to [insert research question statement] we developed a method...
% Here we give a brief overview of how this method works; full details can be found in the Methods section.
% \begin{figure}[h]
% \centering
% \includegraphics[width=0.35\textwidth]{figures/methods.pdf}
% \caption{\
% Methods overview.
% }%
% \label{fig:overview}
% \end{figure}
% Now there should be a succession of section headings that are findings, such as
% \subsection*{7 is bigger than 6 but less than 8}
\section*{Discussion}
% What we found
% Putting what we found in the context of other research
% Limitations
% Why science is better now, and prospects for future work
\section*{Materials and methods}
\subsection*{Data}
% Then whatever methods details you have.
\bibliographystyle{plain}
\bibliography{main}
% \clearpage
% \section*{Supplementary Materials}
% \beginsupplement
% Supplementary text and figures here.
\end{document}