Open1
TikZメモ
x , y 座標の取得
\usetikzlibrary{math}
...
% tikzpicture内
\coordinate (X) at (\myunit,0);
\tikzmath{
coordinate \c ;
\c = (X);
}
\node at (\cx, \cy) {$c$};
-
\cとして定義した座標の変数の ,x 座標の取得がそれぞれy \cxと\cyで利用可能. -
cの部分が変数名として変えられる. - 宣言と代入は同時にできない模様