Page Layoutbeamer: custom page number

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
jayantvivek
Posts: 1
Joined: Tue Jan 20, 2009 5:05 pm

beamer: custom page number

Post by jayantvivek »

hello

is there any way i can change page numbering in the boadilla theme of beamer so that it shows only the current page number and not `page X / total number of pages'. That is for slide 18 out of 34 it should say just '18' and not '18/34'.

thanks a lot
j

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

beamer: custom page number

Post by Stefan Kottwitz »

Hi jayantvivek,

welcome to the board!
This modified infoline theme would help:

Code: Select all

\defbeamertemplate*{footline}{my theme}
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute)
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
    \insertframenumber{}\hspace*{2ex} 
  \end{beamercolorbox}}%
  \vskip0pt%
}
Stefan
LaTeX.org admin
Post Reply