Debian Codegraph @

texmf-dist/doc/latex/els-cas-templates/cas-dc-sample.tex

raw
1 %%
2 %% Copyright 2019-2024 Elsevier Ltd
3 %%
4 %% Version 2.4
5 %%
6 %% This file is part of the 'CAS Bundle'.
7 %% --------------------------------------
8 %%
9 %% It may be distributed under the conditions of the LaTeX Project Public
10 %% License, either version 1.2 of this license or (at your option) any
11 %% later version. The latest version of this license is in
12 %% http://www.latex-project.org/lppl.txt
13 %% and version 1.2 or later is part of all distributions of LaTeX
14 %% version 1999/12/01 or later.
15 %%
16 %% The list of all files belonging to the 'CAS Bundle' is
17 %% given in the file `manifest.txt'.
18 %%
19 %% Template article for cas-dc documentclass for
20 %% double column output.
21
22 %\documentclass[a4paper,fleqn,longmktitle]{cas-dc}
23 \documentclass[a4paper,fleqn]{cas-dc}
24
25 %\usepackage[authoryear,longnamesfirst]{natbib}
26 %\usepackage[authoryear]{natbib}
27 \usepackage[numbers]{natbib}
28
29 %%%Author definitions
30 \def\tsc#1{\csdef{#1}{\textsc{\lowercase{#1}}\xspace}}
31 \tsc{WGM}
32 \tsc{QE}
33 \tsc{EP}
34 \tsc{PMS}
35 \tsc{BEC}
36 \tsc{DE}
37 %%%
38
39 \begin{document}
40 \let\WriteBookmarks\relax
41 \def\floatpagepagefraction{1}
42 \def\textpagefraction{.001}
43 \shorttitle{Leveraging social media news}
44 \shortauthors{J.K. Krishnan et~al.}
45
46 \title [mode = title]{This is a specimen $a_b$ title}
47 \tnotemark[1,2]
48
49 \tnotetext[1]{This document is the results of the research
50 project funded by the National Science Foundation.}
51
52 \tnotetext[2]{The second title footnote which is a longer text matter
53 to fill through the whole text width and overflow into
54 another line in the footnotes area of the first page.}
55
56
57 \author[1,3]{J.K. Krishnan}[type=editor,
58 auid=000,bioid=1,
59 prefix=Sir,
60 role=Researcher,
61 orcid=0000-0001-0000-0000]
62 \cormark[1]
63 \fnmark[1]
64 \ead{[email protected]}
65 \ead[url]{www.jkkrishnan.in}
66
67 \credit{Conceptualization of this study, Methodology, Software}
68
69 %\address[1]{, Street 129, 1043 NX Amsterdam, The Netherlands}
70 \affiliation[1]{organization={Department of Physics, J.K. Institute of Science},
71 addressline={Jawahar Nagar},
72 city={Trivandrum},
73 % citysep={}, % Uncomment if no comma needed between city and postcode
74 postcode={695013},
75 state={Kerala},
76 country={India}}
77
78 \author[2,4]{Han Thane}[style=chinese]
79
80 \author[2,3]{William {J. Hansen}}[%
81 role=Co-ordinator,
82 suffix=Jr,
83 ]
84 \fnmark[2]
85 \ead{[email protected]}
86 \ead[URL]{https://www.university.org}
87
88 \credit{Data curation, Writing - Original draft preparation}
89
90 \affiliation[2]{organization={World Scientific University},
91 addressline={Street 29},
92 postcode={1011 NX},
93 postcodesep={},
94 city={Amsterdam},
95 country={The Netherlands}}
96
97 \author[1,3]{T. Rafeeq}
98 \cormark[2]
99 \fnmark[1,3]
100 \ead{[email protected]}
101 \ead[URL]{www.campus.in}
102
103 \affiliation[3]{organization={University of Intelligent Studies},
104 addressline={Street 15},
105 city={Jabaldesh},
106 postcode={825001},
107 state={Orissa},
108 country={India}}
109
110 \cortext[cor1]{Corresponding author}
111 \cortext[cor2]{Principal corresponding author}
112 \fntext[fn1]{This is the first author footnote, but is common to third
113 author as well.}
114 \fntext[fn2]{Another author footnote, this is a very long footnote and
115 it should be a really long footnote. But this footnote is not yet
116 sufficiently long enough to make two lines of footnote text.}
117
118 \nonumnote{This note has no numbers. In this work we demonstrate $a_b$
119 the formation Y\_1 of a new type of polariton on the interface
120 between a cuprous oxide slab and a polystyrene micro-sphere placed
121 on the slab.
122 }
123
124 \begin{abstract}
125 This template helps you to create a properly formatted \LaTeX\ manuscript.
126
127 \noindent\texttt{\textbackslash begin{abstract}} \dots
128 \texttt{\textbackslash end{abstract}} and
129 \verb+\begin{keyword}+ \verb+...+ \verb+\end{keyword}+
130 which
131 contain the abstract and keywords respectively.
132
133 \noindent Each keyword shall be separated by a \verb+\sep+ command.
134 \end{abstract}
135
136 \begin{graphicalabstract}
137 \includegraphics{figs/cas-grabs.pdf}
138 \end{graphicalabstract}
139
140 \begin{highlights}
141 \item Research highlights item 1
142 \item Research highlights item 2
143 \item Research highlights item 3
144 \end{highlights}
145
146 \begin{keywords}
147 quadrupole exciton \sep polariton \sep \WGM \sep \BEC
148 \end{keywords}
149
150
151 \maketitle
152
153 \section{Introduction}
154
155 The Elsevier cas-dc class is based on the
156 standard article class and supports almost all of the functionality of
157 that class. In addition, it features commands and options to format the
158 \begin{itemize} \item document style \item baselineskip \item front
159 matter \item keywords and MSC codes \item theorems, definitions and
160 proofs \item lables of enumerations \item citation style and labeling.
161 \end{itemize}
162
163 This class depends on the following packages
164 for its proper functioning:
165
166 \begin{enumerate}
167 \itemsep=0pt
168 \item {natbib.sty} for citation processing;
169 \item {geometry.sty} for margin settings;
170 \item {fleqn.clo} for left aligned equations;
171 \item {graphicx.sty} for graphics inclusion;
172 \item {hyperref.sty} optional packages if hyperlinking is
173 required in the document;
174 \end{enumerate}
175
176 All the above packages are part of any
177 standard \LaTeX{} installation.
178 Therefore, the users need not be
179 bothered about downloading any extra packages.
180
181 \section{Installation}
182
183 The package is available at author resources page at Elsevier
184 (\url{http://www.elsevier.com/locate/latex}).
185 The class may be moved or copied to a place, usually,\linebreak
186 \verb+$TEXMF/tex/latex/elsevier/+, %$%%%%%%%%%%%%%%%%%%%%%%%%%%%%
187 or a folder which will be read
188 by \LaTeX{} during document compilation. The \TeX{} file
189 database needs updation after moving/copying class file. Usually,
190 we use commands like \verb+mktexlsr+ or \verb+texhash+ depending
191 upon the distribution and operating system.
192
193 \section{Front matter}
194
195 The author names and affiliations could be formatted in two ways:
196 \begin{enumerate}[(1)]
197 \item Group the authors per affiliation.
198 \item Use footnotes to indicate the affiliations.
199 \end{enumerate}
200 See the front matter of this document for examples.
201 You are recommended to conform your choice to the journal you
202 are submitting to.
203
204 \section{Bibliography styles}
205
206 There are various bibliography styles available. You can select the
207 style of your choice in the preamble of this document. These styles are
208 Elsevier styles based on standard styles like Harvard and Vancouver.
209 Please use Bib\TeX\ to generate your bibliography and include DOIs
210 whenever available.
211
212 Here are two sample references:
213 \cite{Fortunato2010}
214 \cite{Fortunato2010,NewmanGirvan2004}
215 \cite{Fortunato2010,Vehlowetal2013}
216
217 \section{Floats}
218 {Figures} may be included using the command,\linebreak
219 \verb+\includegraphics+ in
220 combination with or without its several options to further control
221 graphic. \verb+\includegraphics+ is provided by {graphic[s,x].sty}
222 which is part of any standard \LaTeX{} distribution.
223 {graphicx.sty} is loaded by default. \LaTeX{} accepts figures in
224 the postscript format while pdf\LaTeX{} accepts {*.pdf},
225 {*.mps} (metapost), {*.jpg} and {*.png} formats.
226 pdf\LaTeX{} does not accept graphic files in the postscript format.
227
228 \begin{figure}
229 \centering
230 \includegraphics[width=.9\columnwidth]{figs/cas-munnar-2024.jpg}
231 \caption{The beauty of Munnar, Kerala. (See also Table \protect\ref{tbl1}).}
232 \label{FIG:1}
233 \end{figure}
234
235
236 The \verb+table+ environment is handy for marking up tabular
237 material. If users want to use {multirow.sty},
238 {array.sty}, etc., to fine control/enhance the tables, they
239 are welcome to load any package of their choice and
240 {cas-dc.cls} will work in combination with all loaded
241 packages.
242
243 \begin{table}[width=.9\linewidth,cols=4,pos=h]
244 \caption{This is a test caption. This is a test caption. This is a test
245 caption. This is a test caption. Use \{table*\} instead of \{table\} if you
246 want a two column spanned table.}\label{tbl1}
247 \begin{tabular*}{\tblwidth}{@{} LLLL@{} }
248 \toprule
249 Col 1 & Col 2 & Col 3 & Col4\\
250 \midrule
251 12345 & 12345 & 123 & 12345 \\
252 12345 & 12345 & 123 & 12345 \\
253 12345 & 12345 & 123 & 12345 \\
254 12345 & 12345 & 123 & 12345 \\
255 12345 & 12345 & 123 & 12345 \\
256 \bottomrule
257 \end{tabular*}
258 \end{table}
259
260 \section[Theorem and ...]{Theorem and theorem like environments}
261
262 {cas-dc.cls} provides a few shortcuts to format theorems and
263 theorem-like environments with ease. In all commands the options that
264 are used with the \verb+\newtheorem+ command will work exactly in the same
265 manner. {cas-dc.cls} provides three commands to format theorem or
266 theorem-like environments:
267
268 \begin{verbatim}
269 \newtheorem{theorem}{Theorem}
270 \newtheorem{lemma}[theorem]{Lemma}
271 \newdefinition{rmk}{Remark}
272 \newproof{pf}{Proof}
273 \newproof{pot}{Proof of Theorem \ref{thm2}}
274 \end{verbatim}
275
276
277 The \verb+\newtheorem+ command formats a
278 theorem in \LaTeX's default style with italicized font, bold font
279 for theorem heading and theorem number at the right hand side of the
280 theorem heading. It also optionally accepts an argument which
281 will be printed as an extra heading in parentheses.
282
283 \begin{verbatim}
284 \begin{theorem}
285 For system (8), consensus can be achieved with
286 $\|T_{\omega z}$ ...
287 \begin{eqnarray}\label{10}
288 ....
289 \end{eqnarray}
290 \end{theorem}
291 \end{verbatim}
292
293
294 \newtheorem{theorem}{Theorem}
295
296 \begin{theorem}
297 For system (8), consensus can be achieved with
298 $\|T_{\omega z}$ ...
299 \begin{eqnarray}\label{10}
300 ....
301 \end{eqnarray}
302 \end{theorem}
303
304 The \verb+\newdefinition+ command is the same in
305 all respects as its \verb+\newtheorem+ counterpart except that
306 the font shape is roman instead of italic. Both
307 \verb+\newdefinition+ and \verb+\newtheorem+ commands
308 automatically define counters for the environments defined.
309
310 The \verb+\newproof+ command defines proof environments with
311 upright font shape. No counters are defined.
312
313 \begin{figure*}
314 \centering
315 \includegraphics[width=.9\textwidth]{figs/cas-munnar-2024.jpg}
316 \caption{The beauty of Munnar, Kerala. (See also Table \protect\ref{tbl1}).}
317 \label{FIG:2}
318 \end{figure*}
319
320
321 \section[Enumerated ...]{Enumerated and Itemized Lists}
322 {cas-dc.cls} provides an extended list processing macros
323 which makes the usage a bit more user friendly than the default
324 \LaTeX{} list macros. With an optional argument to the
325 \verb+\begin{enumerate}+ command, you can change the list counter
326 type and its attributes.
327
328 \begin{verbatim}
329 \begin{enumerate}[1.]
330 \item The enumerate environment starts with an optional
331 argument `1.', so that the item counter will be suffixed
332 by a period.
333 \item You can use `a)' for alphabetical counter and '(i)'
334 for roman counter.
335 \begin{enumerate}[a)]
336 \item Another level of list with alphabetical counter.
337 \item One more item before we start another.
338 \item One more item before we start another.
339 \item One more item before we start another.
340 \item One more item before we start another.
341 \end{verbatim}
342
343 Further, the enhanced list environment allows one to prefix a
344 string like `step' to all the item numbers.
345
346 \begin{verbatim}
347 \begin{enumerate}[Step 1.]
348 \item This is the first step of the example list.
349 \item Obviously this is the second step.
350 \item The final step to wind up this example.
351 \end{enumerate}
352 \end{verbatim}
353
354 \section{Cross-references}
355 In electronic publications, articles may be internally
356 hyperlinked. Hyperlinks are generated from proper
357 cross-references in the article. For example, the words
358 \textcolor{black!80}{Fig.~1} will never be more than simple text,
359 whereas the proper cross-reference \verb+\ref{tiger}+ may be
360 turned into a hyperlink to the figure itself:
361 \textcolor{blue}{Fig.~1}. In the same way,
362 the words \textcolor{blue}{Ref.~[1]} will fail to turn into a
363 hyperlink; the proper cross-reference is \verb+\cite{Knuth96}+.
364 Cross-referencing is possible in \LaTeX{} for sections,
365 subsections, formulae, figures, tables, and literature
366 references.
367
368 \section{Bibliography}
369
370 Two bibliographic style files (\verb+*.bst+) are provided ---
371 {model1-num-names.bst} and {model2-names.bst} --- the first one can be
372 used for the numbered scheme. This can also be used for the numbered
373 with new options of {natbib.sty}. The second one is for the author year
374 scheme. When you use model2-names.bst, the citation commands will be
375 like \verb+\citep+, \verb+\citet+, \verb+\citealt+ etc. However when
376 you use model1-num-names.bst, you may use only \verb+\cite+ command.
377
378 \verb+thebibliography+ environment. Each reference is a\linebreak
379 \verb+\bibitem+ and each \verb+\bibitem+ is identified by a label,
380 by which it can be cited in the text:
381
382 \noindent In connection with cross-referencing and
383 possible future hyperlinking it is not a good idea to collect
384 more that one literature item in one \verb+\bibitem+. The
385 so-called Harvard or author-year style of referencing is enabled
386 by the \LaTeX{} package {natbib}. With this package the
387 literature can be cited as follows:
388
389 \begin{enumerate}[\textbullet]
390 \item Parenthetical: \verb+\citep{WB96}+ produces (Wettig \& Brown, 1996).
391 \item Textual: \verb+\citet{ESG96}+ produces Elson et al. (1996).
392 \item An affix and part of a reference:\break
393 \verb+\citep[e.g.][Ch. 2]{Gea97}+ produces (e.g. Governato et
394 al., 1997, Ch. 2).
395 \end{enumerate}
396
397 In the numbered scheme of citation, \verb+\cite{<label>}+ is used,
398 since \verb+\citep+ or \verb+\citet+ has no relevance in the numbered
399 scheme. {natbib} package is loaded by {cas-dc} with
400 \verb+numbers+ as default option. You can change this to author-year
401 or harvard scheme by adding option \verb+authoryear+ in the class
402 loading command. If you want to use more options of the {natbib}
403 package, you can do so with the \verb+\biboptions+ command. For
404 details of various options of the {natbib} package, please take a
405 look at the {natbib} documentation, which is part of any standard
406 \LaTeX{} installation.
407
408 \appendix
409 \section{My Appendix}
410 Appendix sections are coded under \verb+\appendix+.
411
412 \verb+\printcredits+ command is used after appendix sections to list
413 author credit taxonomy contribution roles tagged using \verb+\credit+
414 in frontmatter.
415
416 \printcredits
417
418 %% Loading bibliography style file
419 %\bibliographystyle{model1-num-names}
420 \bibliographystyle{cas-model2-names}
421
422 % Loading bibliography database
423 \bibliography{cas-refs}
424
425
426 %\vskip3pt
427
428 \bio{}
429 Author biography without author photo.
430 Author biography. Author biography. Author biography.
431 Author biography. Author biography. Author biography.
432 Author biography. Author biography. Author biography.
433 Author biography. Author biography. Author biography.
434 Author biography. Author biography. Author biography.
435 Author biography. Author biography. Author biography.
436 Author biography. Author biography. Author biography.
437 Author biography. Author biography. Author biography.
438 Author biography. Author biography. Author biography.
439 \endbio
440
441 \bio{figs/cas-pic1}
442 Author biography with author photo.
443 Author biography. Author biography. Author biography.
444 Author biography. Author biography. Author biography.
445 Author biography. Author biography. Author biography.
446 Author biography. Author biography. Author biography.
447 Author biography. Author biography. Author biography.
448 Author biography. Author biography. Author biography.
449 Author biography. Author biography. Author biography.
450 Author biography. Author biography. Author biography.
451 Author biography. Author biography. Author biography.
452 \endbio
453
454 \bio{figs/cas-pic1}
455 Author biography with author photo.
456 Author biography. Author biography. Author biography.
457 Author biography. Author biography. Author biography.
458 Author biography. Author biography. Author biography.
459 Author biography. Author biography. Author biography.
460 \endbio
461
462 \end{document}
463