我有此代码,但想减少级别之间的距离。有什么建议吗?
\begin{forest}
for tree={
circle,
draw,
fill,
minimum width=2pt, % size
inner sep=0pt,
parent anchor=center,
child anchor=center,
s sep+=25pt, % distance between children
grow = north
}
[
[
[]
]
]
\end{forest}
答案1
l
水平距离可通过和键调整l sep
,具体操作请参见本手册 3.7.2 节(参考)和 2.4 节(教程)。