forked from OHDSI/ShinyDeploy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblank_template.tex
131 lines (101 loc) · 3.48 KB
/
blank_template.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
\documentclass[$if(papersize)$$papersize$paper,$else$letter,$endif$$if(fontsize)$$fontsize$,$else$9pt,$endif$$if(one_column)$$if(lineno)$lineno,$endif$$else$twocolumn,$endif$$if(one_sided)$$else$twoside,$endif$printwatermark=$if(watermark)$$watermark$$else$false$endif$]{pnas-markdown}
%% Some pieces required from the pandoc template
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% Use the lineno option to display guide line numbers if required.
% Note that the use of elements such as single-column equations
% may affect the guide line number alignment.
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
$if(tables)$
\usepackage{longtable}
$endif$
% The geometry package layout settings need to be set here...
\geometry{layoutsize={0.95588\paperwidth,0.98864\paperheight},%
layouthoffset=0.02206\paperwidth,%
layoutvoffset=0.00568\paperheight}
$if(headercolor)$
\definecolor{pinpblue}{HTML}{$headercolor$}
$else$
\definecolor{pinpblue}{HTML}{EB6622}
$endif$
$if(linkcolor)$
\definecolor{pnasbluetext}{HTML}{$linkcolor$}
$else$
\definecolor{pnasbluetext}{RGB}{101,0,0} %
$endif$
$for(header-includes)$
$header-includes$
$endfor$
\title{$title$}
$for(author)$
\author[$author.affiliation$]{$author.name$}
$endfor$
$for(address)$
\affil[$address.code$]{$address.address$}
$endfor$
$if(numbersections)$
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
$else$
\setcounter{secnumdepth}{0}
$endif$
% Please give the surname of the lead author for the running footer
\leadauthor{$lead_author_surname$}
% Keywords are not mandatory, but authors are strongly encouraged to provide them. If provided, please include two to five keywords, separated by the pipe symbol, e.g:
$if(keywords)$ \keywords{ $for(keywords)$ $keywords$ $sep$| $endfor$ } $endif$
\begin{abstract}
$abstract$
\end{abstract}
\dates{This report was \textbf{automatically} compiled on \today.}
$if(doi)$
\doi{$doi$}
$endif$
$if(footer_contents)$
\pinpfootercontents{$footer_contents$}
$endif$
$if(author_declaration)$
\authordeclaration{$author_declaration$}
$endif$
$if(corresponding_author)$
\correspondingauthor{\textsuperscript{$corresponding_author$}}}
$endif$
\begin{document}
% Optional adjustment to line up main text (after abstract) of first page with line numbers, when using both lineno and twocolumn options.
% You should only change this length when you've finalised the article contents.
%\verticaladjustment{-2pt}
\maketitle
\thispagestyle{firststyle}
\ifthenelse{\boolean{shortarticle}}{\ifthenelse{\boolean{singlecolumn}}{\abscontentformatted}{\abscontent}}{}
% If your first paragraph (i.e. with the \dropcap) contains a list environment (quote, quotation, theorem, definition, enumerate, itemize...), the line after the list may have some extra indentation. If this is the case, add \parshape=0 to the end of the list environment.
$if(acknowledgements)$
\acknow{$acknowledgements$}
$endif$
$body$
%\showmatmethods
$if(acknowledgements)$
\showacknow
$endif$
$if(skip_final_break)$
$else$
\pnasbreak
$endif$
$if(natbib)$
$if(bibliography)$
$if(biblio-title)$
$if(book-class)$
\renewcommand\bibname{$biblio-title$}
$else$
\renewcommand\refname{$biblio-title$}
$endif$
$endif$
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$jss$endif$}
$endif$
$endif$
$if(biblatex)$
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
$endif$
$for(include-after)$
$include-after$
$endfor$
\end{document}