I wish to add the circle inside the diamond, and star inside the circle like in the photo.
However, using my code,
\node[draw, diamond, above=of aux] (diamond) {};
\node[draw,circle,above=of aux,minimum size=2mm,inner sep=0pt]{};
\node[draw, star,above=of aux,minimum size=0.01mm](star){};
centers of the circle, diamond and star are not the same as shown in the following picture.
What's the problem with the code?
Best Answer
You don't have to use the
above
key, just put all the node at the same point.Edit: To make the picture smaller, you may either change all
minimum size
keys, or put the whole in a\resizebox
like this:To put all above an (aux) node, you may use:
where
\resizebox{ ... }
is the above construction