107

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

3 Answers 3

132

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

8
  • How do you highlight the first author, for example with a underscore?
    – LWZ
    Jul 16, 2013 at 16:17
  • @LWZ Not sure I understand what you mean (underscore?), but \emph{author1} should work.
    – chl
    Jul 16, 2013 at 17:40
  • 1
    @chl, by underscore I mean have a solid line beneath the name.
    – LWZ
    Jul 16, 2013 at 18:27
  • 6
    @LWZ Have you tried \underline{author1}?
    – chl
    Jul 17, 2013 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):" Nov 28, 2018 at 4:47
15

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

3
  • 1
    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, 2018 at 12:38
  • 1
    It's working for me on the metropolis theme.
    – waldol1
    Jul 12, 2018 at 4:23
  • 1
    Is it possible to put both institutions on the same line?
    – user27182
    Oct 7, 2019 at 17:08
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
}
4
  • 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, 2017 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. Mar 26, 2017 at 18:39
  • In that case you might at least add a normal space between the "," and "Author2" :)
    – Skillmon
    Mar 27, 2017 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, 2019 at 2:37

You must log in to answer this question.

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