108

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

lockstep
  • 250,273
Marcin
  • 1,489

3 Answers3

134

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).

chl
  • 8,890
16

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.

enter image description here

Podvodoy
  • 161
6

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 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 Mar 27 '17 at 06: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 02:37