[Tex/LaTex] How to display e-mail addresses for multiple authors in Beamer

beamerformatting

I have a Beamer presentation with multiple authors and I would like their e-mail addresses to be displayed underneath each author name. The post Email field in beamer class? is simple enough to do for a single author, but for multiple authors the results are disappointing:

John Doe
john@example.com Jane Doe
jane.doe@example.com

instead of

    John Doe          Jane Doe
john@example.com  jane@example.com

I can sort-of understand why this is happening, but I am not sure how to resolve this. In a tabular environment fixing this would involve a number of paragraph boxes or minipages…

Is there an easy way to achieve this result?

Best Answer

Here's a solution with three parts:

  1. optional argument of \author is authors for infolines
  2. first argument of \texorpdfstring is authors for title page (two columns with name and email)
  3. second argument of \texorpdfstring is authors for PDF information.

The source:

\documentclass{beamer}
\useoutertheme{infolines}
\title{Title}
\author[J.\,Doe \& J.\,Doe]
{%
  \texorpdfstring{
    \begin{columns}%[onlytextwidth]
      \column{.45\linewidth}
      \centering
      John Doe\\
      \href{mailto:john@example.com}{john@example.com}
      \column{.45\linewidth}
      \centering
      Jane Doe\\
      \href{mailto:jane.doe@example.com}{jane.doe@example.com}
    \end{columns}
  }
  {John Doe \& Jane Doe}
}
\begin{document}
\begin{frame}
  \titlepage
\end{frame}
\end{document}

enter image description here