TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the theme Berkeley, I have lot of sections and subsections, I want to hide certain sections, subsections and subsubsections from the navigation bar, but not from the table of contents.

If I use \usetheme[hideothersubsections]{Berkeley}, then it will hide all the subsections from the navigation bar. I need to hide the the section, subsection, the subsubsection I want. How could I do that?

share|improve this question

Use the optional argument of the sectioning commands and leave it empty to not include the unit in the sidebar; the unit will, however, be included in the ToC; an example:




\section{Test Section One}
\subsection[]{Test Subsection One One}
\subsection{Test Subsection One Two}

\section[]{Test Section Two}

\section{Test Section Three}
\subsection[]{Test Subsection Three One}


The ToC:

enter image description here

and one of the frames with hidden units in the sidebar:

enter image description here

share|improve this answer

Your Answer


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.