I'm working with the Goettingen LaTeX beamer theme, which has a sidebar with table of contents. The toc shows sections and subsection, but I would like to only show the sections in this table of contents. Usually I would do this by setting the tocdepth counter

\setcounter{tocdepth}{1}


But this has not effect on the sidebar toc. Is there some other counter or simple way of changing the tocdepth for the sidebar?

A MWE:

\documentclass{beamer}

\usepackage{polyglossia}
\setmainlanguage{english}

\usetheme{Goettingen}

\setcounter{tocdepth}{1}

\begin{document}

\begin{frame}
\tableofcontents
\end{frame}

\section{Introduction}
\begin{frame}
\end{frame}

\section{Requirements}
\begin{frame}
\end{frame}

\subsection{Req 1}
\begin{frame}
\end{frame}

\subsection{Req 2}
\begin{frame}
\end{frame}

\subsection{Req 3}
\begin{frame}
\end{frame}

\section{Preliminaries}
\begin{frame}
\end{frame}

\subsection{Thing 1}
\begin{frame}
\end{frame}

\subsection{Thing 2}
\begin{frame}
\end{frame}

\end{document}

• Care to give a MWE? – user36296 Apr 4 '16 at 11:38
• try \documentclass[hideallsubsections]{beamer} – user36296 Apr 4 '16 at 12:09
• \documentclass[hideallsubsections]{beamer} is the solution I was looking for – white_gecko Apr 4 '16 at 12:21

\documentclass[hideallsubsections]{beamer}