[Tex/LaTex] Beamer theme, remove navigation bar from one slide

beamerpdftex

I'm using beamer and the theme Copenhagen. I would like to remove the navigation menu (the list of section names shown at the top of each slide) from the first (first page) and from the summary slides.

How can I do that?

Best Answer

You can set the headline beamer template to be empty locally, using \setbeamertemplate{headline}{}; if the frame has space reserved for a frame title, in addition to the modification mentioned before, you will have to move the frame title upwards for this frame, and this can be done by adding a convenient \vspace{<length>} to the frametitle template (also locally). A little example removing the navigation bar from the frame containing \maketitle and for the frames containing the ToCs generated with \AtBeginSection:

\documentclass{beamer}
\usetheme{Copenhagen}

\AtBeginSection[] % Do nothing for \section*
{
\begingroup
\setbeamertemplate{headline}{}
\addtobeamertemplate{frametitle}{\vspace*{-0.9\baselineskip}}{}
\begin{frame}<beamer>
\frametitle{Summary}
\tableofcontents[currentsection]
\end{frame}
\endgroup
}

\title{The Title}
\author{The Author}
\institute{The Institute}


\begin{document}

{
\setbeamertemplate{headline}{}
\begin{frame}
\maketitle
\end{frame}
}

\section{Test Section One}
\begin{frame}{The frame title}
test one
\end{frame}
\begin{frame}{The frame title}
test two
\end{frame}
\section{Test Section Two}
\begin{frame}{The frame title}
test three
\end{frame}
\begin{frame}{The frame title}
test four
\end{frame}

\end{document}

The resulting document:

enter image description here

For an specific frame the same principle applies:

{
\setbeamertemplate{headline}{}
\addtobeamertemplate{frametitle}{\vspace*{-0.9\baselineskip}}{}
\begin{frame}
\frametitle{Summary}
Some text here
\end{frame}
}

A complete example, as required in a comment;

\documentclass{beamer}
\usetheme{Copenhagen}

\title{The Title}
\author{The Author}
\institute{The Institute}

\begin{document}

{
\setbeamertemplate{headline}{}
\begin{frame}
\maketitle
\end{frame}
}

{
\setbeamertemplate{headline}{}
\addtobeamertemplate{frametitle}{\vspace*{-0.9\baselineskip}}{}
\begin{frame}
\frametitle{Summary}
Some text here
\end{frame}
}

\section{Test Section One}
\begin{frame}{The frame title}
test one
\end{frame}
\begin{frame}{The frame title}
test two
\end{frame}
\section{Test Section Two}
\begin{frame}{The frame title}
test three
\end{frame}
\begin{frame}{The frame title}
test four
\end{frame}

\end{document}