\begin{Verbatim}[commandchars=\\\{\}] \PYG{k}{\PYGZbs{}begin}\PYG{n+nb}{\PYGZob{}}figure\PYG{n+nb}{\PYGZcb{}}[h] \PYG{k}{\PYGZbs{}begin}\PYG{n+nb}{\PYGZob{}}tikzpicture\PYG{n+nb}{\PYGZcb{}} \PYG{k}{\PYGZbs{}draw} (0,0) circle (2); \PYG{k}{\PYGZbs{}draw} (1,0.8) circle (0.5); \PYG{k}{\PYGZbs{}draw} (\PYGZhy{}1,0.8) circle (0.5); \PYG{k}{\PYGZbs{}draw} (\PYGZhy{}1,0) .. controls (\PYGZhy{}1,\PYGZhy{}1) and (1,\PYGZhy{}1) .. (1,0); \PYG{k}{\PYGZbs{}end}\PYG{n+nb}{\PYGZob{}}tikzpicture\PYG{n+nb}{\PYGZcb{}} \PYG{k}{\PYGZbs{}caption}\PYG{n+nb}{\PYGZob{}}Smiley\PYG{n+nb}{\PYGZcb{}} \PYG{k}{\PYGZbs{}label}\PYG{n+nb}{\PYGZob{}}fig:smiley\PYG{n+nb}{\PYGZcb{}} \PYG{k}{\PYGZbs{}end}\PYG{n+nb}{\PYGZob{}}figure\PYG{n+nb}{\PYGZcb{}} \end{Verbatim}