Reputation
Next tag badge:
107/100 score
18/20 answers
Badges
3 119 229
Newest
 Nice Answer
Impact
~1.1m people reached

Jul
11
comment TikZ: is there a better way to represent the following node content
Yes, \node […,align=center] at (…) {Position of $S_2$ when \\ $S_1$ reaches $C$};.
Jul
11
revised Using counters and \ifthen in a macro: what's wrong?
updated code (but not image)
Jul
11
comment Using counters and \ifthen in a macro: what's wrong?
@StonefeatherGrubbs blackburn’s solution works inside a group as LaTeX’s counter are always set globally.
Jul
11
comment Using counters and \ifthen in a macro: what's wrong?
@StonefeatherGrubbs Yes, of course. Any environment and also the {\centering …} group makes the switch local. You need to \global the change either with the plainTeX version, i.e. \gobble\pawrighttrue and \gobble\pawrightfalse, or you use the etoolbox version which can be prepended with \global. I’ll update my answer in a bit.
Jul
11
comment Problem bending arrows in xypic
@user21952-is-a-great-name I have added both a PGF and a calc solution. Both of them can easily be adjusted to work for all other directions, too. If you also want to avoid overlapping with nodes between start and target, more work is involved. Will this be needed?
Jul
11
revised Problem bending arrows in xypic
added 2301 characters in body
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