Is it possible to do this in beamer
? Or do I have to use other packages?
3 Answers
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).
-
-
@LWZ Not sure I understand what you mean (underscore?), but
\emph{author1}
should work.– chlJul 16, 2013 at 17:40 -
1
-
6
-
@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
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.
-
1Did 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 KMar 7, 2018 at 12:38
-
1
-
1
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.– SkillmonMar 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" :)– SkillmonMar 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).– llinfengSep 18, 2019 at 2:37