7

I'm preparing a presentation and I would like to have transition slides without any noise, so I want to remove even the frame number (which I need for non-transition slides).

I modified the footer of the slides such that I insert the frame number instead of the page number:

\setbeamertemplate{footline}{%
  \raisebox{5pt}{\makebox[\paperwidth]{\hfill\makebox[10pt]{\scriptsize{\color{blue}\insertframenumber}}\hspace{2mm}}}}

How can I turn off the frame number in these transitions slides.

The full MWE is as follows.

\documentclass[xcolor=dvipsnames, fleqn, usenames, table]{beamer}

\setbeamercovered{invisible}

\mode<presentation> {

\usetheme{default}

\setbeamertemplate{footline}{%
  \raisebox{5pt}{\makebox[\paperwidth]{\hfill\makebox[10pt]{\scriptsize{\color{blue}\insertframenumber}}\hspace{2mm}}}}
}

% comment to show navigation bar
\beamertemplatenavigationsymbolsempty

\usepackage{color}
\usepackage{lipsum}


\begin{document}

\begin{frame}
\lipsum[2]
\end{frame}


% transition slide
\begin{frame}
  {\huge 
   \begin{center}
   {\color{blue} Transition} 
   \end{center}
  }
\end{frame}


\begin{frame}
\lipsum[2]
\end{frame}

\end{document}
  • 2
    You can use \begin{frame}[plain] for those transition slides. – user11232 Apr 15 '15 at 8:42
  • Yes, but then the frame number gets increased too. – aaragon Apr 15 '15 at 8:54
  • 1
    Add \addtocounter{framenumber}{-1} after every transition frame – Ignasi Apr 15 '15 at 9:05
  • That solved it. – aaragon Apr 15 '15 at 9:17
  • 1
    Or use '\begin{frame}[noframenumbering]{My Title} \end{frame}' to get unnumered slides – user36296 Apr 15 '15 at 9:41
9

I also had a custom footers and using a combination of both plain and noframenumbering worked for me. This removes any footnotes and does not increase the frame increment.

\documentclass[]{beamer}
% Custom numbering for the footline
\setbeamertemplate{footline}{%
  \raisebox{5pt}{%
    \makebox[\paperwidth]{%
      \hfill\makebox[10pt]{%
        \footnotesize\insertframenumber
      }
    }
  }
}
\begin{document}
    \begin{frame}[plain,noframenumbering]
    \end{frame}
    \begin{frame}
        Super cool content.
    \end{frame}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.