76,810 reputation
14192414
bio website loopspace.mathforge.org
location Trondheim, Norway
age 38
visits member for 4 years
seen 1 hour ago

Jun
20
comment Using cabin cooperatively
Since you're using git, this sounds like an ideal use case for something like git submodules (there are alternatives).
Jun
20
comment ConTeXt with LuaTeX to compile mathml
Wouldn't this be easiest to do afterwards via CSS?
Jun
18
revised Reading - and effect - of (default) tikz/pgf keys?
Added scope variant, thanks to Paul Gaborit
Jun
18
comment Reading - and effect - of (default) tikz/pgf keys?
@PaulGaborit I didn't know that! Looking at the code, the important part is that \begin{scope}[<stuff>] includes \tikzset{<stuff>}\tikz@options so the \tikz@addoption part of the line width=<length> key does get executed when the scope starts, setting the line width properly. I'll edit that into my answer as it's a useful work-around.
Jun
17
comment Accessing node name within node text braces
In that case, I was going to suggest essentially what Ignasi wrote.
Jun
17
comment Accessing node name within node text braces
What version of TikZ are you using?
Jun
17
awarded  Good Question
Jun
17
comment Anchoring TiKZ pics
Having said that, the node anchor system isn't really any more sophisticated. So as a general rule I would say "If you could do it with nodes, you can redo it with pics, but perhaps not as prettily".
Jun
17
comment Anchoring TiKZ pics
I would say that the answer is "Yes, with caveats". Take a look at the latest version of the TQFT package. That was rewritten with pics instead of nodes and has the facility to position relative to an "anchor", but the shift computation has to be done "by hand" rather than by PGF. So if you can code it, you can shift it.
Jun
17
comment Anchoring TiKZ pics
How "dynamic" are your anchors? As far as I'm aware, the way to do this is to internally shift the whole pic so that a given point is now at (0,0) (in the pics coordinate system). But doing this involved knowing at the start of the pic where the desired anchor point is going to be. Is that easily computable in your use-cases (as it is in your example)?
Jun
16
answered Reading - and effect - of (default) tikz/pgf keys?
Jun
11
comment Tikz Graphics: Curved arrow drawn parallel to curved line
"I have no idea of the equations that should be solved to find those control points." There are none. A parallel displacement of a generic cubic bézier is not necessarily again a cubic bézier so the problem cannot be solved exactly (which is why lots of the solutions for finding parallel paths use workarounds such as yours or using double lines).
Jun
11
comment Tikz Graphics: Curved arrow drawn parallel to curved line
A line parallel to a bezier curve is not necessarily again a bezier curve so it is not possible to draw a mathematically accurate parallel line in PDF format.
Jun
11
comment 2 arrows at same distance
The "glitch" is most likely due to anti-aliasing in the PDF viewer whereby the edge of the overlaid white line is transparent and so shows a trace of the black line underneath.
Jun
10
awarded  Nice Answer
Jun
7
awarded  Nice Answer
Jun
4
comment How to get and process bitmap graphics at a pixel level on-the-fly?
Take a look at the pullquote package, see tex.stackexchange.com/a/70169/86, as I think that does something like that.
Jun
4
comment How to get intersection point(s) of two glyphs?
I use the CVS version of TikZ and I know that the name path global has had issues in the past, so it may well come down to that.
Jun
4
comment How to get intersection point(s) of two glyphs?
Regarding conversion of fonts, there's the script x2svg.pe which uses FontForge to convert an arbitrary font to SVG type. Then the program svgtopgf.pl converts the resulting SVG to PGF paths. That program was written specifically for font files so I wouldn't expect it to work on an arbitrary SVG.
Jun
4
comment How to get intersection point(s) of two glyphs?
What version of TikZ/PGF are you using? I get a different list of numbers of intersection points. I haven't checked them all, but the ones I have checked look right. My list is 4, 6, 14, 14, 10, 8, 8, 6, 4, 4, 6, 10, 8, 14, 10, 12, 10, 4.