Elsarticle frontmatter corresponding author
It is a bug in the 2009 version, which is the one in the 2012 TeXlive. When no address label is specified the correspondng \@author
command forgets to reset the \@corref
variable. You can fix this by adding in such a reset as follows:
\documentclass[preprint,12pt]{elsarticle}
\makeatletter
\def\@author#1{\g@addto@macro\elsauthors{\normalsize%
\def\baselinestretch{1}%
\upshape\authorsep#1\unskip\textsuperscript{%
\ifx\@fnmark\@empty\else\unskip\sep\@fnmark\let\sep=,\fi
\ifx\@corref\@empty\else\unskip\sep\@corref\let\sep=,\fi
}%
\def\authorsep{\unskip,\space}%
\global\let\@fnmark\@empty
\global\let\@corref\@empty %% Added
\global\let\sep\@empty}%
\@eadauthor={#1}
}
\makeatother
\begin{document}
\begin{frontmatter}
\title{Title}
\author{Author One\corref{cor1}\fnref{fn1}}
\ead{[email protected]}
\cortext[cor1]{Corresponding author}
\fntext[fn1]{Student}
\author{Author Two\fnref{fn2}}
\ead{[email protected]}
\fntext[fn2]{Lecturer}
\address{Address Here}
\begin{abstract}
Abstract abstract abstract
\end{abstract}
\end{frontmatter}
\section{Section1}
Start typing...
\end{document}
Just add a \corrref to every author (with different labels) and just call the author you need.
\author{J.~Martinez}
\author{F.~Julio\corref{cor1}}
\ead{[email protected]}
\author{N.~Vasquez\corref{cor2}}
\author{H.~Cardenas\corref{cor2}}
\cortext[cor1]{Corresponding author}
Or more simply just download the newest elsarticle.cls from Elsevier (here) and explicitly reference it at the beginning of the doc, ala
\documentclass[review]{./style/elsarticle}
Worked perfectly for me.