# How to Exclude Total Slide Number from Beamer Slide

Here is a MWE for my Beamer slides:

\documentclass[compress]{beamer}

\usecolortheme{seagull}

\title[Name of Presentation Slides]{Name}
\author[Author A and Author B]{Author A and Author B}
\date[September 20, 2017]{September 20, 2017}

\begin{document}

\begin{frame}
\frametitle{First Slide}
\textbf{Letters}
\begin{itemize}
\item A
\item B
\item C
\end{itemize}

\end{frame}

\end{document}


I would like to keep the same format in the bottom bar, but simply exclude the slide total, so that only the current slide is displayed.

I tried the following solutions from these questions (Beamer : Page number without total number of pages and Beamer frame number without total, but they never quite worked right, always modifying the other parts of the bottom bar in some way.

1.

\setbeamertemplate{footline}
\end{beamercolorbox}%
}


2.

\setbeamertemplate {footline}{\quad\hfill\insertframenumber\strut\quad}


3.

\setbeamertemplate{footline}{%
\hfill%
\kern1em\vskip2pt%
}


What is to be done in my instance?

The Madrid theme uses the footline from the infolines outer theme, you can redefine it like this:

\documentclass[compress]{beamer}

\usecolortheme{seagull}

\title[Name of Presentation Slides]{Name}
\author[Author A and Author B]{Author A and Author B}
\date[September 20, 2017]{September 20, 2017}

\makeatletter
\setbeamertemplate{footline}{
\leavevmode%
\hbox{%
\end{beamercolorbox}%
\end{beamercolorbox}%
\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother

\begin{document}

\begin{frame}
\frametitle{First Slide}
\textbf{Letters}
\begin{itemize}
\item A
\item B
\item C
\end{itemize}

\end{frame}

\end{document}


Starting with beamer v. 3.49 the new beamer template page number in head/foot simplifies this to:

\documentclass[compress]{beamer}


• It almost works. I get this error: Undefined control sequence. <recently read> \ifblank. If I delete \ifblank from the code, it works, but places ( ) after the author name(s). Sep 20 '17 at 20:13