# Frame-numbering alignment in beamer with many slides

Using beamer with wuerzburg outer and chamfered inner theme I created a long presentation with 100+ slides. After 9 slides the frame numbers are not correctly aligned, the total framenumber is visible but the current framenumber is above it, and I did not find a way to correctly align it.

In the MWE on the last 30 frames tried the solution here: Add Footer Text to All Slides in Beamer but this one removes the original footline background (colortheme). If you uncomment the \usecolortheme{shark} it is more visible why the current framenumber disappears.

\documentclass{beamer}
\mode<beamer>{
\useoutertheme[glossy]{wuerzburg}
\usecolortheme{shark}
}

\usepackage{blindtext}

\begin{document}
\begin{frame}[allowframebreaks]{Original footline}
\blindtext[100]
\end{frame}

\setbeamertemplate{footline}[text line]{%
}

\begin{frame}[allowframebreaks]{Different footline}
\blindtext[50]
\end{frame}
\end{document}

• Is the Würzburg theme available somewhere? I cannot reproduce the problem with the default theme. – user36296 Feb 13 '18 at 13:08

Assuming you use https://github.com/pmagwene/beamer-theme-collection/blob/master/beamerouterthemewuerzburg.sty you could change the footline definition like this:

\documentclass{beamer}
\useoutertheme[glossy]{wuerzburg}
\usecolortheme{shark}

\usepackage{blindtext}

\makeatletter
\setbeamertemplate{footline}{%
\ifbeamer@wuerzburg@nofootline
\else
\leavevmode%
\ifbeamer@wuerzburg@glossy%
\vskip-3.5ex
\hbox{%
\hspace*{3.5ex}%
\insertshortauthor{}%
\end{beamercolorbox}%
\end{beamercolorbox}}
\else%
\hbox{%
\hspace*{3.5ex}%
\insertshortauthor{}%
\end{beamercolorbox}%
\end{beamercolorbox}}
\fi%
\vskip0pt%
\fi
}
\makeatother

\begin{document}

\begin{frame}[allowframebreaks]{Original footline}
\blindtext[100]
\end{frame}

\end{document}