如何在 Beamer 中呈现两组作者

如何在 Beamer 中呈现两组作者

我正在就两篇不同的论文发表演讲。我想在标题页上分别展示作者组,一个在另一组之上。以下方法不起作用,但希望能够展示我的意图。

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage{default}
\title{The title}
\author[Us]{First Author\inst{1} \and Second Author\inst{2}}
\institute{\inst{1} University of Us1 \and \inst{2} University of Us2}
\author[Them]{Another Author\inst{3} \and Yet Another Author\inst{2}}
\institute{\inst{3} University of Them1 \and \inst{2} University of Them2}
\date{}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\end{document}

我想要的布局是:

First group of authors
First group of institutions
Second group of authors
Second group of institutions

答案1

您可以定义自己的标题页:

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\title{The title}
\date{}

\makeatletter
\setbeamertemplate{title page}{%
  \vbox{}
  \vfill
  \begingroup
    \centering
    \begin{beamercolorbox}[sep=8pt,center]{title}
      \usebeamerfont{title}\inserttitle\par%
      \ifx\insertsubtitle\@empty%
      \else%
        \vskip0.25em%
        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
      \fi%     
    \end{beamercolorbox}%
    \vskip1em\par
    \author[Us]{First Author\inst{1} \and Second Author\inst{2}}
    \institute{\inst{1} University of Us1 \and \inst{2} University of Us2}
    \begin{beamercolorbox}[sep=8pt,center]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center]{institute}
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
    \author[Them]{Another Author\inst{3} \and Yet Another Author\inst{2}}
    \institute{\inst{3} University of Them1 \and \inst{2} University of Them2}
    \begin{beamercolorbox}[sep=8pt,center]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center]{institute}
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center]{date}
      \usebeamerfont{date}\insertdate
    \end{beamercolorbox}\vskip0.5em
    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
  \endgroup
  \vfill
}
\makeatother


\begin{document}
\begin{frame}
\maketitle
\end{frame}
\end{document}

在此处输入图片描述

相关内容