【发布时间】:2010-02-23 18:39:28
【问题描述】:
我想从 Beamer 演示文稿的页脚 (footline) 中删除幻灯片计数(例如,SLIDE_NUMBER / TOTAL_SLIDES),而不是完全删除页脚。我正在使用 Boadilla 主题,它使用 infolines 外部主题。在beamerouterthemeinfolines.sty 文件中,我们找到以下脚线定义:
\defbeamertemplate*{footline}{infolines theme}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute)
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
我需要从根本上重新定义这个外部主题,使其中没有\insertframenumber{} / \inserttotalframenumber\hspace*{2ex},或者定义一个新的外部主题,该主题继承自 infolines 主题的所有其他内容。我该怎么做?
【问题讨论】: