How to add several authors with different affiliations in beamer?

Is it possible to do this in beamer? Or do I have to use other packages?

Yes, something along those lines:

\author[shortname]{author1 \inst{1} \and author2 \inst{2}}
\institute[shortinst]{\inst{1} affiliation for author1 \and %
\inst{2} affiliation for author2}


See documentation for Beamer class (page 94, v3.10).

• How do you highlight the first author, for example with a underscore? – LWZ Jul 16 '13 at 16:17
• @LWZ Not sure I understand what you mean (underscore?), but \emph{author1} should work. – chl Jul 16 '13 at 17:40
• @chl, by underscore I mean have a solid line beneath the name. – LWZ Jul 16 '13 at 18:27
• @LWZ Have you tried \underline{author1}? – chl Jul 17 '13 at 10:33
• @chl Although that produces the correct output, Beamer doesn't seem to like it and generates a bunch of hyperref error messages. Each message begins with "Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):" – 6005 Nov 28 '18 at 4:47

The second solution provides proper use of font for superscripts.

\author[shortname]{First Author \textsuperscript{1} \and Second Author \inst{1, 2} \and Fourth Author \inst{2,3}}
\institute[shortinst]{\textsuperscript{1} ITMO University \and \inst{2} University of Whatever \and \inst{3} Whatever Institute}


Gives the following -- pay attention to the superscripts font. The first one looks correct.

• Did anyone try this with the metropolis team? I can't make it work. The superscripts show up, but not the notes with the affiliation, unfortunately. – Laura K Mar 7 '18 at 12:38
• It's working for me on the metropolis theme. – waldol1 Jul 12 '18 at 4:23
• Is it possible to put both institutions on the same line? – user27182 Oct 7 '19 at 17:08

Here's another solution:

\title{\huge xx}
\author{Author1 \textsuperscript{1,2},Author2 \textsuperscript{1,2,3}}
\institute[A]{\textsuperscript{1}Dep of X\\ %
\textsuperscript{2}Division of X \\ %
\textsuperscript{3}College of X
}

• While your answer does not look particularly bad, notice that there is no space between "Author1^{1,2}," and "Author2". You should add some space there. Can you tell why somebody should use this instead of an \and between the two authors? And why do you use \textsuperscript? \inst{1,2} works as well. – Skillmon likes topanswers.xyz Mar 25 '17 at 16:28
• Thanks for the advice. Based on my experience, \and makes a larger space among affiliation lines. And, you are right, there is no difference in using \textsuperscript or \inst. – Vahab Yousofzadeh Mar 26 '17 at 18:39
• In that case you might at least add a normal space between the "," and "Author2" :) – Skillmon likes topanswers.xyz Mar 27 '17 at 6:48
• I found this solution to work when the \inst command from the other solution crashed the compiler (MikTeX, Windows 10). – llinfeng Sep 18 '19 at 2:37