Beamer: frame number in split theme footline

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.

12. July 2008 by stefan
Categories: Uncategorized | 22 comments

Comments (22)

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

    \expandafter\def\expandafter\insertshorttitle\expandafter{%
      \insertshorttitle\hfill%
      \insertframenumber\,/\,\inserttotalframenumber}
  2. Thanks! Great solution!

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

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

  5. thank you very much, this the most best solution

  6. Thanks a lot, it works perfectly!

  7. Fabulous ! Thanks.

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

  9. Awesome! thanks

  10. Exactly why I needed !! Many thanks !

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

  12. Perfect.

    Thanks alot

  13. this one reall work, thanks

  14. Excellent – thanks! :D

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

  16. Wow – great solution!!! Thanks

  17. Thanks a lot!

  18. Perfect. Exactly what I was looking for!

  19. well done boy! good work!

  20. Exactly what I was looking for! Thank you!

  21. Thank youuuu

  22. Great advice, thank you very much!

Leave a Reply

Required fields are marked *