17

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

How can I do that?

  • 2
    You can apply the plain option to both frames. – Paul Gaborit Oct 10 '12 at 20:59
  • @PaulGaborit but this also removes the footline, and apparently the OP only wants to remove the headline. – Gonzalo Medina Oct 10 '12 at 21:26
  • I didn't noticed that since in my slides I've already removed the footline. So, this is no problem at al. – JohnTortugo Oct 10 '12 at 21:32
  • @JohnTortugo So the plain option is the simpler solution. – Paul Gaborit Oct 10 '12 at 21:33
  • @PaulGaborit seems so ;-) Do you want to provide your answer? – Gonzalo Medina Oct 10 '12 at 21:34
19

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}
|improve this answer|||||
  • In my presentation the second slide, Summary, I made it manually. In the example you provided you're using the \Summary .. can you give me an example that doesn't use that? And also, I don't want the summary appearing at each section start. – JohnTortugo Oct 10 '12 at 21:21
  • @JohnTortugo sure; in my updated answer I show how the same principle applies to any frame (notice the braces to keep the changes local). If you don't want outlines appearing in every section, suppress the lines \AtBeginSection{...}. – Gonzalo Medina Oct 10 '12 at 21:25
  • I used \vspace*{-\headheight} instead of \vspace*{-0.9\baselineskip} in the above. I guess that is more generic. – MLC May 23 '15 at 13:29
13

A very simple solution uses the plain option of the frame environment... This option removes the headline and the footline of the current frame:

\begin{frame}[plain]
  ...
\end{frame}
|improve this answer|||||
  • 2
    I want to remove the title bar only. Then what to do ? – Deepesh Patel Feb 22 '15 at 11:12

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.