Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using the beamer class and Warsaw theme. Is there any way to have slide numbering at the bottom of the page and on the left (as 2/10) in this theme?
Here is my code:

\documentclass{beamer}‎
‎‎‎‎‎\usetheme{Warsaw‎}‎‎
‎\begin{document}‎
‎‎\title{How to number the ...?‎} 
‎‎\author{My name‎} 
‎‎\date{06‎.06.2005} 
‎\begin{frame}‎
‎\titlepage‎
‎‎‎\end{frame}‎‎‎
‎‎\section{Intro‎}‎
‎\begin{frame}‎
‎‎\frametitle{There are many ...‎}‎ 
‎‎\end{frame}‎‎
‎\end{document}‎
share|improve this question
add comment

1 Answer 1

up vote 14 down vote accepted

You need to select an outer theme. \useoutertheme{infolines} should give you the desired format.

If you just want to include the numbers, you have to adopt the original code for the footline from the outer theme shadow which in turn uses the the format from the split theme.

\documentclass{beamer}
\usetheme{Warsaw}
\title{How to number the ...?}
\author{My name}
\date{06‎.06.2005}
\defbeamertemplate*{footline}{shadow theme}
{%
  \leavevmode%
  \hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fil,rightskip=.3cm]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertframenumber\,/\,\inserttotalframenumber\hfill\insertshortauthor
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle%
  \end{beamercolorbox}}%
  \vskip0pt%
}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\section{Intro‎}
\begin{frame}
\frametitle{There are many ...}
\end{frame}
\end{document}

Note that by moving the \title etc into the preamble, this will also be used for the PDF metadata.

share|improve this answer
    
Do I put this command after \usetheme{Warsaw‎}‎‎? –  jeff Jan 3 '11 at 13:49
    
Yes. But it does change more than just the numbers in the footer. –  Carsten Thiel Jan 3 '11 at 13:56
    
Thanks, but what should I do if I don't want to have the the institution name or the current date? –  jeff Jan 3 '11 at 14:04
2  
In that case you need to design the footline element manually, using the code from the Warsaw theme, see edit above. –  Carsten Thiel Jan 3 '11 at 14:53
    
Great. This is exactly what I needed. Thanks man. –  jeff Jan 3 '11 at 18:59
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.