Reputation
63,428
Next tag badge:
105/100 score
18/20 answers
Badges
3 115 222
Newest
 tikz-styles
Impact
~997k people reached

Jul
8
answered TikZ: using the spy library to zoom in
Jul
8
comment TikZ: using the spy library to zoom in
1. You can name the spy node, say … in node (name) at (…) and reference it later. 2. The \spy is also a node. You can simply use any shape you want, say \spy [circle, draw=blue, …] ….
Jul
8
comment TikZ: Drawing an arc between two points
@dustin I believe it is not very accurate. I/we discovered similar inaccuracies at Tikz: placing a node at the intersection of two circles along a hyperbola before. But it shouldn’t be too hard to write the same with paths, you probably can do it entirely on one path, too.
Jul
8
comment tikz locality of path options
@ted Yes, please file a bug report. At least I consider, the bigger arrow tip problem as a bug especially because it is inconsistent with --. That the node inherits path options though wouldn’t be the first time, append after command and path picture do also inherit stuff from its parent path, this probably won’t change so fast.
Jul
8
revised TikZ: node placement when using draw let in syntax
added 289 characters in body
Jul
8
answered TikZ: node placement when using draw let in syntax
Jul
8
comment TikZ: node placement when using draw let in syntax
@GonzaloMedina To be honest, I also prefer my solution since it uses the already defined coordinate which is already available and known to TikZ while xshift only works for the canvas plane. @dustin Though, Gonzalo’s is absolutely right about the scale vs font issue.
Jul
8
comment TikZ: node placement when using draw let in syntax
Nodes do not work very good along of arcs, see How to place a node in the middle of an arc?. The coordinate (\n4:\n3) is relative to the origin of the coordinate system, not the center of the arc, you will need to use at ([shift=(F)] \n4:\n3) or (F)+(\n4:\n3) node … (while \n4 = {(\n2 + \n1) / 2} of course).
Jul
8
comment Unexpect differences between calling \ifmmode from within a command and outside a command
Related: Correct usage of \ifmmode and \ifmmode doesn't seem to work correctly inside an array environment
Jul
7
revised tikz locality of path options
added 1190 characters in body
Jul
7
answered tikz locality of path options
Jul
7
comment tikz locality of path options
There seem to be two problems: 1. The line width setting of the node does affect the arrow tip (which is rightfully dependent of the line width), but it shouldn’t in this case. 2. The cross out shape is not properly defined and needs a simple setting that no arrow tips should be produced (or you do something like every cross out node/.append style={-}).
Jul
7
comment Putting textboxes with lines over Moebius strip
The whole TikZ picture moves. As the node changes its width but only to one side, thus making the center of the picture not the center of the strip. If you place nodes symmetrically the strip will place in the center of the slide.
Jul
7
comment Side by side pie chart?
The \newcounter macro assigns a counter globally. In the second tikzpicture you will need to do something like \setcounter{a}{0} \setcounter{b}{0}. (Better to use \newcounter in the preamble and only \setcounter in the TikZ pictures; it would even easier to use TikZ’s built-in math for that …) Besides that you can simply place two TikZ pictures besides each other. Can you show the code which failed?
Jul
7
reviewed Approve Side by side pie chart?
Jul
7
answered Putting textboxes with lines over Moebius strip
Jul
7
comment Putting textboxes with lines over Moebius strip
Well, then that’s easy. You can use the positioning library and place the nodes with it in relation, where the node distance is the space between the nodes. With the positioning library, you can also use the on grid option which measures the node distance between the center anchors of the nodes. Then you have the \matrix (and its library) where you can place nodes in a matrix, very much grid-like. With the name of the node and a suitable anchor, you can let the lines end very specifically. The coordinates on the strip are very easy to specify manual.
Jul
7
comment Defaulting to clever references
Do not put \makeatletter and \makeatother inside the \renewcommand (which fails for two different reasons) but outside of it: \makeatletter\renewcommand{\ref}{\@ifstar\oldref\cref}\makeatother.
Jul
7
comment Putting textboxes with lines over Moebius strip
What is your problem? Finding the points on the Möbius strip or placing the boxes and connecting them to well-defined points on the strip?
Jul
7
comment TikZ: Drawing an arc between two points
And here are all ellipses for 2a = 5cm, 6cm, …, 10cm.