MSpeed
MSpeed

Reputation: 8280

Left-to-right Tree in LaTex, not top-to-bottom?

I'm looking to draw a tree where the root is on the left and each child node is drawn to the right.

It seems that the qtree package can't do this. Any one have any ideas?

I've found this document, which seems like it might help, but it's a bit obtuse.

Upvotes: 5

Views: 2307

Answers (1)

Konrad Rudolph
Konrad Rudolph

Reputation: 545508

Take a look at TikZ trees, it can be done here, by setting the parameter grow=right.

For example:

http://media.texample.net/tikz/examples/PNG/probability-tree.png

[Taken from the TikZ website]

Upvotes: 6

Related Questions