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.
Here’s a modification using \expandafter like I’ve described in this blog post:
Thanks! Great solution!
Thank you so much, exactly what I was looking for!
Thanks Stefan, the 12 July 2008 workaround helped me a lot.
thank you very much, this the most best solution
Thanks a lot, it works perfectly!
Fabulous ! Thanks.
Thank you very much… this solved a major problem I had…
Awesome! thanks
Exactly why I needed !! Many thanks !
Pretty clean solution… Works like a charm!
Thank you so much.
Perfect.
Thanks alot
this one reall work, thanks
Excellent – thanks!
Thank you… very much…
keep it up!!!!!!!!!!
Wow – great solution!!! Thanks
Thanks a lot!
Perfect. Exactly what I was looking for!
well done boy! good work!
Exactly what I was looking for! Thank you!
Thank youuuu
Great advice, thank you very much!
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.
This is exactly what I wanted. You are my savior!