2

I want to get rid of the numbered circles in the table of content:

screenshot

And have normal text, like "1. First Section" "1.1 First Subsection" and so on.

Here is a MWE:

\documentclass{beamer}

\usetheme{Boadilla}

\begin{document}

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

\section{First Section}

\begin{frame}
Frame 1
\end{frame}

\subsection{First Subsection}

\begin{frame}
Frame 2
\end{frame}

\section{Second Section}

\begin{frame}
Frame 3
\end{frame}

\end{document}

Thank you for your help!

1 Answer 1

2

You can use the sections numbered and subsections numbered templates for the toc:

\documentclass{beamer}

\usetheme{Boadilla}

\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}[subsections numbered]

\setbeamertemplate{subsubsection in toc}{%
    \leavevmode\normalsize\usebeamerfont{subsection in
    toc}\leftskip=2.5em\usebeamerfont{subsubsection in toc}%
  \rlap{\hskip-3em\inserttocsectionnumber.\inserttocsubsectionnumber.\inserttocsubsubsectionnumber}\inserttocsubsubsection\par}


\begin{document}

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

\section{First Section}

\begin{frame}
Frame 1
\end{frame}

\subsection{First Subsection}

\subsubsection{subsubsection name}

\begin{frame}
Frame 2
\end{frame}

\section{Second Section}

\begin{frame}
Frame 3
\end{frame}

\end{document}

enter image description here

4
  • Sam, how, can I numerize the subsubsections? \setbeamertemplate{subsubsection in toc}[subsubsections numbered] does not work.. :/
    – mrbela
    Jan 8, 2019 at 16:24
  • 1
    @mrbela Subsubsections are not full supported by beamer Jan 8, 2019 at 16:27
  • 1
    @mrbela Please see my updated answer -- although using subsubsections is in most cases not a good idea. Jan 8, 2019 at 16:34
  • @mrbela Can you please go back to your previous questions and accept the answers if they solve your question? Jan 8, 2019 at 16:41

You must log in to answer this question.

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