I'm using the elsarticle documentclass for my paper. Beneath title and author, number of figures, tables etc. is requested on the titlepage. How can I write extra text in the frontmatter area? For example:
"Number of pages: ; Number of figures: ; Number of tables:
Number of words in the abstract: ; introduction: ; discussion:
Total number of words in the text:
Conflict of interest:"
\documentclass[preprint, authoryear]{elsarticle}
\bibliographystyle{annesstyle}
\begin{document}
\begin{frontmatter}
\title{title}
\author[firstaddress]{Aaddress}
\author[secondaddress]{address}
\author[thirdaddress]{Haddress}
\author[thirdaddress]{address}
\author[thirdaddress]{address}
\author[thirdaddress,firstaddress]{address}
\address{Address for correspondance:}
\address[firstaddress]{address}
\address[secondaddress]{address}
\begin{abstract}abstract\end{abstract}
\begin{keyword}keywords\end{keyword}
\end{frontmatter}
\section{References}
\bibliography{mybib}
\end{document}
Best Answer
If you use the
preprint
style, here's a patch:Here's the way to have the extra information before the abstract:
The text in the second arguments of
\patchcmd
is the code that we want to replace in the definition of\pprintMaketitle
with the code contained in the third argument. It's easier than copying the entire definition and modifying it.