31

I believe I have followed the template exactly but as this following MWE shows I am getting an asterisk on both authors and not just the corresponding author. Do I have something in the wrong order somewhere?

\documentclass[preprint,12pt]{elsarticle}

\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}

Thanks

4
  • 1
    Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format.
    – mafp
    Commented May 28, 2013 at 13:57
  • 2
    I get only one asterisk for the first author. If your MWE really shows asterisks for both authors, then maybe your elsarticle template is too old. I used version 1.20b.
    – mafp
    Commented May 28, 2013 at 14:01
  • I got elsarticle 2009/09/17, 1.2.0: Elsevier Ltd and it shows the described bug. Interestingly everything is fine, if only the second author is marked as corresponding author. It helps as well to move the info from the \fntext to \adress .. strange bug indeed. Commented May 28, 2013 at 14:05
  • Thank you for your comments. Even downloading the latest elsarticle (v1.21) from RVT I still get the same problem. I will resort to using the fix below. Commented May 29, 2013 at 9:45

3 Answers 3

26

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:

Sample output

\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}
1
  • 1
    I just had the same problem. This Q&A site is (nearly) perfect!!! Thank you!
    – Vicent
    Commented Jul 15, 2015 at 22:00
13

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}
3
  • This may answer the question, but a full document would be more explanatory, as well as a screenshot
    – user31729
    Commented Aug 7, 2015 at 16:13
  • This solution works as well.
    – Shah
    Commented Dec 19, 2015 at 3:00
  • 1
    This is, in fact, the optimal answer. For sure, it's the method I use for my own submissions to Elsevier journals!
    – Mico
    Commented Nov 18, 2017 at 14:20
2

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.

3
  • 1
    Or more simply than what? Using the fix given in the accepted answer?
    – Null
    Commented Dec 9, 2016 at 15:28
  • 1
    Yup. Why fix something when just using the correct version works?
    – BarneyC
    Commented Dec 9, 2016 at 15:30
  • 1
    @BarneyC - The main (only?!) reason for using the elsarticle document class is to prepare a paper for submission to an Elsevier journal. When submitting a paper that uses the elsarticle document class, you will almost certainly be strongly discouraged from submitting a non-standard version of the document class file. By now, it's late 2017, and the official version of elsarticle.cls, i.e., the one that's on the CTAN and is distributed with TeXLive and MiKTeX, is still the buggy one. Sigh.
    – Mico
    Commented Nov 18, 2017 at 14:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .