When using Beamer with theme having sidebars and hiding inactive subsections, there is an unnecessary distance (looks like \baselineskip) between the already passed section and the next section. It looks like Beamer hides the subsection names, but not the vertical space used below the subsection names, and this wastes a lot of valuable space when I have several sections, say for a plenary talk. How can I omit that space? (I think the indentation separates enough the sections and subsections optically, so actually no need to make further separation, a normal line distance would be enough.)

\usetheme[hideothersubsections] {Goettingen}


\section{Sec one}
\begin{frame}{Frame Number 1}{Frame 1}
\begin{frame}{Frame Number 2}{Frame 2}
\section{Sec two}
\begin{frame}{Frame Number 3}{Frame 3}

1 Answer 1


The default templates section in sidebar and section in sidebar shaded add a vertical space of 1ex. You can re-define those 2 templates to remove it.

\setbeamertemplate{section in sidebar}{\vbox{%
    \beamer@sidebarformat{3pt}{section in sidebar}{\insertsectionhead}}}
\setbeamertemplate{section in sidebar shaded}{\vbox{%
    \beamer@sidebarformat{3pt}{section in sidebar shaded}{\insertsectionhead}}}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .