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 preparint a presentation in beamer using the theme "beamerthemeshadow". In all slides, next to the superior border, a list appears always with section and subsection name, highlighted depending on the part of the presentation I am. It worked fine, but I observe now, in some part I added 5 subsubsections, and now the "box" (what is the right name for this?) grew a lot, so now it takes half slide! I do not udnerstand this since subsubsections do not appear on this object. Can you tell me how do I solve this? Thanks

P.D. And how can one shorten the name of the subsections and sections as they appear on this "box"?

share|improve this question
have you already tried things like \subsection[short for toc]{long for slide}? – Martin H Jul 6 '11 at 12:49
@martin H I'd suggest adding that as an answer. – Seamus Jul 6 '11 at 13:26
yes, that works! but my main question is the problem with the box size when having around 8 subsubsectios – flow Jul 6 '11 at 13:49
up vote 3 down vote accepted

In beamer you can use the function of providing short names for the table of contents. This works in regular document classes as well.

In you case using

\subsection[short version for toc]{long version}

should give a smaller toc-box.

share|improve this answer
I still get the same error, although the titles are shorter now – flow Jul 6 '11 at 13:57
you should provide a minimal working example. otherwise there is too much guesswork involved – Martin H Jul 6 '11 at 16:26
In that case: \subsubsection[short version for toc]{long version} short version does not appear (I get the long version). \ How could I fix this problem? – user11394 Feb 2 '12 at 15:54
@ConstantineDelisTsardounis I converted your answer, which actually is a question, to a comment. – Stefan Kottwitz Feb 2 '12 at 16:27

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.