## LaTeX forum ⇒ Text Formatting ⇒ change bullet shape in beamer toc Topic is solved

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

### change bullet shape in beamer toc

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,
Asaf

Tags:

Stefan Kottwitz
Posts: 8792
Joined: Mon Mar 10, 2008 9:44 pm
Hi Asaf,

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

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

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

Now that works:

`\setbeamertemplate{section in toc}[square unnumbered]`

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

Stefan