LaTex 中从左到右的树,而不是从上到下的树?

发布于 2024-08-27 15:56:02 字数 512 浏览 5 评论 0原文

我想要绘制一棵树,其根位于左侧,每个子节点都绘制在右侧。

看来qtree包不能做到这一点。有人有什么想法吗?

我发现此文档,其中看起来这可能有帮助,但有点迟钝。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

总攻大人 2024-09-03 15:56:02

看看 TikZ trees,可以在这里通过设置参数grow=right来完成。

例如:

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

[取自 TikZ 网站]

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]

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文