2

Following Beamer: increase radius of circle in TOC and include subsection bullet I set the 'subsection in toc' of Beamer by:

\setbeamertemplate{subsection in toc}
 {\leavevmode\leftskip=2em$\bullet$\hskip1em\inserttocsubsection\par}

However, if a subsection title exceeds the current line, the new line is not indented correcty; the new line begins below the bullet and is not aligend with the first line. How can I change this? enter image description here

1 Answer 1

7

A quick solution is to put the tocsubsection contents into a parbox:

\setbeamertemplate{subsection in toc}
 {\leavevmode\leftskip=2em$\bullet$\hskip1em\parbox[t]{\textwidth-\leftskip-2em}{\inserttocsubsection}\vspace{2ex}\par}

Note that for the arithmetic to calculate the length of the parbox, the package calc is required. A little vertical space is added after the parbox to solve somewhat the spacing problems noted by Julian. The vertical spacing for the short subsection title is different from the one in the larger subsection titles.

image

3
  • 3
    that would be my solution too, although it may come to one's mind to calculate the box width by \textwidth-\leftskip-1em
    – bloodworks
    Jan 7, 2013 at 10:56
  • The solution has one drawback: If you have an additional subsection in this section, the lines nearly colide/are drawn to close to each other.
    – Funkwecker
    Jan 7, 2013 at 13:10
  • @bloodworks Thanks for the suggestion. Updated answer accordingly.
    – guillem
    Jan 7, 2013 at 14:46

You must log in to answer this question.

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