3

I am condensing a few of my talks in Beamer. The theme I like creates an enormous header when I have many sections

 \usetheme{Malmoe}
 \usecolortheme[named=Brown]{structure} 

exampleofmanysections

I like the CambridgeUS theme, but I can't get the Brown color scheme when I try something like this

\usetheme{CambridgeUS}
\usecolortheme[named=Brown]{structure} 

the red colors from Cambridge override my selection. Is there an easy way to have this color theme with a header that looks like this?

[ section ]      [ subsection ]
(white on black) (white on brown)

1 Answer 1

3

Instead of loading the CambridgeUS theme, load the themes that are used in the definition of CambridgeUS, but replace the beaver complete color theme with the whale outer color theme plus your definition of the structure color theme.

\documentclass[xcolor={dvipsnames,usennames}]{beamer}

\useinnertheme[shadow=true]{rounded}
\useoutertheme{infolines}
% \usecolortheme{beaver}
\setbeamerfont{block title}{size={}}
\setbeamercolor{titlelike}{parent=structure,bg=white}

\usecolortheme{whale}
\usecolortheme[named=Brown]{structure} 

\begin{document}

\section{foo}

\section{bar}

\subsection{subbar}

\begin{frame}
\begin{block}{A block}
(Block content)
\end{block}
\end{frame}

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .