Answer by AboAmmar for Computing and adding a note in the middle of a figure...
You are unnecessarily complicating simple things. What you want is just a singlecommand like this:\draw[draw=gray, very thin] (#1mm,#2mm) rectangle ++(-6mm,-6mm) node[pos=.5] {#3};and you can call it...
View ArticleAnswer by vi pa for Computing and adding a note in the middle of a figure in...
For get what you want you should wrap the calculations of x and y with braces. But as suggested by SebGlav in the comment, the code can be simplified using the calc library. The default units used by...
View ArticleComputing and adding a note in the middle of a figure in tikz
I want to compute the middle of a geometric figure and create a node with some text on that coordinates. When trying to do some simple squares, I get! Package pgf Error: No shape named (0 is known.I'm...
View Article
More Pages to Explore .....