-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.tex
141 lines (125 loc) · 3.17 KB
/
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
132
133
134
135
136
137
138
139
140
141
\documentclass[amsmath,amssymb
[#- if options.styling == "aps" -#], aps
[#- if options.aps_journal_type -#]
,[-options.aps_journal_type-]
[#- endif -#]
[# endif -#]
[#- if options.styling == "aip"#], aip
[#- if options.aip_journal_type -#]
,[-options.aip_journal_type-]
[#- endif -#]
[#- endif -#]
[#- if options.styling == "aapm" -#], aapm
[#- if options.aapm_journal_type -#]
,[-options.aapm_journal_type-]
[#- endif -#]
[#- endif -#]
[#- if options.styling == "sor" -#], sor
[#- if options.sor_journal_type -#]
,[-options.sor_journal_type-]
[#- endif -#]
[#- endif -#]
[#- if options.formatting -#]
,[-options.formatting-]
[#- endif -#]
[#- if options.draft -#],preprint
[#- endif -#]
[#- if options.reprint -#],reprint
[#- endif -#]
[#- if options.preprint -#],preprintnumbers
[#- endif -#]
[#- if options.linenumbers -#]
,linenumbers
[#- endif -#]
[#- if options.superscriptaddress -#]
,superscriptaddress
[#- endif -#]
[#- if options.groupedaddress -#]
,groupedaddress
[#- endif -#]
[#- if options.unsortedaddress -#]
,unsortedaddress
[#- endif -#]
[#- if options.runinaddress -#]
,runinaddress
[#- endif -#]
[#- if options.footinbib -#]
,footinbib
[#- endif -#]
[#- if options.nofootinbib -#]
,nofootinbib
[#- endif -#]
[#- if options.bibnotes -#]
,bibnotes
[#- endif -#]
[#- if options.nobibnotes -#]
,nobibnotes
[#- endif -#]
[#- if doc.keywords #],showkeys[#- endif -#]
[#- if options.paper_size -#]
,[-options.paper_size-]
[#- endif -#]
]{revtex4-2}
\usepackage{orcidlink}
\usepackage{datetime}
[- IMPORTS -]
\begin{document}
[#- if options.preprint #]
\preprint{[-options.preprint-]}
[# endif -#]
\title{[-doc.title-]}
[#- if options.footnote_title #]
\thanks{[-options.footnote_title-]}
[# endif -#]
[#- for author in doc.authors -#]
\author{[-- author.name --]
[#- if author.orcid #]
\orcidlink{[-author.orcid-]}
[# endif -#]
}
[#- if author.email #]
\email{[-author.email-]}
[# endif -#]
[#- if author.website #]
\homepage{[-author.website-]}
[# endif -#]
[#- if author.affiliations #]
[#- for affiliation in author.affiliations -#]
\affiliation{[-- affiliation.value.name --]}
[#- endfor -#]
[# endif -#]
[#- if author.collaborations #]
[#- for collaboration in author.collaborations -#]
\collaboration{[-- collaboration.value.name --]}\noaffiliation
[#- endfor -#]
[# endif -#]
[#- endfor -#]
[#- if doc.date #]
\newdate{articleDate}{[-doc.date.day-]}{[-doc.date.month-]}{[-doc.date.year-]}
\date{\displaydate{articleDate}}
[# else #]
\date{\today}
[# endif -#]
[#- if doc.keywords #]
\keywords{[- doc.keywords | join(", ") -]}
[# endif -#]
[#- if parts.abstract #]
\begin{abstract}
[-parts.abstract-]
\end{abstract}
[# endif -#]
\maketitle
[-CONTENT-]
[#- if parts.acknowledgments #]
\begin{acknowledgments}
[-parts.acknowledgments-]
\end{acknowledgments}
[# endif -#]
[#- if parts.appendix #]
\appendix
[-parts.appendix-]
[# endif -#]
[#- if doc.bibliography #]
\bibliography{[- doc.bibliography | join(", ") -]}
[# endif -#]
\end{document}