I would like to remove the slide count (e.g., SLIDE_NUMBER / TOTAL_SLIDES
) from the footer (footline) of a Beamer presentation, without removing the footer entirely. I am using the Boadilla theme, which uses the infolines
outer theme. In the beamerouterthemeinfolines.sty
file, we find the following definition for the footline:
\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%
}
I need to essentially redefine this outer theme such that it doesn't have the \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
in it, or otherwise define a new outer theme that inherits everything else from the infolines theme. How can I do this?
Related question: How to Remove Footers of LaTeX Beamer Templates?
As beameroutertheminfolines.sty
has changed since 2010, for now it's enough to put
\setbeamertemplate{page number in head/foot}{}
in preamble.