1

I have the authors' names and I want their address/affiliation to be referenced below the page, but I get the same superscript of 1 for both authors but I want different numbers or characters. (P.S. Prior to this, I had an error on hyper ref and I changed my code.)

\documentclass[review]{elsarticle}
\usepackage[utf8]{inputenc}
% \usepackage[margin=0.5in]{geometry}
\usepackage{subfig}
\usepackage{setspace} 
 \doublespacing
\usepackage{amssymb}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}%
\usepackage{amsmath}
\usepackage{amsthm}

\begin{document}
\begin{frontmatter}
\title{Title of article}

\author[add1]{Jack\texorpdfstring{\corref{cor1}}{}}
\ead{[email protected]}
\cortext[cor1]{Corresponding Author}
\fntext[fn1]{[email protected]}

\author[add2]{Alice}
\ead{[email protected]}
\fntext[fn2]{[email protected]}

\end{frontmatter}
\end{document}

My output:

enter image description here

enter image description here

1
  • Welcome to TeX.SE.
    – Mico
    Nov 14, 2022 at 19:43

1 Answer 1

1

The elsarticle assume that affiliations follow the names, but you can manually add the footnote reference:

\documentclass[review]{elsarticle}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}

\begin{document}
\begin{frontmatter}
\title{Title of article}

\author{Jack\fnref{fn1}\texorpdfstring{\corref{cor1}}{}}
\ead{[email protected]}
\cortext[cor1]{Corresponding Author}
\fntext[fn1]{[email protected]}

\author{Alice\fnref{fn2}}
\ead{[email protected]}
\fntext[fn2]{[email protected]}

\end{frontmatter}
\end{document}

You must log in to answer this question.

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