Tag Info

New answers tagged

2

You should not use the underscore character in the macro names even though TikZ handles it sufficiently well for most cases. Underscore character is a mathmode subscript command and you can safely avoid it with other types. The main problem is that math operations don't expand to a result when found on the path. They save the result in a macro called ...


2

There is a standard way to do it using let like this : \begin{tikzpicture} \coordinate (A) at (2,3); \path let \p1=(A) in node{\x1}; \end{tikzpicture} And if you want it as a number (or in cm) you can see this answer.



Top 50 recent answers are included