I'm trying to compile an article using the elsarticle
document class. The references work ok, but I can't get the article to show the References section title and I don't know why.
Here's a very small working example of my files. Main .tex
file:
\documentclass[final,5p,times,twocolumn]{elsarticle}
\journal{Elsevier Journal}
\begin{document}
\begin{frontmatter}
\title{The title}
\author[first]{Author}
\address[first]{}
\begin{abstract}
The abstract.
\end{abstract}
\end{frontmatter}
\bibliographystyle{elsarticle-num}
\section{Introduction}
The intro \citep{areference}.
\section{One section}
Some text in this section.
\section{Last section}
Some more text in this other section.
\bibliography{biblio}
\end{document}
the biblio.bib
file looks like this:
@article{areference,
title = {{Ref title}},
volume = {3},
journal = {Some journal},
author = {Last, A. B.},
year = {1999},
pages = {1-2},
}
And this is the output:
My compilation command is this:
pdflatex "%f" && bibtex "%e" && pdflatex "%f" && pdflatex "%f"
What am I doing wrong?
Best Answer
This is the expected behavior with this class. If you look in the template they provide, the
elsarticle-template.tex
file, you should see 4 lines before the end of the file: