Pages

Monday, May 3, 2010

LaTeX Beamer page numbering

Thanks to this guy I finally found a solution for a very annoying problem. If you use LaTeX and Beamer to make your presentations. Slides in the appendix will be counted for the total page number, and you end up having 25 slides for your 10 minute presentation according to the currentpage/totalpage display.


The following solution is taken from David Gleich's post:

% All your regular slides
% After your last numbered slide
\appendix
\newcounter{finalframe}
\setcounter{finalframe}{\value{framenumber}}
% Backup frames
\setcounter{framenumber}{\value{finalframe}}
\end{document}
 
and you can also fiddle with intro, and table of contents slides.
  1. Add \addtocounter{framenumber}{-1} on the \AtBeginSubsection frame
  2. Add \setcounter{framenumber}{0} or \setcounter{framenumber}{1} to the \titlepage frame and/or the \tableofcontents frame depending on taste.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.