6

I'm attempting to draw a dancing man in the label of a node of my drawing, but Overleaf is straight up ignoring my Pisymbol. The text "dancing fellow" is displayed correctly, but the symbol is not. Do I need to include something in particular along with pifont?

\documentclass{paper}
\usepackage{tikz}
\usepackage{pifont}
\begin{document}
\begin{tikzpicture}
\draw (0, 1.2) node [label = below : Dancing fellow \Pisymbol{dancers}{181}] {};
\end{tikzpicture}
\end{document}

I also tried the command outside of the tikz environment and it is still not dispaying the dancing guy.

The symbol was found here on page 226. Thanks in advance to anyone.

  • 1
    Hi, welcome. Note there's a {} missing before the ;, as it stands you get an error (which is unrelated to your actual problem). – Torbjørn T. Aug 23 at 16:40
  • Thank you very much, I edited the code. – User.cpp Aug 23 at 16:44
7

There is no LaTeX support for the dancers font and the Comprehensive List should be clearer about this.

\documentclass{paper}
\usepackage{tikz}
\usepackage{pifont}

\DeclareFontFamily{U}{dancers}{}
\DeclareFontShape{U}{dancers}{m}{n}{<-> dancers}{}

\begin{document}

\begin{tikzpicture}
\draw (0, 1.2) node [label = below : Dancing fellow \Pisymbol{dancers}{181}] {};
\end{tikzpicture}

\end{document}

enter image description here

| improve this answer | |

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.