Taking from the PGF manual,
\begin{tikzpicture}
\draw [help lines] (0,0) grid (3,3);
\coordinate (a) at (rnd,rnd);
\coordinate (b) at (3-rnd,3-rnd);
\draw (a) -- (b);
\node (c) at (1,2) {x};
\draw let \p1 = ($ (a)!(c)!(b) - (c) $),
\n1 = {veclen(\x1,\y1)}
in circle [at=(c), radius=\n1];
\end{tikzpicture}
I'd like to increase the size of x
. The problem is that I have multiple circles in the same diagram. Some of them require a larger sized font, while others are okay at default. How do I do this?
\node[scale=3] at (1,2) {x}
(choose the number appropriately);)
\usetikzlibrary{}
items for this picture to work?positioning
for sure, but how to get rid ofUndefined control sequence in circle [at=(c), radius=\n1]
?