# Authors and affiliations

\documentclass[authoryear]{elsarticle}
\begin{document}
\begin{frontmatter}
\title{A Very Clever Paper Title}



In the above case, how to merge affiliations for Author2 and Author3 if they are same....

-

• Spaces after the comma in the optional argument of \author are not supported by class elsarticle. ☹
• Also the class does not generate a rerun warning, the letters for the affiliations are not yet known in the first LaTeX run.

## A. Example without merging

\documentclass[authoryear]{elsarticle}
\begin{document}
\begin{frontmatter}
\title{A Very Clever Paper Title}

\end{frontmatter}
\end{document}


## B. Two affiliations in one line

\author[add1]{Author1}



• Disadvantage: The second affiliation in the line gets lost visually. It is not clear, that the both authors have two affiliations.

## C. Affiliations in two lines

\author[add1]{Author1}