0

我有一个演示文稿,其中标题幻灯片具有黑色背景,因此文本颜色已设置为白色。作者姓名必须具有对应于列出其机构的脚注的上标数字。脚注是白色的。我怎样才能让它变白。

4

1 回答 1

1

我可以想到两种方法...

1) 使用 \author + \institute + \maketitle 命令

这很容易。你只想这样做:

% First define your author and institute (taken from Beamer manual example)
\author[Hemaspaandra et al.]{L. Hemaspaandra\inst{1} \and T. Tantau\inst{2}}
\institute[Universities of Rochester and Berlin]{
\inst{1}Department of Computer Science\\
University of Rochester
\and
\inst{2}Fakult\"at f\"ur Elektrotechnik und Informatik\\
Technical University of Berlin

% Now make the actual title slide
\frame[plain]{
  \setbeamercolor{institute}{fg=white}
  \maketitle
}

2)如果您手动放置作者和机构:

首先,不要使用 \author 和 \institute,只需使用 \title{Presentation Title}。然后尝试这样的事情:

\begin{frame}
\maketitle  % will insert the title alone

\begin{center}

  \setbeamercolor{footnote}{fg=white} % setting the footnote color to white
  John Doe\footnote{Institute Name 1 }

  Jane Doe\footnote{Institute Name 2 }

\end{center}
\setbeamercolor{footnote}{fg=default} % now set back to normal future frames
\end{frame}

方式#1 看起来更像普通投影仪,所以如果使用 \institute 命令是你想要的,那么就这样做。#2 只是另一种方式,它还向您展示了设置元素的单个颜色的语法。\setbeamercolor{elementName}{fg=color}大部分内容参见Beamer 手册第 17 章。祝你好运!

于 2010-11-04T01:03:00.917 回答