(latex) pst 树中的对齐
在此示例中,使用 pst-tree
包:
\def\psedge{\ncangles[armA=.5, angleB=180, linearc=.2]}
\pstree[treemode=R, levelsep=3cm] {\Toval{ root }} {
\Toval{ Tom }
\Toval{ Cat }
\Toval{ Very very very very very long entry }
\Toval{ Jerry }
}
输出很难看,因为节点按中心对齐,如何使其向左对齐?
In this example, using pst-tree
package:
\def\psedge{\ncangles[armA=.5, angleB=180, linearc=.2]}
\pstree[treemode=R, levelsep=3cm] {\Toval{ root }} {
\Toval{ Tom }
\Toval{ Cat }
\Toval{ Very very very very very long entry }
\Toval{ Jerry }
}
The output is ugly because the nodes are aligned by center, how can I make it align to the left?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 tex.sx 上提出了几乎相同的问题: pstree:如何将树节点强制到一侧?,其接受的答案表明放入不可见节点是有效的。
A nearly identical question was asked on tex.sx: pstree: How can I force a tree node to one side?, whose accepted answer says that putting in invisible nodes works.