'beamer'에 해당 되는 글 1건

  1. 2012.01.02 [펌]Beamer: frame number in split theme footline
2012. 1. 2. 14:01

[펌]Beamer: frame number in split theme footline

http://texblog.net/latex-archive/plaintex/beamer-footline-frame-number/


Beamer: frame number in split theme footline

Juli 12th, 2008 by Stefan Kottwitz

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.