TransWikia.com

Tikzpicture as bullet in itemize

TeX - LaTeX Asked by Filippo Bistaffa on January 13, 2021

Is it possible to use Tikz nodes as bullets inside itemize with Beamer? My very naive try doesn’t work (obviously):

begin{itemize}
item[begin{tikzpicture}node[draw,circle,minimum size=9mm] {x};end{tikzpicture}] x
end{itemize}

One Answer

You can use tikz instead of begin{tikzpicture}, like below:

documentclass{beamer}
usefonttheme{serif}
usepackage{tikz}

begin{document}

begin{frame}
    begin{itemize}
        item  [tikz{node[draw,circle,minimum size=3mm] {x};}] test
        item 
        item 
    end{itemize}
end{frame}

end{document}

enter image description here

Correct answer by javadr on January 13, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP