我安装了 forest 2016/03/04 v2.0.2
。使用以下代码,
\documentclass[convert={size=640}]{standalone}
\usepackage{microtype}
\usepackage[T1]{fontenc}
\usepackage{forest}
% parsing tree
\forestset{
parsing tree/.style={
for tree={
math content,
parent anchor=south,
child anchor=north,
inner sep=0pt
},
where level=0{
for children={no edge},
phantom
}{
draw,
label=right:{ok},
delay={
content=\circ
},
if n children=1{calign=child edge}{}
}
}
}
\begin{document}
\begin{forest}
parsing tree
[
[
[] []]
]
\end{forest}
\end{document}
我最终
包装时标签会被忽略吗?我可以在包装阶段让它得到尊重吗?