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.

Edit 2021: A very short solution proposed by samcarter on is:

\setbeamertemplate{page number in head/foot}[totalframenumber]

Full code by samcarter:

\title{Beamer Example}
\setbeamertemplate{page number in head/foot}[totalframenumber]

Old way posted 2008: We could 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:


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

This topic was discussed on and in the Matheplanet forum.

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

Comments (24)

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

  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!

  23. Update: The Warsaw template now uses the shadow theme, not split theme, for the footer.

    So, when you want to re-write the footer line with, say \defbeamertemplate, you’ll have to pass shadow theme as argument.

  24. This is exactly what I wanted. You are my savior!

Leave a Reply

Required fields are marked *