I use the Madrid theme.
I would like to know how to remove the slide number and the total number of slides from ALL slides in my presentation.
I use the Madrid theme.
I would like to know how to remove the slide number and the total number of slides from ALL slides in my presentation.
Lockstep's answer shows you how to do this on a per-document basis. If you're likely to be using this a lot, here's how to make the change usable by other documents.
Here's a modified version of the infolines outer theme (which is loaded by Madrid) that removes the slide numbering.
\defbeamertemplate*{footline}{noslidenum theme}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\end{beamercolorbox}}%
\vskip0pt%
}
Save this file as beamerouterthemenoslidenum.sty somewhere where your document can find it. If this is for only one document, you could put it in the same folder as the document itself, but a more sensible place to put it would be in your local texmf folder where it can be used by other documents too. If you do that it should ideally go in <path-to-your-local-texmf>/tex/latex/beamer
Then in your document, you load the Madrid theme and then load your new outertheme:
\documentclass{beamer}
\usetheme{Madrid}
\useoutertheme{noslidenum}
\begin{document}
\begin{frame}
\frametitle{First slide}
\end{frame}
\end{document}

\documentclass{beamer}
\usetheme{Madrid}
\makeatletter
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
% \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} % DELETED
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother
\begin{document}
\author{(Author)}
\title{(Title)}
\maketitle
\begin{frame}{(Frame title)}
Some text.
\end{frame}
\end{document}
Starting with beamer v. 3.49 you can easily remove the frame numbers by using \setbeamertemplate{page number in head/foot}{} after your theme:
\documentclass{beamer}
\usetheme{Madrid}
\setbeamertemplate{page number in head/foot}{}
\begin{document}
\begin{frame}
\frametitle{First slide}
\end{frame}
\end{document}
~/Library/texmf/tex/latex/beamer. If you don't have such a directory, you can use this script to create the basic structure. See How do I add a .sty file to my MacTeX/TeXShop installation?. – Alan Munn Sep 11 '12 at 11:51