I want to define a custom statechart using TikZ-UML (http://www.ensta-paristech.fr/~kielbasi/tikzuml/index.php). My problem is that the state does not seem to render the content in its body.
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath}
\usepackage{tikz}
\usepackage{tikz-uml}
\begin{document}
\begin{figure}[h]
\begin{tikzpicture}
\begin{umlstate}[name=State]{A State}
Some
State
Content
$$x = y$$
\end{umlstate}
\end{tikzpicture}
\end{figure}
\end{document}
Does anyone know whether this is a TikZ or TikZ-UML specific issue? And ideally: How would one display abitrary content here?
statesit looks like it's not possible to include regular text insidestates. All examples show how to include otherumlcommands, but no one shows text. – Ignasi Feb 07 '14 at 11:41$$for math, pleas take a look at Why is\[ … \]preferable to$$? ;-) – Tobi Jul 12 '16 at 10:07