Debian Codegraph @

texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex

raw
1 %%
2 %% Copyright 2007-2026 Elsevier Ltd
3 %%
4 %% This file is part of the 'Elsarticle Bundle'.
5 %% ---------------------------------------------
6 %%
7 %% It may be distributed under the conditions of the LaTeX Project Public
8 %% License, either version 1.3 of this license or (at your option) any
9 %% later version. The latest version of this license is in
10 %% http://www.latex-project.org/lppl.txt
11 %% and version 1.3 or later is part of all distributions of LaTeX
12 %% version 1999/12/01 or later.
13 %%
14 %% The list of all files belonging to the 'Elsarticle Bundle' is
15 %% given in the file `manifest.txt'.
16 %%
17 %% Template article for Elsevier's document class `elsarticle'
18 %% with harvard style bibliographic references
19
20 \documentclass[preprint,12pt,authoryear]{elsarticle}
21
22 %% Use the option review to obtain double line spacing
23 %% \documentclass[authoryear,preprint,review,12pt]{elsarticle}
24
25 %% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn
26 %% for a journal layout:
27 %% \documentclass[final,1p,times,authoryear]{elsarticle}
28 %% \documentclass[final,1p,times,twocolumn,authoryear]{elsarticle}
29 %% \documentclass[final,3p,times,authoryear]{elsarticle}
30 %% \documentclass[final,3p,times,twocolumn,authoryear]{elsarticle}
31 %% \documentclass[final,5p,times,authoryear]{elsarticle}
32 %% \documentclass[final,5p,times,twocolumn,authoryear]{elsarticle}
33
34 %% For including figures, graphicx.sty has been loaded in
35 %% elsarticle.cls. If you prefer to use the old commands
36 %% please give \usepackage{epsfig}
37
38 %% The amssymb package provides various useful mathematical symbols
39 \usepackage{amssymb}
40 %% The amsmath package provides various useful equation environments.
41 \usepackage{amsmath}
42 %% The amsthm package provides extended theorem environments
43 %% \usepackage{amsthm}
44
45 %% The lineno packages adds line numbers. Start line numbering with
46 %% \begin{linenumbers}, end it with \end{linenumbers}. Or switch it on
47 %% for the whole article with \linenumbers.
48 %% \usepackage{lineno}
49
50 \journal{Nuclear Physics B}
51
52 \begin{document}
53
54 \begin{frontmatter}
55
56 %% Title, authors and addresses
57
58 %% use the tnoteref command within \title for footnotes;
59 %% use the tnotetext command for theassociated footnote;
60 %% use the fnref command within \author or \affiliation for footnotes;
61 %% use the fntext command for theassociated footnote;
62 %% use the corref command within \author for corresponding author footnotes;
63 %% use the cortext command for theassociated footnote;
64 %% use the ead command for the email address,
65 %% and the form \ead[url] for the home page:
66 %% \title{Title\tnoteref{label1}}
67 %% \tnotetext[label1]{}
68 %% \author{Name\corref{cor1}\fnref{label2}}
69 %% \ead{email address}
70 %% \ead[url]{home page}
71 %% \fntext[label2]{}
72 %% \cortext[cor1]{}
73 %% \affiliation{organization={},
74 %% addressline={},
75 %% city={},
76 %% postcode={},
77 %% state={},
78 %% country={}}
79 %% \fntext[label3]{}
80
81 \title{} %% Article title
82
83 %% use optional labels to link authors explicitly to addresses:
84 %% \author[label1,label2]{}
85 %% \affiliation[label1]{organization={},
86 %% addressline={},
87 %% city={},
88 %% postcode={},
89 %% state={},
90 %% country={}}
91 %%
92 %% \affiliation[label2]{organization={},
93 %% addressline={},
94 %% city={},
95 %% postcode={},
96 %% state={},
97 %% country={}}
98
99 \author{} %% Author name
100
101 %% Author affiliation
102 \affiliation{organization={},%Department and Organization
103 addressline={},
104 city={},
105 postcode={},
106 state={},
107 country={}}
108
109 %% Abstract
110 \begin{abstract}
111 %% Text of abstract
112 Abstract text.
113 \end{abstract}
114
115 %%Graphical abstract
116 \begin{graphicalabstract}
117 %\includegraphics{grabs}
118 \end{graphicalabstract}
119
120 %%Research highlights
121 \begin{highlights}
122 \item Research highlight 1
123 \item Research highlight 2
124 \end{highlights}
125
126 %% Keywords
127 \begin{keyword}
128 %% keywords here, in the form: keyword \sep keyword
129
130 %% PACS codes here, in the form: \PACS code \sep code
131
132 %% MSC codes here, in the form: \MSC code \sep code
133 %% or \MSC[2008] code \sep code (2000 is the default)
134
135 \end{keyword}
136
137 \end{frontmatter}
138
139 %% Add \usepackage{lineno} before \begin{document} and uncomment
140 %% following line to enable line numbers
141 %% \linenumbers
142
143 %% main text
144 %%
145
146 %% Use \section commands to start a section
147 \section{Example Section}
148 \label{sec1}
149 %% Labels are used to cross-reference an item using \ref command.
150
151 Section text. See Subsection \ref{subsec1}.
152
153 %% Use \subsection commands to start a subsection.
154 \subsection{Example Subsection}
155 \label{subsec1}
156
157 Subsection text.
158
159 %% Use \subsubsection, \paragraph, \subparagraph commands to
160 %% start 3rd, 4th and 5th level sections.
161 %% Refer following link for more details.
162 %% https://en.wikibooks.org/wiki/LaTeX/Document_Structure#Sectioning_commands
163
164 \subsubsection{Mathematics}
165 %% Inline mathematics is tagged between $ symbols.
166 This is an example for the symbol $\alpha$ tagged as inline mathematics.
167
168 %% Displayed equations can be tagged using various environments.
169 %% Single line equations can be tagged using the equation environment.
170 \begin{equation}
171 f(x) = (x+a)(x+b)
172 \end{equation}
173
174 %% Unnumbered equations are tagged using starred versions of the environment.
175 %% amsmath package needs to be loaded for the starred version of equation environment.
176 \begin{equation*}
177 f(x) = (x+a)(x+b)
178 \end{equation*}
179
180 %% align or eqnarray environments can be used for multi line equations.
181 %% & is used to mark alignment points in equations.
182 %% \\ is used to end a row in a multiline equation.
183 \begin{align}
184 f(x) &= (x+a)(x+b) \\
185 &= x^2 + (a+b)x + ab
186 \end{align}
187
188 \begin{eqnarray}
189 f(x) &=& (x+a)(x+b) \nonumber\\ %% If equation numbering is not needed for a row use \nonumber.
190 &=& x^2 + (a+b)x + ab
191 \end{eqnarray}
192
193 %% Unnumbered versions of align and eqnarray
194 \begin{align*}
195 f(x) &= (x+a)(x+b) \\
196 &= x^2 + (a+b)x + ab
197 \end{align*}
198
199 \begin{eqnarray*}
200 f(x)&=& (x+a)(x+b) \\
201 &=& x^2 + (a+b)x + ab
202 \end{eqnarray*}
203
204 %% Refer following link for more details.
205 %% https://en.wikibooks.org/wiki/LaTeX/Mathematics
206 %% https://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics
207
208 %% Use a table environment to create tables.
209 %% Refer following link for more details.
210 %% https://en.wikibooks.org/wiki/LaTeX/Tables
211 \begin{table}[t]%% placement specifier
212 %% Use tabular environment to tag the tabular data.
213 %% https://en.wikibooks.org/wiki/LaTeX/Tables#The_tabular_environment
214 \centering%% For centre alignment of tabular.
215 \begin{tabular}{l c r}%% Table column specifiers
216 %% Tabular cells are separated by &
217 1 & 2 & 3 \\ %% A tabular row ends with \\
218 4 & 5 & 6 \\
219 7 & 8 & 9 \\
220 \end{tabular}
221 %% Use \caption command for table caption and label.
222 \caption{Table Caption}\label{fig1}
223 \end{table}
224
225
226 %% Use figure environment to create figures
227 %% Refer following link for more details.
228 %% https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
229 \begin{figure}[t]%% placement specifier
230 %% Use \includegraphics command to insert graphic files. Place graphics files in
231 %% working directory.
232 \centering%% For centre alignment of image.
233 \includegraphics{example-image-a}
234 %% Use \caption command for figure caption and label.
235 \caption{Figure Caption}\label{fig1}
236 %% https://en.wikibooks.org/wiki/LaTeX/Importing_Graphics#Importing_external_graphics
237 \end{figure}
238
239
240 %% The Appendices part is started with the command \appendix;
241 %% appendix sections are then done as normal sections
242 \appendix
243 \section{Example Appendix Section}
244 \label{app1}
245
246 Appendix text.
247
248 %% For citations use:
249 %% \citet{<label>} ==> Lamport (1994)
250 %% \citep{<label>} ==> (Lamport, 1994)
251 %%
252 Example citation, See \citet{lamport94}.
253
254 %% If you have bib database file and want bibtex to generate the
255 %% bibitems, please use
256 %%
257 %% \bibliographystyle{elsarticle-harv}
258 %% \bibliography{<your bibdatabase>}
259
260 %% else use the following coding to input the bibitems directly in the
261 %% TeX file.
262
263 %% Refer following link for more details about bibliography and citations.
264 %% https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management
265
266 \begin{thebibliography}{00}
267
268 %% For authoryear reference style
269 %% \bibitem[Author(year)]{label}
270 %% Text of bibliographic item
271
272 \bibitem[Lamport(1994)]{lamport94}
273 Leslie Lamport,
274 \textit{\LaTeX: a document preparation system},
275 Addison Wesley, Massachusetts,
276 2nd edition,
277 1994.
278
279 \end{thebibliography}
280 \end{document}
281
282 \endinput
283 %%
284 %% End of file `elsarticle-template-harv.tex'.
285
286