LaTeX forum ⇒ Text Formattingchange bullet shape in beamer toc Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 37
Joined: Sun Jun 10, 2012 12:33 pm

change bullet shape in beamer toc

Postby asafw » Thu Feb 19, 2015 6:39 am

Hi there,

I am using the default beamer theme, and would like to have square *unnumbered* bullets for sections in the ToC. I didn't find an easy way to modify this when I looked online.

Changing "ball" to "square" in
\setbeamertemplate{section in toc}[ball unnumbered]
doesn't work..

Also, is there a way to change the color of the square (from default blue to black)?

Thanks a lot,


User avatar
Stefan Kottwitz
Site Admin
Posts: 9557
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 23, 2015 3:00 pm

Hi Asaf,

you can define such as style. Here I modified the original definition from beamerbaseauxtemplates.sty:

  1. \defbeamertemplate{section in toc}{square unnumbered}{%
  2. \leavevmode\leftskip=1.75ex%
  3. \llap{\textcolor{red!70!black}{\vrule width2.25ex
  4. height1.85ex depth.4ex}}%
  5. \kern1.5ex\inserttocsection\par}

I just chose a red-black mix, you can change that as desired.

Now that works:

  1. \setbeamertemplate{section in toc}[square unnumbered]

square-tableofcontents.png (13.04 KiB) Viewed 11835 times

Stefan admin

Posts: 37
Joined: Sun Jun 10, 2012 12:33 pm

Postby asafw » Wed Feb 25, 2015 6:07 pm

Thank you so much Stefan! This is great.

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests