Remove the number of slides from the Beamer footer

I would like to remove the slide count (e.g. SLIDE_NUMBER / TOTAL_SLIDES ) from the footer of the Beamer presentation without completely deleting the footer. I use the Boadilla theme, which uses the infolines external theme. In the beamerouterthemeinfolines.sty file beamerouterthemeinfolines.sty we find the following definition for the baseline:

 \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 essentially need to redefine this external theme so that it does not have \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} or else a new external theme is defined that inherits everything else from the infolines theme. How can i do this?

Related question: How to remove Beerer LaTeX template footers?

+6
latex beamer
source share
1 answer

If you like, you can simply modify the beameroutertheminfolines.sty file, which may be different from a good idea. So instead, you just take the baseline code in your .tex file and delete the line for frame numbers, or, like me, just turn it into a comment. So, you will copy the exact part from beameroutertheminfolines.sty to your .tex file:

  \documentclass{beamer} %#comment out the Boadilla theme and uses only the header bar %\usetheme[]{Boadilla} \usetheme[secheader]{Boadilla} %#make sure to change this part, since it is predefined %\defbeamertemplate*{footline}{infolines theme} \setbeamertemplate{footline} { \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} %#turning the next line into a comment, erases the frame numbers %\insertframenumber{} / \inserttotalframenumber\hspace*{2ex} \end{beamercolorbox}}% \vskip0pt% } 
+6
source share

All Articles