I'd like to place text along the shape of a node. The MWE below generates the following image. I'd like the text 'Classic First Program' to follow the circle of the node shape.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) node [label=above:Classic First Program, align=center,circle,font=\huge,draw] {Hello\\ World!};
\end{tikzpicture}
\end{document}
Is there an automated way to do this without self-defining another path that matches the node shape? I'd like to be able to change the interior text (and hence the node shape) without also having to adjust the label text.
Best Answer
Maybe there is an easy way, but I could not find it.
Edit: An alternative way:
Edit: I did it :o)