TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering, if it is possible to show only the current section and subsection in the navigation bar ? In the default configuration, the navigationbar uses too much space of the slide. With


the items are squashed together.

Here is a minimal example:

% packages
\usepackage{amsmath, amsfonts, epsfig, xspace}

% template
\setbeamertemplate{navigation symbols}{} 


 \section{section a}
    \begin{frame} \frametitle{frame 1} \end{frame}
 \section{section b}
    \begin{frame} \frametitle{frame 2} \end{frame}
 \section{section c}
    \begin{frame} \frametitle{frame 3} \end{frame}
 \section{section d}
    \begin{frame} \frametitle{frame 4} \end{frame}

share|improve this question
What do you mean by default configuration? The default theme has no navigation bar at all. – fudo Jun 20 '11 at 10:54
Nope. Still no navigation bar for me, even with those commands; the problem must be somewhere else. Could you write a MWE? – fudo Jun 20 '11 at 16:46
Added a MWE in the description. – Patrick Gretzki Jun 20 '11 at 17:35

The solution is using a different outer-theme

share|improve this answer
I see. The non- default package causing all this was beamerthemesplit, a legacy theme; \usetheme{Malmoe} is now the recommended equivalent. By default, Malmoe's navigation bar shows all sections and subsections. You can change this behavior by selecting the infolines outer theme, as you and Gonzalo pointed out, or by selecting a different theme, like CambridgeUS. – fudo Jun 20 '11 at 21:44

You can either use the infolines outer theme, or set the headline beamer template using \insertsectionhead and \insertsubsectionhead; a little example:



  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{section in head/foot}%
    \hbox to .5\paperwidth{\hfil\insertsectionhead\hfil}
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{subsection in head/foot}%
    \hbox to .5\paperwidth{\hfil\insertsubsectionhead\hfil}

\setbeamertemplate{navigation symbols}{} 


 \section{Test section a}
    \begin{frame} \frametitle{frame 1} \end{frame}
 \subsection{Test subsection a1}
    \begin{frame} \frametitle{frame 2} \end{frame}
 \subsection{Test subsection a2}
    \begin{frame} \frametitle{frame 3} \end{frame}
 \section{Test section b}
    \begin{frame} \frametitle{frame 4} \end{frame}
 \subsection{Test subsection b1}
    \begin{frame} \frametitle{frame 5} \end{frame}
 \subsection{Test subsection b2}
    \begin{frame} \frametitle{frame 6} \end{frame}

share|improve this answer

Your Answer


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.