TeXblog

 Typography with TeX and LaTeX

Beamer: frame number in split theme footline

Juli 12th, 2008 by Stefan Kottwitz

Yet again somebody in the mrunix forum asked for an advice how to put the frame number into the footline of his beamer presentation. He was using the “Warsaw” outer theme. The first solution

\setbeamertemplate{footline}[frame number]

will just overwrite the “Warsaw” footline.

Possible solutions are: to use a different outer theme or to change the “Warsaw” footline. “Warsaw” uses the split outher theme, a workaround for insertion of the frame number should consider that and will be usable for other themes like “Copenhagen”, “Luebeck” and “Malmoe”. Inspection of the file beamerouterthemesplit.sty reveals that the footline uses the \insertshorttitle macro in its right part. So a quick workaround could be to redefine that macro:

\newcommand*\oldmacro{}%
\let\oldmacro\insertshorttitle%
\renewcommand*\insertshorttitle{%
  \oldmacro\hfill%
  \insertframenumber\,/\,\inserttotalframenumber}

If you want to see more details you could look at example source code and its pdf output.

This topic was discussed on mrunix.de and in the Matheplanet forum.

This entry was posted on Samstag, Juli 12th, 2008 at 20:32 and is filed under Presentations, plain TeX. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

13 responses about “Beamer: frame number in split theme footline”

  1. Stefan Kottwitz said:

    Here’s a modification using \expandafter like I’ve described in this blog post:

    \expandafter\def\expandafter\insertshorttitle\expandafter{%
      \insertshorttitle\hfill%
      \insertframenumber\,/\,\inserttotalframenumber}
  2. Ingo said:

    Thanks! Great solution!

  3. Jeff said:

    Thank you so much, exactly what I was looking for!

  4. Travis said:

    Thanks Stefan, the 12 July 2008 workaround helped me a lot.

  5. Timotej Stanek said:

    thank you very much, this the most best solution

  6. Sal said:

    Thanks a lot, it works perfectly!

  7. David said:

    Fabulous ! Thanks.

  8. anne said:

    Thank you very much… this solved a major problem I had…

  9. Guillem said:

    Awesome! thanks

  10. Erick said:

    Pretty clean solution… Works like a charm!
    Thank you so much.

  11. BEAB said:

    this one reall work, thanks

  12. Tausen said:

    Excellent - thanks! :D

  13. abhijit said:

    Thank you… very much…
    keep it up!!!!!!!!!!

Leave a Reply