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.

Beamer navigation bar with sections ans SUBsections but without SUBSUBsections?? I'm using PaloAlto theme.

share|improve this question
add comment

1 Answer 1

You can set the beamer templates subsubsection in sidebar and subsubsection in sidebar shaded so that they don't insert the subsubsection title:

\documentclass[a4paper,11pt]{beamer}
\usetheme{PaloAlto}

\makeatletter
\setbeamertemplate{subsubsection in sidebar}
  {\vspace*{-\baselineskip}}
\setbeamertemplate{subsubsection in sidebar shaded}
  {\vspace*{-\baselineskip}}
\makeatother

\begin{document}

\section{test section one}
\begin{frame}test\end{frame}
\subsection{test subsection one}
\begin{frame}test\end{frame}
\subsubsection{test subsubsection one}
\begin{frame}test\end{frame}
\subsubsection{test subsubsection teo}
\begin{frame}test\end{frame}
\section{test section two}
\begin{frame}test\end{frame}
\subsection{test subsection two}
\begin{frame}test\end{frame}

\end{document}

Here's the first frame of the resulting document, showing the sidebar without the subsubsection titles:

enter image description here

share|improve this answer
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.