Page Layoutbeamer | Display Frame Numbers instead of Page Numbers

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
itatitl
Posts: 13
Joined: Thu Mar 24, 2011 8:20 am

beamer | Display Frame Numbers instead of Page Numbers

Post by itatitl »

I am using the beamer class to prepare a presentation.

Code: Select all

\documentclass{beamer}

\pagestyle{plain}

\setbeamertemplate{footline}[frame number]

\begin{document}
  \begin{frame}
    This is frame 1
  \end{frame}
  \begin{frame}
    This is frame 2 \\
    \pause
    This  also is frame 2
    \pause
  \end{frame}%
\end{document}
I want to display the frame numbers and not the page number of the PDF document. Is that possible?

Thanks for any suggestion.
Last edited by localghost on Tue Oct 23, 2012 4:42 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

gadgetto
Posts: 11
Joined: Wed Oct 24, 2012 8:28 am

beamer | Display Frame Numbers instead of Page Numbers

Post by gadgetto »

Hi itatitl,

remove the pagestyle-line and replace

Code: Select all

\setbeamertemplate{footline}[frame number]
by

Code: Select all

\setbeamertemplate{footline}{\hfill\insertframenumber~\vrule~\inserttotalframenumber}
Best regards,
Gadgetto
Post Reply