summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/elsarticle/elsarticle-template-num.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-04-10 03:00:55 +0000
committerNorbert Preining <norbert@preining.info>2024-04-10 03:00:55 +0000
commitf58130da9ab2f6181b0b2ca4e02895b11d902e20 (patch)
tree3e7d142983aab069b10f920bb36a95b9fb1af620 /macros/latex/contrib/elsarticle/elsarticle-template-num.tex
parenteb49829734b61c8d5a80ff94393e6c28739ee969 (diff)
CTAN sync 202404100300
Diffstat (limited to 'macros/latex/contrib/elsarticle/elsarticle-template-num.tex')
-rw-r--r--macros/latex/contrib/elsarticle/elsarticle-template-num.tex150
1 files changed, 131 insertions, 19 deletions
diff --git a/macros/latex/contrib/elsarticle/elsarticle-template-num.tex b/macros/latex/contrib/elsarticle/elsarticle-template-num.tex
index 6852a7e5c1..4cd4bbe747 100644
--- a/macros/latex/contrib/elsarticle/elsarticle-template-num.tex
+++ b/macros/latex/contrib/elsarticle/elsarticle-template-num.tex
@@ -1,28 +1,23 @@
%%
-%% Copyright 2007-2020 Elsevier Ltd
+%% Copyright 2007-2024 Elsevier Ltd
%%
%% This file is part of the 'Elsarticle Bundle'.
%% ---------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
-%% License, either version 1.2 of this license or (at your option) any
+%% License, either version 1.3 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
-%% and version 1.2 or later is part of all distributions of LaTeX
+%% and version 1.3 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'Elsarticle Bundle' is
%% given in the file `manifest.txt'.
%%
-
%% Template article for Elsevier's document class `elsarticle'
%% with numbered style bibliographic references
%% SP 2008/03/01
-%%
-%%
-%%
-%% $Id: elsarticle-template-num.tex 190 2020-11-23 11:12:32Z rishi $
-%%
+%% $Id: elsarticle-template-num.tex 249 2024-04-06 10:51:24Z rishi $
%%
\documentclass[preprint,12pt]{elsarticle}
@@ -44,6 +39,8 @@
%% The amssymb package provides various useful mathematical symbols
\usepackage{amssymb}
+%% The amsmath package provides various useful equation environments.
+\usepackage{amsmath}
%% The amsthm package provides extended theorem environments
%% \usepackage{amsthm}
@@ -62,7 +59,7 @@
%% use the tnoteref command within \title for footnotes;
%% use the tnotetext command for theassociated footnote;
-%% use the fnref command within \author or \address for footnotes;
+%% use the fnref command within \author or \affiliation for footnotes;
%% use the fntext command for theassociated footnote;
%% use the corref command within \author for corresponding author footnotes;
%% use the cortext command for theassociated footnote;
@@ -101,8 +98,9 @@
%% state={},
%% country={}}
-\author{}
+\author{} %% Author name
+%% Author affiliation
\affiliation{organization={},%Department and Organization
addressline={},
city={},
@@ -110,9 +108,10 @@
state={},
country={}}
+%% Abstract
\begin{abstract}
%% Text of abstract
-
+Abstract text.
\end{abstract}
%%Graphical abstract
@@ -126,6 +125,7 @@
\item Research highlight 2
\end{highlights}
+%% Keywords
\begin{keyword}
%% keywords here, in the form: keyword \sep keyword
@@ -138,20 +138,122 @@
\end{frontmatter}
+%% Add \usepackage{lineno} before \begin{document} and uncomment
+%% following line to enable line numbers
%% \linenumbers
%% main text
-\section{}
-\label{}
+%%
+
+%% Use \section commands to start a section
+\section{Example Section}
+\label{sec1}
+%% Labels are used to cross-reference an item using \ref command.
+
+Section text. See Subsection \ref{subsec1}.
+
+%% Use \subsection commands to start a subsection.
+\subsection{Example Subsection}
+\label{subsec1}
+
+Subsection text.
+
+%% Use \subsubsection, \paragraph, \subparagraph commands to
+%% start 3rd, 4th and 5th level sections.
+%% Refer following link for more details.
+%% https://en.wikibooks.org/wiki/LaTeX/Document_Structure#Sectioning_commands
+
+\subsubsection{Mathematics}
+%% Inline mathematics is tagged between $ symbols.
+This is an example for the symbol $\alpha$ tagged as inline mathematics.
+
+%% Displayed equations can be tagged using various environments.
+%% Single line equations can be tagged using the equation environment.
+\begin{equation}
+f(x) = (x+a)(x+b)
+\end{equation}
+
+%% Unnumbered equations are tagged using starred versions of the environment.
+%% amsmath package needs to be loaded for the starred version of equation environment.
+\begin{equation*}
+f(x) = (x+a)(x+b)
+\end{equation*}
+
+%% align or eqnarray environments can be used for multi line equations.
+%% & is used to mark alignment points in equations.
+%% \\ is used to end a row in a multiline equation.
+\begin{align}
+ f(x) &= (x+a)(x+b) \\
+ &= x^2 + (a+b)x + ab
+\end{align}
+
+\begin{eqnarray}
+ f(x) &=& (x+a)(x+b) \nonumber\\ %% If equation numbering is not needed for a row use \nonumber.
+ &=& x^2 + (a+b)x + ab
+\end{eqnarray}
+
+%% Unnumbered versions of align and eqnarray
+\begin{align*}
+ f(x) &= (x+a)(x+b) \\
+ &= x^2 + (a+b)x + ab
+\end{align*}
+
+\begin{eqnarray*}
+ f(x)&=& (x+a)(x+b) \\
+ &=& x^2 + (a+b)x + ab
+\end{eqnarray*}
+
+%% Refer following link for more details.
+%% https://en.wikibooks.org/wiki/LaTeX/Mathematics
+%% https://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics
+
+%% Use a table environment to create tables.
+%% Refer following link for more details.
+%% https://en.wikibooks.org/wiki/LaTeX/Tables
+\begin{table}[t]%% placement specifier
+%% Use tabular environment to tag the tabular data.
+%% https://en.wikibooks.org/wiki/LaTeX/Tables#The_tabular_environment
+\centering%% For centre alignment of tabular.
+\begin{tabular}{l c r}%% Table column specifiers
+%% Tabular cells are separated by &
+ 1 & 2 & 3 \\ %% A tabular row ends with \\
+ 4 & 5 & 6 \\
+ 7 & 8 & 9 \\
+\end{tabular}
+%% Use \caption command for table caption and label.
+\caption{Table Caption}\label{fig1}
+\end{table}
+
+
+%% Use figure environment to create figures
+%% Refer following link for more details.
+%% https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
+\begin{figure}[t]%% placement specifier
+%% Use \includegraphics command to insert graphic files. Place graphics files in
+%% working directory.
+\centering%% For centre alignment of image.
+\includegraphics{example-image-a}
+%% Use \caption command for figure caption and label.
+\caption{Figure Caption}\label{fig1}
+%% https://en.wikibooks.org/wiki/LaTeX/Importing_Graphics#Importing_external_graphics
+\end{figure}
+
%% The Appendices part is started with the command \appendix;
%% appendix sections are then done as normal sections
-%% \appendix
+\appendix
+\section{Example Appendix Section}
+\label{app1}
-%% \section{}
-%% \label{}
+Appendix text.
-%% If you have bibdatabase file and want bibtex to generate the
+%% For citations use:
+%% \cite{<label>} ==> [1]
+
+%%
+Example citation, See \cite{lamport94}.
+
+%% If you have bib database file and want bibtex to generate the
%% bibitems, please use
%%
%% \bibliographystyle{elsarticle-num}
@@ -160,15 +262,25 @@
%% else use the following coding to input the bibitems directly in the
%% TeX file.
+%% Refer following link for more details about bibliography and citations.
+%% https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management
+
\begin{thebibliography}{00}
+%% For numbered reference style
%% \bibitem{label}
%% Text of bibliographic item
-\bibitem{}
+\bibitem{lamport94}
+ Leslie Lamport,
+ \textit{\LaTeX: a document preparation system},
+ Addison Wesley, Massachusetts,
+ 2nd edition,
+ 1994.
\end{thebibliography}
\end{document}
+
\endinput
%%
%% End of file `elsarticle-template-num.tex'.