I would like to attach several labels with annotations to a (square) node (the node has the text "32" here).
However, the labels (they have draw) should lie seamlessly together and should all have the same width as the node (with 32).
How do I achieve a suitable font size for the labels? (The label texts should all have the same font size.)
Or what is the best way to do this?
\documentclass[margin=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[font=\footnotesize\sffamily, very thin,
NumStyle/.style={minimum size=4mm, inner sep=0pt, draw},
LabelStyle/.style={minimum width=4mm, draw, font=\sffamily\tiny, inner xsep=0.5pt, inner ysep=1pt},
]
\node[NumStyle, fill=red, text=white,
label={[LabelStyle,
scale=0.7% try ?
]below:{1. Place}},
label={[LabelStyle, fill=yellow, name=P]above:{even (1/9)}},
label={[LabelStyle, fill=purple, yshift=2.7mm]{high (3/9)}},
]{32};
\end{tikzpicture}
\end{document}


