Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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)
share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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