0

I know that i can turn the table of contents in a beamer presentation from a numbered list to a bullet list by adding \setbeamertemplate{section in toc}[ball unnumbered] to the preamble.

But how can I make it resemble a description list? I would like for each entry in the toc to start with "Section #." and then show the section's title.

Section 10.5 of the beamer user guide says the following:

If none of the above options suits you, you have to change the templates section in toc and subsection in toc directly.

but gives no guidance as to how to do it.

0

You can define your own template:

\documentclass{beamer}


\setbeamertemplate{section in toc}{Section \inserttocsectionnumber: \inserttocsection\par}


\begin{document}

\begin{frame}
    \tableofcontents
\end{frame} 

\section{title}
\begin{frame}
    abc
\end{frame} 

\section{another title}
\begin{frame}
    abc
\end{frame} 

\end{document}

enter image description here

  • That worked, thanks. May I ask where I can find this kind of information about how to modify beamer templates for different purposes? – poxx Jun 6 '18 at 15:43
  • @poxx My usual approach is to look at the source code of existing templates and modify from there. For example the definition of the ball unnumbered template you mention in your question can be found in beamerbaseauxtemplates.sty – user36296 Jun 6 '18 at 15:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.