0

In the CambridgeUS theme in Beamer (and I guess also in other themes), there are two boxes in the header appearing on each slide: enter image description here

Personally, I'd like to remove them, as they do not contain any necessary information, how can this be done?

3

1 Answer 1

1

Here is proposal.

\documentclass{beamer}
\usetheme{CambridgeUS}
% https://tex.stackexchange.com/questions/33146
% In my case, first hit when googeling for "CambridgeUS beamer header remove" :).
\setbeamertemplate{headline}{} % < --- ---

\begin{document}
\begin{frame}{Frame Title}
    Content.
\end{frame}
\end{document}

enter image description here


Important: When using sections etc., the headline has a purpose, see:

\documentclass{beamer}
\usetheme{CambridgeUS}

\begin{document}
\section{Section 1}
\subsection{Subsection 1}
\begin{frame}{Frame Title}
    Content.
\end{frame}

\section{Section 2}
\begin{frame}{Frame Title}
    Content.
\end{frame}
\end{document}

enter image description here

3
  • Thank you for the proposal and the comment regarding the usefulness of the header when using comments! Concerning your proposal: I added the line, but unfortunately, just as is in your case, there is now instead of the header white space. Ideally, I'd like to remove the white space as well, could you help me on that as well?
    – Hermi
    Feb 13 at 8:26
  • This is why you need to provide an mwe, see my comment below your question. Otherwise there is too much guessing involved. Feb 13 at 9:51
  • Sorry, my question has already resolved itself. I had not put setbeamertemplate{headline}{} before \begin{document}, that was my mistake.
    – Hermi
    Feb 13 at 12:01

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.