个人建议:
- 在导言区进行格式调整,也就是说将以下代码置于导言区:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%设置headline 显示各章主题
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}
{
\begin{beamercolorbox}[wd=\paperwidth,center]{headline color}%
\usebeamerfont{title in head/foot}
\insertsectionnavigationhorizontal{\dimexpr\paperwidth-2cm}{}{}
\end{beamercolorbox}%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%设置footline为带底色 显示页码、作者简短姓名、标题简短姓名
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
\begin{beamercolorbox}[wd=\paperwidth, ht=2.25ex, dp=1ex, leftskip=0pt, rightskip=10pt]{footline color}{
\insertshortauthor \hfill \insertshorttitle \hfill \insertframenumber/\inserttotalframenumber}
\end{beamercolorbox}%
}
- 如果在Beamer中的某一帧不需要页眉页脚,可以对frame命令或环境使用
[plain]
可选项,如:
\frame[plain,noframenumbering]{\titlepage}
或
\begin{frame}[plain,noframenumbering]{Outline}
\tableofcontents
\end{frame}
其中的[noframenumbering]
选项用于停止该帧计数。
PS.建议在命令行用texdoc beamer
打开其说明书,通读后按Beamer的逻辑进行工作,而不是简单的以结果导向写代码。
问 Beamer中的footnote被footline遮盖住,如何解决?