Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Tikz arrows #101

Open
dmcclean opened this issue Aug 6, 2017 · 4 comments
Open

Tikz arrows #101

dmcclean opened this issue Aug 6, 2017 · 4 comments

Comments

@dmcclean
Copy link
Contributor

dmcclean commented Aug 6, 2017

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/

@vincent-hui
Copy link

vincent-hui commented Jan 25, 2018

Hi @dmcclean I need to use arrows between nodes too. Did you figure out how to support for arrows between nodes in HaTeX?

@Daniel-Diaz
Copy link
Owner

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!

@dmcclean
Copy link
Contributor Author

I never quite figured it out, no. Unfortunately my understanding of how TikZ actually works is very limited.

@bbarker
Copy link

bbarker commented May 12, 2018

I don't know if this might be helpful: jtikz.sourceforge.net

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants