Reputation
64,418
Next tag badge:
107/100 score
18/20 answers
Badges
3 116 226
Newest
 Nice Answer
Impact
~1.0m people reached

Jul
10
answered How to update an existing node?
Jul
10
answered TikZ, tree, some childs without arrows
Jul
9
comment TikZ: scaling the tikz picture environment
@dustin Nodes are usually not scaled (as they usually are used for text/description). As you use the intersections library you might also simply use circle paths and not nodes (my fault).
Jul
9
comment TikZ: scaling the tikz picture environment
I think the real problem here is that—as the error message says—the coordinate F'-2 cannot be found. The reason is that the aCircle and the fCircle do not intersect (to check this, remove the pgfinterruptboundingbox (to see everything) and let TikZ draw the nodes aCircle and bCircle. If you add transform shape to the nodes they also will scale, though I don’t know whether this affects the node size correctly in regarding if the minimum size (which is set by circle with radius).
Jul
9
comment TikZ, tree, some childs without arrows
@Stefan The [sibling distance=<dim>] is at the wrong position syntactically. Position it after the child or after the first node (aka in front of the siblings) Then the edge will be connected with the node and not simply the child coordinate.
Jul
9
comment Tikz, childs not exactly on the same level
Well, then don’t use the option anchor=north but anchor=center (which is the default). This positions the children at the same height.
Jul
9
comment TikZ: using the ellipse command with a start and end angle instead of an arc
@Jake Come to think of it, the **s were not such a good idea. I think using keys is a better approach and suits the system of TikZ better.
Jul
9
revised TikZ: using the ellipse command with a start and end angle instead of an arc
better implementation
Jul
8
revised TikZ: using the ellipse command with a start and end angle instead of an arc
Update so that it can handle both canvas as well as coordinate system coordinates
Jul
8
answered TikZ: using the ellipse command with a start and end angle instead of an arc
Jul
8
comment TikZ: Drawing an arc between two points
@dustin Interesting, with the code from my answer it works without but your code does need name path global/.expanded = f'Circle-\solA (notice the /.expanded handler). This makes sure \solA is expanded before the path gets its name which otherwise would still have \solA in it which is not defined after the \foreach loop.
Jul
8
comment TikZ: using the ellipse command with a start and end angle instead of an arc
@Jake I don’t think the problem here is the use of calc but that to draw an arc around a coordinate you need to evaluate/input start angle and radii twice.
Jul
8
revised TikZ: Drawing an arc between two points
added 122 characters in body
Jul
8
revised TikZ: Drawing an arc between two points
small correction
Jul
8
comment TikZ: Drawing an arc between two points
@dustin I have added the intersections library solution. There was some problems with the \foreach looping over both solutions, each loop only covering one of the solution was not a problem, but both in one loop messed up the second one. Dividing this task up on two loops though helped. A little messy but it works now. I guess, you only want one of both solutions anyway, so that won’t be a problem?
Jul
8
revised TikZ: Drawing an arc between two points
intersections solution added
Jul
8
comment Triangle with text in it
The label is just a node, so you can use inner ysep=<something smaller then .3333em as well. (If you use this often, you might use an extra style and/or the every label style.)
Jul
8
comment How can I set the TikZ label anchor explicitly?
@DaveBallakauser750378 Are you sure? Have you included the other three lines as well? The inside key uses etoolbox\preto and both use @ in macro names so @ needs to be a letter, thus the \makeatletter-\makeatother sequence.
Jul
8
comment Triangle with text in it
@DaveBallakauser750378 Ah, I wasn’t sure what you actually wanted to achieve visually. But you can set the anchor of the label explicitly label={[anchor=south]below:foo} (or use the inside key) with the little hack from How can I set the TikZ label anchor explicitly?
Jul
8
comment Triangle with text in it
Remove the node text and add a label: label=center:foo. But you have to take care that the shape border doesn’t overlap with the text as it doesn’t do this automatically anymore, similar to using a negative inner sep.