├── README.md ├── doc ├── 1pseperateaug.pdf ├── 1psingleauthorgroup.pdf ├── elsdoc.pdf ├── elsdoc.tex ├── elstest-1p.pdf ├── elstest-1pdoubleblind.pdf ├── elstest-3p.pdf ├── elstest-3pd.pdf ├── elstest-5p.pdf ├── jfigs.pdf ├── makefile ├── pdfwidgets.sty └── rvdtx.sty ├── elsarticle-harv.bst ├── elsarticle-num-names.bst ├── elsarticle-num.bst ├── elsarticle-template-harv.tex ├── elsarticle-template-num-names.tex ├── elsarticle-template-num.pdf ├── elsarticle-template-num.tex ├── elsarticle.cls ├── elsarticle.cls └── readme.txt ├── elsarticle.dtx ├── elsarticle.ins ├── manifest.txt └── ref.bib /README.md: -------------------------------------------------------------------------------- 1 | This is Elsevier's new document class for typeset journal articles, 2 | elsarticle.cls. It is now accepted for submitted articles, both in 3 | Elsevier's electronic submission system and elsewhere. 4 | 5 | Elsevier's previous document class for typeset articles, elsart.cls, 6 | is now over 10 years old. It has been replaced with this newly written 7 | document class elsarticle.cls, which has been developed for Elsevier 8 | by the leading TeX developer STM Document Engineering Pvt Ltd. 9 | 10 | elsarticle.cls is based upon the standard LaTeX document class 11 | article.cls. It uses natbib.sty for bibliographical references. 12 | 13 | Bugs and problems with elsarticle.cls may be reported to the 14 | developers of the class via elsarticle@stmdocs.in. 15 | 16 | The file manifest.txt provides a list of the files in the elsarticle 17 | bundle. The following are the main files available: 18 | - elsarticle.dtx, the dtx file 19 | - elsdoc.pdf, the user documentation 20 | - elsarticle-template-num.tex, template file for numerical citations 21 | - elsarticle-template-harv.tex, template file for name-year citations 22 | - elsarticle-template-num-names.tex, template file for numerical 23 | citations + new natbib option. Eg. Jones et al. [21] 24 | - elsarticle-num.bst, bibliographic style for numerical references 25 | - elsarticle-harv.bst, bibliographic style for name-year references 26 | - elsarticle-num-names.bst, bibliographic style for numerical 27 | referencces + new natbib option for citations. 28 | 29 | To extract elsarticle.cls from *.dtx: latex elsarticle.ins 30 | 31 | The documentation file is elsdoc.tex in the contrib directory. To 32 | compile it: 33 | 1. pdflatex elsdoc 34 | 2. pdflatex elsdoc 35 | 3. pdflatex elsdoc 36 | 37 | or 38 | 39 | use the makefile. Use the target `all' (eg: make all). 40 | 41 | The above procedure will create a print version, namely elsdoc.pdf. 42 | 43 | Copyright 2007-2020, Elsevier. Bugs, feature requests, suggestions and 44 | comments may be mailed to elsarticle@stmdocs.in. elsarticle.cls, 45 | related documentation and supporting packages are released under the 46 | LATEX Project Public Licence, either version 1.3 or any later 47 | version. This work has the LPPL maintenance status 48 | 'author-maintained'. 49 | -------------------------------------------------------------------------------- /doc/1pseperateaug.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaoyz96/elsarticle/b014b054b29fd66f019553cb48a9ae7627238327/doc/1pseperateaug.pdf -------------------------------------------------------------------------------- /doc/1psingleauthorgroup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaoyz96/elsarticle/b014b054b29fd66f019553cb48a9ae7627238327/doc/1psingleauthorgroup.pdf -------------------------------------------------------------------------------- /doc/elsdoc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaoyz96/elsarticle/b014b054b29fd66f019553cb48a9ae7627238327/doc/elsdoc.pdf -------------------------------------------------------------------------------- /doc/elsdoc.tex: -------------------------------------------------------------------------------- 1 | %% 2 | %% Copyright 2007-2020 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.2 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.2 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 | %% $Id: elsdoc.tex 192 2020-11-23 11:14:41Z rishi $ 18 | %% 19 | \documentclass[a4paper,12pt]{article} 20 | 21 | \usepackage[xcolor,qtwo]{rvdtx} 22 | \usepackage{multicol} 23 | \usepackage{color} 24 | \usepackage{xspace} 25 | \usepackage{pdfwidgets} 26 | \usepackage{enumerate} 27 | 28 | \def\ttdefault{cmtt} 29 | 30 | \headsep4pc 31 | 32 | \makeatletter 33 | \def\bs{\expandafter\@gobble\string\\} 34 | \def\lb{\expandafter\@gobble\string\{} 35 | \def\rb{\expandafter\@gobble\string\}} 36 | \def\@pdfauthor{C.V.Radhakrishnan} 37 | \def\@pdftitle{elsarticle.cls -- A documentation} 38 | \def\@pdfsubject{Document formatting with elsarticle.cls} 39 | \def\@pdfkeywords{LaTeX, Elsevier Ltd, document class} 40 | \def\file#1{\textsf{#1}\xspace} 41 | 42 | %\def\LastPage{19} 43 | 44 | \DeclareRobustCommand{\LaTeX}{L\kern-.26em% 45 | {\sbox\z@ T% 46 | \vbox to\ht\z@{\hbox{\check@mathfonts 47 | \fontsize\sf@size\z@ 48 | \math@fontsfalse\selectfont 49 | A\,}% 50 | \vss}% 51 | }% 52 | \kern-.15em% 53 | \TeX} 54 | \makeatother 55 | 56 | \def\figurename{Clip} 57 | 58 | \setcounter{tocdepth}{1} 59 | 60 | \begin{document} 61 | 62 | \def\testa{This is a specimen document. } 63 | \def\testc{\testa\testa\testa\testa} 64 | \def\testb{\testc\testc\testc\testc\testc} 65 | \long\def\test{\testb\par\testb\par\testb\par} 66 | 67 | \pinclude{\copy\contbox\printSq{\LastPage}} 68 | 69 | \title{elsarticle.cls -- A better way to format your document} 70 | 71 | \author{Elsevier Ltd} 72 | \contact{elsarticle@stmdocs.in} 73 | 74 | \version{3.3} 75 | \date{\today} 76 | \maketitle 77 | 78 | \section{Introduction} 79 | 80 | \file{elsarticle.cls} is a thoroughly re-written document class 81 | for formatting \LaTeX{} submissions to Elsevier journals. 82 | The class uses the environments and commands defined in \LaTeX{} kernel 83 | without any change in the signature so that clashes with other 84 | contributed \LaTeX{} packages such as \file{hyperref.sty}, 85 | \file{preview-latex.sty}, etc., will be minimal. 86 | \file{elsarticle.cls} is primarily built upon the default 87 | \file{article.cls}. This class depends on the following packages 88 | for its proper functioning: 89 | 90 | \begin{enumerate} 91 | \item \file{natbib.sty} for citation processing; 92 | \item \file{geometry.sty} for margin settings; 93 | \item \file{fleqn.clo} for left aligned equations; 94 | \item \file{graphicx.sty} for graphics inclusion; 95 | \item \file{txfonts.sty} optional font package, if the document is to 96 | be formatted with Times and compatible math fonts; 97 | \item \file{hyperref.sty} optional packages if hyperlinking is 98 | required in the document; 99 | %*% 100 | \item \file{endfloat.sty} optional packages if floats to be placed at 101 | end of the PDF. 102 | \end{enumerate} 103 | 104 | All the above packages (except some optional packages) are part of any 105 | standard \LaTeX{} installation. Therefore, the users need not be 106 | bothered about downloading any extra packages. Furthermore, users are 107 | free to make use of \textsc{ams} math packages such as 108 | \file{amsmath.sty}, \file{amsthm.sty}, \file{amssymb.sty}, 109 | \file{amsfonts.sty}, etc., if they want to. All these packages work in 110 | tandem with \file{elsarticle.cls} without any problems. 111 | 112 | \section{Major Differences} 113 | 114 | Following are the major differences between \file{elsarticle.cls} 115 | and its predecessor package, \file{elsart.cls}: 116 | 117 | \begin{enumerate}[\textbullet] 118 | \item \file{elsarticle.cls} is built upon \file{article.cls} 119 | while \file{elsart.cls} is not. \file{elsart.cls} redefines 120 | many of the commands in the \LaTeX{} classes/kernel, which can 121 | possibly cause surprising clashes with other contributed 122 | \LaTeX{} packages; 123 | 124 | \item provides preprint document formatting by default, and 125 | optionally formats the document as per the final 126 | style of models $1+$, $3+$ and $5+$ of Elsevier journals; 127 | 128 | \item some easier ways for formatting \verb+list+ and 129 | \verb+theorem+ environments are provided while people can still 130 | use \file{amsthm.sty} package; 131 | 132 | \item \file{natbib.sty} is the main citation processing package 133 | which can comprehensively handle all kinds of citations and 134 | works perfectly with \file{hyperref.sty} in combination with 135 | \file{hypernat.sty}; 136 | 137 | \item long title pages are processed correctly in preprint and 138 | final formats. 139 | 140 | \end{enumerate} 141 | 142 | \section{Installation} 143 | 144 | The package is available at author resources page at Elsevier 145 | (\url{http://www.elsevier.com/locate/latex}). 146 | It can also be found in any of the nodes of the Comprehensive 147 | \TeX{} Archive Network (\textsc{ctan}), one of the primary nodes 148 | being 149 | \url{http://tug.ctan.org/tex-archive/macros/latex/contrib/elsarticle/}. 150 | Please download the \file{elsarticle.dtx} which is a composite 151 | class with documentation and \file{elsarticle.ins} which is the 152 | \LaTeX{} installer file. When we compile the 153 | \file{elsarticle.ins} with \LaTeX{} it provides the class file, 154 | \file{elsarticle.cls} by 155 | stripping off all the documentation from the \verb+*.dtx+ file. 156 | The class may be moved or copied to a place, usually, 157 | \verb+$TEXMF/tex/latex/elsevier/+, %$%%%%%%%%%%%%%%%%%%%%%%%%%%%% 158 | or a folder which will be read 159 | by \LaTeX{} during document compilation. The \TeX{} file 160 | database needs updation after moving/copying class file. Usually, 161 | we use commands like \verb+mktexlsr+ or \verb+texhash+ depending 162 | upon the distribution and operating system. 163 | 164 | 165 | \section{Usage}\label{sec:usage} 166 | The class should be loaded with the command: 167 | 168 | \begin{vquote} 169 | \documentclass[]{elsarticle} 170 | \end{vquote} 171 | 172 | \noindent where the \verb+options+ can be the following: 173 | 174 | 175 | \begin{description} 176 | 177 | \item [{\tt\color{verbcolor} preprint}] default option which format the 178 | document for submission to Elsevier journals. 179 | 180 | \item [{\tt\color{verbcolor} review}] similar to the \verb+preprint+ 181 | option, but increases the baselineskip to facilitate easier review 182 | process. 183 | 184 | \item [{\tt\color{verbcolor} 1p}] formats the article to the look and 185 | feel of the final format of model 1+ journals. This is always single 186 | column style. 187 | 188 | \item [{\tt\color{verbcolor} 3p}] formats the article to the look and 189 | feel of the final format of model 3+ journals. If the journal is a two 190 | column model, use \verb+twocolumn+ option in combination. 191 | 192 | \item [{\tt\color{verbcolor} 5p}] formats for model 5+ journals. This 193 | is always of two column style. 194 | 195 | \item [{\tt\color{verbcolor} authoryear}] author-year citation style of 196 | \file{natbib.sty}. If you want to add extra options of 197 | \file{natbib.sty}, you may use the options as comma delimited strings 198 | as arguments to \verb+\biboptions+ command. An example would be: 199 | \end{description} 200 | 201 | \begin{vquote} 202 | \biboptions{longnamesfirst,angle,semicolon} 203 | \end{vquote} 204 | 205 | \begin{description} 206 | \item [{\tt\color{verbcolor} number}] numbered citation style. Extra options 207 | can be loaded with\linebreak \verb+\biboptions+ command. 208 | 209 | \item [{\tt\color{verbcolor} sort\&compress}] sorts and compresses the 210 | numbered citations. For example, citation [1,2,3] will become [1--3]. 211 | 212 | \item [{\tt\color{verbcolor} longtitle}] if front matter is unusually long, use 213 | this option to split the title page across pages with the correct 214 | placement of title and author footnotes in the first page. 215 | 216 | \item [{\tt\color{verbcolor} times}] loads \file{txfonts.sty}, if 217 | available in the system to use Times and compatible math fonts. 218 | 219 | %*% 220 | \item [{\tt\color{verbcolor} reversenotenum}] Use alphabets as 221 | author--affiliation linking labels and use numbers for author 222 | footnotes. By default, numbers will be used as author--affiliation 223 | linking labels and alphabets for author footnotes. 224 | 225 | \item [{\tt\color{verbcolor} lefttitle}] To move title and 226 | author/affiliation block to flushleft. \verb+centertitle+ is the 227 | default option which produces center alignment. 228 | 229 | \item [{\tt\color{verbcolor} endfloat}] To place all floats at the end 230 | of the document. 231 | 232 | \item [{\tt\color{verbcolor} nonatbib}] To unload natbib.sty. 233 | %*% 234 | 235 | \item [{\tt\color{verbcolor} doubleblind}] To hide author name, 236 | affiliation, email address etc. for double blind refereeing purpose. 237 | %*% 238 | 239 | \item[] All options of \file{article.cls} can be used with this 240 | document class. 241 | 242 | \item[] The default options loaded are \verb+a4paper+, \verb+10pt+, 243 | \verb+oneside+, \verb+onecolumn+ and \verb+preprint+. 244 | 245 | \end{description} 246 | 247 | \section{Frontmatter} 248 | 249 | There are two types of frontmatter coding: 250 | \begin{enumerate}[(1)] 251 | \item each author is 252 | connected to an affiliation with a footnote marker; hence all 253 | authors are grouped together and affiliations follow; 254 | \pagebreak 255 | \item authors of same affiliations are grouped together and the 256 | relevant affiliation follows this group. 257 | \end{enumerate} 258 | 259 | An example of coding the first type is provided below. 260 | 261 | \begin{vquote} 262 | \title{This is a specimen title\tnoteref{t1,t2}} 263 | \tnotetext[t1]{This document is the results of the research 264 | project funded by the National Science Foundation.} 265 | \tnotetext[t2]{The second title footnote which is a longer 266 | text matter to fill through the whole text width and 267 | overflow into another line in the footnotes area of the 268 | first page.} 269 | \end{vquote} 270 | 271 | \begin{vquote} 272 | \author[1]{Jos Migchielsen\corref{cor1}% 273 | \fnref{fn1}} 274 | \ead{J.Migchielsen@elsevier.com} 275 | 276 | \author[2]{CV Radhakrishnan\fnref{fn2}} 277 | \ead{cvr@sayahna.org} 278 | 279 | \author[3]{CV Rajagopal\fnref{fn1,fn3}} 280 | \ead[url]{www.stmdocs.in} 281 | 282 | \cortext[cor1]{Corresponding author} 283 | \fntext[fn1]{This is the first author footnote.} 284 | \fntext[fn2]{Another author footnote, this is a very long 285 | footnote and it should be a really long footnote. But this 286 | footnote is not yet sufficiently long enough to make two 287 | lines of footnote text.} 288 | \fntext[fn3]{Yet another author footnote.} 289 | 290 | \affiliation[1]{organization={Elsevier B.V.}, 291 | addressline={Radarweg 29}, 292 | postcode={1043 NX}, 293 | city={Amsterdam}, 294 | country={The Netherlands}} 295 | 296 | \affiliation[2]{organization={Sayahna Foundation}, 297 | addressline={JWRA 34, Jagathy}, 298 | city={Trivandrum} 299 | postcode={695014}, 300 | country={India}} 301 | \end{vquote} 302 | 303 | \begin{vquote} 304 | 305 | \affiliation[3]{organization={STM Document Engineering 306 | Pvt Ltd.}, 307 | addressline={Mepukada, Malayinkil}, 308 | city={Trivandrum} 309 | postcode={695571}, 310 | country={India}} 311 | \end{vquote} 312 | 313 | The output of the above \TeX{} source is given in Clips~\ref{clip1} and 314 | \ref{clip2}. The header portion or title area is given in 315 | Clip~\ref{clip1} and the footer area is given in Clip~\ref{clip2}. 316 | 317 | \def\rulecolor{blue!70} 318 | \src{Header of the title page.} 319 | \includeclip{1}{130 612 477 707}{1psingleauthorgroup.pdf}%%{elstest-1p.pdf}%single author group 320 | \def\rulecolor{orange} 321 | 322 | \def\rulecolor{blue!70} 323 | \src{Footer of the title page.} 324 | \includeclip{1}{93 135 499 255}{1pseperateaug.pdf}%%{elstest-1p.pdf}%single author group 325 | \def\rulecolor{orange} 326 | 327 | Most of the commands such as \verb+\title+, \verb+\author+, 328 | \verb+\affiliation+ are self explanatory. Various components are 329 | linked to each other by a label--reference mechanism; for 330 | instance, title footnote is linked to the title with a footnote 331 | mark generated by referring to the \verb+\label+ string of 332 | the \verb=\tnotetext=. We have used similar commands 333 | such as \verb=\tnoteref= (to link title note to title); 334 | \verb=\corref= (to link corresponding author text to 335 | corresponding author); \verb=\fnref= (to link footnote text to 336 | the relevant author names). \TeX{} needs two compilations to 337 | resolve the footnote marks in the preamble part. 338 | Given below are the syntax of various note marks and note texts. 339 | 340 | 341 | \begin{vquote} 342 | \tnoteref{} 343 | \corref{} 344 | \fnref{} 345 | \tnotetext[