开发者

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

开发者 https://www.devze.com 2022-12-25 14:48 出处:网络
I\'m looking to draw a tree where the root is on the left and each child node is drawn to the right.

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开发者_Go百科, which seems like it might help, but it's a bit obtuse.


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]

0

精彩评论

暂无评论...
验证码 换一张
取 消