HaTeX
HaTeX copied to clipboard
Tikz arrows
I would like to contribute support for arrows between nodes in TikZ pictures.
I have made minor contributions before, but I'm having a bit of trouble understanding the design of the Text.LaTeX.Packages.TikZ
module.
Any possibility of getting some general advice about how this might best be done?
My end goal is to be able to use HaTeX
to generate documents along these lines: http://texample.net/tikz/examples/noise-shaper/
Hi @dmcclean I need to use arrows between nodes too. Did you figure out how to support for arrows between nodes in HaTeX?
In Text.LaTeX.Packages.TikZ.Syntax
a small subset of TikZ' syntax is implemented (see TikZ
type). My knowledge of TikZ is very limited, so I just did what worked for me for the examples I had in mind. Probably something needs to be added to PathAction
. A PathAction
can be a \draw
command. And maybe other constructor(s) need(s) to be added (like Node
?). But like I said, I am far from being an expert in TikZ. I have only used it for simple things.
Thanks for the feedback and sorry for the delay in the answer. The comment made by @vincent-hui brought this one back up!
I never quite figured it out, no. Unfortunately my understanding of how TikZ actually works is very limited.
I don't know if this might be helpful: jtikz.sourceforge.net