This question already has an answer here:

How do I get the line break inside a pin node to work in TikZ?

\node[pin={\angle+0.5*\percent*3.6:hi\\there}] at (120:3) {};

I tried align=center but didn't work as a typical node.

marked as duplicate by user156344, Phelype Oleinik, marmot tikz-pgf Mar 18 at 16:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Try \node[pin={[align=center]45:hi\\there}] at (120:3) {};. – Paul Gaborit Mar 18 at 15:52

This works for me:


 \node[pin={[align=center]30:{hi\\ there}}] at (120:3) {};

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.