## LaTeX forum ⇒ Scientific Word/Workplace ⇒ beamer | Frame Numbers in the Footer

Information and discussion about Scientific Word and Scientific Workplace, two commercial WYSIWYG-like editors for Windows
Hoed
Posts: 28
Joined: Sat Jan 07, 2012 12:46 pm

### beamer | Frame Numbers in the Footer

Hi,

I'm using Scientific Workplace 5.5 and Beamer. However, I've been asked to put some frame-numbers on the slides, so my students are able to follow my lectures better. Trying this, I found a code, which puts the frame-numbers in the footer to the right. All being quite well, but when setting the document more than once, the box, in which the frame-number is set, offsets some pt to the right. The problem seems to be persistent when deleting all packages. Anyway, if there's solution to that (may be I'm only not able to find an existing solution) I'd be a happy bunny.
%\usecolortheme{crane}%\setbeamercolor{normal text}{fg=black,bg=yellow}%\logo{\includegraphics[height=40pt]{figures/hu-logo-breit}}%\usefonttheme[onlysmall]{structurebold}%\setbeamerfont{frametitle}{series=\bfseries}%\usepackage[centertags,reqno]{amsmath}%\usepackage{amsthm} \documentclass[notes=show,beamer,t,final]{beamer}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%TCIDATA{OutputFilter=LATEX.DLL}%TCIDATA{Version=5.50.0.2890}%TCIDATA{<META NAME="SaveForMode" CONTENT="1">}%TCIDATA{BibliographyScheme=Manual}%TCIDATA{Created=Friday, December 02, 2011 18:00:47}%TCIDATA{LastRevised=Saturday, January 07, 2012 12:28:07}%TCIDATA{<META NAME="GraphicsSave" CONTENT="32">}%TCIDATA{<META NAME="DocumentShell" CONTENT="Other Documents\SW\Slides - Beamer">}%TCIDATA{Language=Deutsch (neu)}%TCIDATA{CSTFile=beamer.cst} \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}}\newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} }\newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| alert@+>]}{\end{enumerate}}\newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| alert@+>]}{\end{itemize} }\usecolortheme{whale}\usecolortheme{orchid}\usecolortheme{sidebartab}\useoutertheme[width=58pt,height=45pt]{sidebar}\useinnertheme{rounded}\setbeamercolor{normal text}{bg=white}\setbeamercolor{frametitle}{fg=white}\setbeamercolor{section in sidebar}{bg=black}\setbeamercolor{subsection in sidebar}{bg=black}\setbeamerfont{title in sidebar}{size=\scriptsize}\setbeamerfont{author in sidebar}{size=\tiny}\setbeamercovered{transparent}\setbeamertemplate{blocks}[rounded][shadow=true]\defbeamertemplate*{footline}{infolines theme}{   \leavevmode   \hbox{  \begin{beamercolorbox}[wd=1\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}    \end{beamercolorbox}}   \vskip0pt}\input{tcilatex}\begin{document} \title[]{Migrationsmodelle}\author{Lala}\institute{Hochschule...}\date{}\maketitle %TCIMACRO{\TeXButton{BeginFrame}{\begin{frame}}}%%BeginExpansion\begin{frame}%%EndExpansion \QTR{frametitle}{Geschichte der Migrationsforschung} \QTR{framesubtitle}{Ravenstein} \begin{stepitemize}\item 1889: Ravenstein. 'Laws of Migration'\end{stepitemize} %TCIMACRO{\TeXButton{EndFrame}{\end{frame}}}%%BeginExpansion\end{frame}%%EndExpansion \end{document}
Last edited by Hoed on Tue Jan 10, 2012 8:29 pm, edited 1 time in total.

Hoed
Posts: 28
Joined: Sat Jan 07, 2012 12:46 pm
Hi,

I developed a work-around. Instead of defining a new template using
\defbeamertemplate*{footline}{infolines theme}{...}

I just use a given template and modify it.
\setbeamertemplate{footline}{\begin{beamercolorbox}[wd=1\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}    \end{beamercolorbox}}

Seems, this topic can be closed although I'm quite interested in why the first solution doesn't work.