Graphics, Figures & Tables ⇒ Horizontal tree with "gates"
-
- Posts: 6
- Joined: Thu Aug 19, 2010 10:10 am
Horizontal tree with "gates"
I'm looking to create a horizontal tree with "gate" style node connections.
Before starting this post I've performed a forum search and have indeed found this thread: http://www.latex-community.org/forum/vi ... ontal+tree. I've tried fumbling about with PSTricks, qtree, xyling and TIkz but unfortunately to no avail.
My biggest problem at the moment is time, as I'm writing my MA thesis and the deadline is 31 August. I've a good number of pages to write yet and I've lost a lot of time already with testing this and that.
In short, if anybody would be able to point me in the direction of a package that I can use to draw this kind of tree, plus perhaps a simple syntax hint, I'd be extremely grateful.
Please understand, I'm not looking for someone to write me a tailormade solution, just for someone to point me in the right direction so I don't have to start from scratch. From what I've found out qtree won't do, probably xyling won't do either, but I've seen similar things to what I want in TIkz and PSTricks...
Thank you very much in advance!
Btw, I'm using TexLive, Texniccenter (and JabRef) on Windows.
I've attached a PNG with what I wanna do approximately.
Thanks!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Horizontal tree with "gates"
-
- Posts: 6
- Joined: Thu Aug 19, 2010 10:10 am
Horizontal tree with "gates"
Code: Select all
\documentclass{article}\usepackage{tikz}\usetikzlibrary{trees}\begin{document}\begin{tikzpicture}\node {root}[edge from parent fork right,grow=east]child {node {left}}child {node {right}child {node {child}}child {node {child}}};\end{tikzpicture}\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Horizontal tree with "gates"
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10