While preparing a presentation using Beamer, I decided to get the slide numbers(frame numbers in Beamer parlance) into the presentation just to pace my slides. And it turns out that it's not easy as it sounds. I tried a variety of setbeamertemplate options and even considered editing the template. I believe beamerouterthemesplit.sty is the file to change though I have no idea what I have to do.
A bit of googling got to me to this page and I have no idea why the suggestion works. But it does. I have broken it into 2 lines with a extraneous \ at the end of the first line.
A bit of googling got to me to this page and I have no idea why the suggestion works. But it does. I have broken it into 2 lines with a extraneous \ at the end of the first line.
\title[Short Title \hspace{4em} \insertframenumber\ \
of \inserttotalframenumber]{Full Title}
6 comments:
I'm not sure what you find confusing. Is it the purpuse of short title that threw you? From the beamer-user-guide ...
\title[⟨short title⟩]{⟨title⟩} The ⟨short tile⟩ is used in headlines and footlines. Inside the ⟨title⟩ line breaks can be inserted using the double-backslash command.
That's right. Didn't know anything about short title and completely forget to check the manual.
Thanks for that.
Sivaram
Hi Sivaram,
alternatively you could extend the macro \insertshorttitle, for example
\g@addto@macro\insertshorttitle{\hfill%
\insertframenumber\ of \inserttotalframenumber}
Of course adding \makeatletter ... \makeatother could be necessary. I've used this code here, but in another way, once with \expandafter, once with \let: Beamer: frame number in split theme footline.
Best regards,
Stefan
Thanks a lot! I had the problem with Warsaw theme and slide numbering, but now everything works! Nikolay
Thanks for posting this online! Does exactly what I wanted: page numbering in the Warsaw theme.
Cool! Works exactly as intended! Thank you!
Post a Comment