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.

Making some tests to answer omit delete second bar under the navigation bar in szeged theme I found that

\documentclass{beamer}

\usetheme{Szeged}
\useoutertheme[subsection=false]{miniframes}

\begin{document}
\frame{Hello} 
\end{document}

finishes with ! LaTeX Error: Option clash for package beamerouterthememiniframes. and I would like to understand why is it.

Szeged already load miniframes with another option but I thought that was always possible to load other themes in order to combine them.

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

You could pass the option explicitely to the package, which you could do even before \documentclass. Note, we use the full theme package name here:

\PassOptionsToPackage{subsection=false}{beamerouterthememiniframes}
\documentclass{beamer}
\usetheme{Szeged} % implicitely loads miniframes
\begin{document}
\section{A section}
\subsection{A subsection}
\frame{Hello} 
\end{document}

Szeged loads miniframes just with a footline option:

\useoutertheme[footline=institutetitle]{miniframes}

This way, miniframes will work also with your option and will not show the subsection line in the header.

share|improve this answer
    
This way, there is no need for explicit \useotertheme{miniframes} because is already included with Szeged. But, do you know why the clash error? –  Ignasi Jan 31 '12 at 17:45
    
@Ignasi: right, I removed the line loading it again. I think the clash occurs because miniframes itself sets the option to true if it is not set. –  Stefan Kottwitz Jan 31 '12 at 17:56
add comment

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.