5

I have a lot of subsections in my beamer presentation and there is a sidebar in my theme. I prefer to show the list of subsections only if their parent section is active. In this way less space will be taken by the items in the sidebar.

I searched for similar questions. But none of them were the one I was looking for.

Do you know how to do that?

Arya Mz
  • 337
  • 1
    have you tried hideothersubsections as a theme option? – d-cmst Dec 27 '14 at 23:29
  • You might also look at this: http://tex.stackexchange.com/questions/51647/show-hide-the-sections-subsections-and-subsections-that-i-want-from-the-navigat – cryingshadow Dec 28 '14 at 00:54
  • @dcmst I'm not using beamer's default themes. I have designed my theme but I use sidebar theme from beamer. Is there any workaround? – Arya Mz Dec 28 '14 at 09:43
  • 1
    Try to use hideothersubsections as a global option: \documentclass[hideothersubsections]{beamer}. – d-cmst Dec 28 '14 at 11:23
  • @dcmst That's exactly what I wanted. Thanks :) – Arya Mz Dec 28 '14 at 16:47
  • @AryaMz You're welcome, I converted my comments into an answer so that we can remove this question from the list of unanswered questions. – d-cmst Dec 28 '14 at 20:50

1 Answers1

5

The option hideothersubsections works for sidebar themes and can be used both with the theme specification, as in:

\usetheme[hideothersubsections]{Hannover}

or as a global option, as in:

\documentclass[hideothersubsections]{beamer}

In both cases it hides the subsections of the non active sections from the sidebar.

d-cmst
  • 23,095