The problem
Using this template I want to have an author in the list of authors with multiple affiliations.
Like in this mockup ("Othercoauthor" has multiple affiliations):
The code
This is some exemplary code (you only need ifmbe.cls
):
\documentclass[nouppercase]{ifmbe}
\title{Authors With Multiple Affiliations}
\affiliation{First Institution/Department, Affiliation, City, Country }{FIRSTAFF}
\affiliation{Second Institution/Department, Affiliation, City, Country }{SECONDAFF}
\author{A.B. Firstauthor}{FIRSTAFF}
\author{C. Coauthor}{SECONDAFF}
\author{D.E. Othercoauthor}{FIRSTAFF}
\begin{document}
\maketitle
\end{document}
The output is the same as in the mockup except for the affiliations of "Othercoauthor" (only "1" in superscript).
The \author
command is defined in ifmbe.cls like this:
\renewcommand{\author}[2]{
\stepcounter{ifmbe@authors}
\expandafter\def\csname ifmbe@author\alph{ifmbe@authors}\endcsname
{#1$^{\expandafter\the\csname ifmbe@affiliationcounter#2\endcsname}$}
}
What I have tried
I tried "faking" it by putting superscript numbers into the author's name. However, the text size/shape of the numbers that I put manually there was slightly off and I couldn't figure out why.
I rewrote the renewing of \author
such that the command took a larger number of arguments. However, this didn't help since I couldn't put "empty" affiliations for those authors that had less affiliations than the number of arguments.
So I guess I need to make the number of arguments variable or add optional arguments.