# How to generate E-mail not Email in elsarticle.cls

I am using elsarticle.cls to typeset the paper. The journal requires "E-mail" not "Email". But elsarticle automatically gives "Email". I wonder how to correct it?

I am using the following commands:

\title{This is a specimen title\tnoteref{t1,t2}}
\tnotetext[t1]{This document is a collaborative effort.}
\tnotetext[t2]{The second title footnote which is
longer than the first one and with an intention to fill
in up more than one line while formatting.}

\author[rvt,focal]{K.~Bazargan\fnref{fn2}}

-
I'd be wary of altering the official submission class, even if you feel that the output is not quite 'correct' here. Usually I would leave this to the editorial office to worry about. – Joseph Wright Apr 2 '12 at 6:17
I agree with @JosephWright: if the journal requires you to use some specific document class, it's because they want you to use the commands available therein. The version they will use for the final typesetting will probably give a different output (eg. use the journal's font, etc.) – nplatis Apr 2 '12 at 7:19

The word "Email" is hard-coded in the definition of \printFirstPageNotes so you will have to redefine it (or to patch it using, for example etoolbox). Here's the redefinition:

\documentclass{elsarticle}

\makeatletter
\def\printFirstPageNotes{%
\iflongmktitle
\let\columnwidth=\textwidth\fi
\ifx\@tnotes\@empty\else\@tnotes\fi
\ifx\@nonumnotes\@empty\else\@nonumnotes\fi
\ifx\@cornotes\@empty\else\@cornotes\fi
\let\thefootnote\relax
\let\thefootnote\relax
\footnotetext{\textit{URL:\space}%
\ifx\@fnotes\@empty\else\@fnotes\fi
\iflongmktitle\if@twocolumn
\let\columnwidth=\Columnwidth\fi\fi
}
\makeatother

\begin{document}
\begin{frontmatter}
\title{This is a specimen title\tnoteref{t1,t2}} \tnotetext[t1]{This document is a collaborative effort.} \tnotetext[t2]{The second title footnote which is longer than the first one and with an intention to fill in up more than one line while formatting.}

\end{frontmatter}

\end{document}


And an image of the relevant part:

-
Thank you so much. I have tried. This works, too. – Pei Apr 2 '12 at 5:35

Using Gonzalo's suggestion, here's an etoolbox patch:

\documentclass{elsarticle}% http://www.elsevier.com/wps/find/authorsview.authors/elsarticle
\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
\patchcmd{\printFirstPageNotes}% <cmd>
{Email}% <search>
{E-mail}% <replace>
{}{}% <success><failure>
\patchcmd{\printFirstPageNotes}% <cmd>
{Email}% <search>
{E-mail}% <replace>
{}{}% <success><failure>

\begin{document}
\begin{frontmatter}
\title{This is a specimen title\tnoteref{t1,t2}} \tnotetext[t1]{This document is a collaborative effort.} \tnotetext[t2]{The second title footnote which is longer than the first one and with an intention to fill in up more than one line while formatting.}


The dual patch of \printFirstPageNotes replaces successive usages of Email with E-mail, one at a time.