Document Classesbeamer | Hide other Sections in "Berlin" Theme

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
m.carrara3
Posts: 21
Joined: Mon Sep 08, 2008 7:13 pm

beamer | Hide other Sections in "Berlin" Theme

Post by m.carrara3 »

I have a problem.

I'm using Berlin theme for my thesis' presentation and I need to hide in the headline the sections I'm not on; I just want the present section to be showed on each frame.

Any suggestion?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Hide other Sections in "Berlin" Theme

Post by Stefan Kottwitz »

Hi m.carrara3,

welcome to the board!
You could redefine \insertnavigation, consider this as a workaround:

Code: Select all

\makeatletter
\renewcommand*\insertnavigation[1]{%
  \vbox{{%
    \usebeamerfont{section in head/foot}\usebeamercolor[fg]{section in head/foot}%
    \beamer@xpos=0\relax%
    \beamer@ypos=1\relax%
    \hskip.3cm\setbox\beamer@sectionbox=\hbox{\kern1sp}%
      \ht\beamer@sectionbox=1.875ex%
      \dp\beamer@sectionbox=0.75ex%
        \insertsectionhead%
      \box\beamer@sectionbox\hfil\hskip.3cm%
  }}}
\makeatother
That's a modification of the code in beamerbasenavigation.sty.

Stefan
LaTeX.org admin
m.carrara3
Posts: 21
Joined: Mon Sep 08, 2008 7:13 pm

Re: beamer | Hide other Sections in "Berlin" Theme

Post by m.carrara3 »

Thank you so much!!! I've already tried it and it works out perfectly!!!!
Post Reply