How about numeric variables? Is there a simple way to define them in tikzpicture environment?
For example:
Code: Select all
x=1; %i know it's not correct
y=2;
\coordinate (A) at (x,y); %now it should be A=(1,2)
\coordinate (A) at (x+2,y-1); %now A=(3,1)