5

I use the Madrid theme

How can I remove the bullets in page of table-of-contents.

I have tried

\setbeamertemplate{items}[circle]

It can remove the bullets in enumeration environment. But can do with that in table-on-contents

  • Do you want to remove the bullets and the numbers or just the bullets? – Gonzalo Medina May 6 '12 at 15:52
11

You can set the section in toc, subsection in toc templates; something along these lines:

\documentclass{beamer}
\usetheme{Madrid}

\setbeamertemplate{section in toc}{\hspace*{1em}\inserttocsection}
\setbeamertemplate{subsection in toc}{\hspace*{2em}\inserttocsubsection}

\begin{document}

\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}

\section{Test section}
\begin{frame}
test
\end{frame}

\subsection{Test subsection}
\begin{frame}
test
\end{frame}

\end{document}

enter image description here

or simply, if no additional indentation is needed,

\documentclass{beamer}
\usetheme{Madrid}

\setbeamertemplate{sections/subsections in toc}[default]

\begin{document}

\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}

\section{Test section}
\begin{frame}
test
\end{frame}

\subsection{Test subsection}
\begin{frame}
test
\end{frame}

\end{document}

enter image description here

The solutions above will remove both the balls and the section numbering; if only the balls used are to be removed, but keeping the section numbering, you can use the following:

\documentclass{beamer}
\usetheme{Madrid}

\setbeamertemplate{sections/subsections in toc}[sections numbered]

\begin{document}

\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}

\section{Test section}
\begin{frame}
test
\end{frame}

\subsection{Test subsection}
\begin{frame}
test
\end{frame}

\end{document}

enter image description here

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.