Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Beamer: insert slide number in a corner of the slide

394 views
Skip to first unread message

Diego Torquemada

unread,
Feb 17, 2006, 10:13:13 AM2/17/06
to
Hello

I have been strugling on how to include the slide number EVERY slide...


I read in the manual that that can be done using \insertpagenumber ...
however no success. I did not understand well how to do it.

THanks,

Diego

Minimal example to begin to play:


\documentclass{beamer}

\mode<presentation>
{
\usetheme{Warsaw}
}

\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}
\title[Title]{Title}
\author{Author}
\date{ }
\AtBeginSubsection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}

\begin{document}

\begin{frame}
\titlepage
\end{frame}

\section{Section A}

\begin{frame}
\frametitle{Make Titles Informative A.}
\end{frame}

\section{Section B}
\begin{frame}
\frametitle{Make Titles Informative B.}
\end{frame}

\section{Section C}
\begin{frame}
\frametitle{Make Titles Informative C.}
\end{frame}

\end{document}

mav

unread,
Feb 17, 2006, 11:21:07 AM2/17/06
to
Diego Torquemada napisal(a):

> I have been strugling on how to include the slide number EVERY slide...

Perhaps something like this will do:

> \documentclass{beamer}
>
> \mode<presentation>
> {
> \usetheme{Warsaw}

\setbeamertemplate{footline}
{\centerline{\insertframenumber/\inserttotalframenumber}}
> }

James

Diego Torquemada

unread,
Feb 17, 2006, 12:33:59 PM2/17/06
to
James... thanks for your post... I could manage to make exactly what I
wanted... I will have the same Author/Title footnote and the frame
number.

\setbeamertemplate{footline}
{%
\leavevmode%
\hbox{%

\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,right]{author
in head/foot}%
\usebeamerfont{title in head/foot}\insertshortauthor\hspace{.3cm}
\end{beamercolorbox}%

\begin{beamercolorbox}[wd=.46\paperwidth,ht=2.5ex,dp=1.125ex,left]{title
in head/foot}%
\usebeamerfont{author in head/foot}\hspace{.3cm}\insertshorttitle
\end{beamercolorbox}%

\begin{beamercolorbox}[wd=.04\paperwidth,ht=2.5ex,dp=1.125ex,center]{title
in head/foot}%
\usebeamerfont{author in
head/foot}\insertframenumber/\inserttotalframenumber
\end{beamercolorbox}%
}%
\vskip0pt%
}

0 new messages