I am using the elsarticle document type.
\documentclass[preprint,1p,times]{elsarticle}
\begin{document}
\begin{thebibliography}{9}
\bibitem{myref2003} 2003, my reference
\end{thebibliography}
\end{document}
I have two problems:
1) the bibliography appears without the section header "References"
2) The bibliography appears with font of the same size as footnotes
This has not always been the case. Initially things were working ok. At some point I tried to import the natbib package and the problem started. I have since removed the natbib package and deleted all temporary files, but the problem remains.
How can I fix or debug the problem? Thanks
Best Answer
Both "issues" seem to originate from the latest version of
elsarticle
. At some time, your LaTeX distribution may have updatedelsarticle
to the faulty version, which would explain why the issues weren't there in the beginning.Missing section header
The issue has already been discussed there. I quote the answer:
The link above also points to an updated version of
elsarticle
from 2011, which also fixes the issue: http://download.river-valley.com/elsarticle/elsarticle-v1.21-ELS.zip.However, although the updated package seems to originate from the official
elsarticle
developers, it hasn't been uploaded to the CTAN, or MikTeX package manager for example, which still use the faulty 2009 version.Bibliography font size
Not sure if it's an issue.
elsarticle
redefines the bibliography font size for options1p
,3p
and5p
:You can change it by adding to your preamble:
or whatever font size you want.
Fixed example
which gives:
or, with the updated
elsarticle
class (to make it quick, you can extract theelsarticle.cls
file and add it in the same folder as your.tex
file):