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.
Code: Select all
%\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}