我在處理這棵森林樹時遇到了一些麻煩,我的目標是透過調整 CP 和 VP 下的角度使其更寬,從而使其變短而不使其變寬。當我嘗試使用 calign=fixed 角度時,角度發生了變化,但線條變得太長,使樹變得更寬。有沒有辦法在不改變線長的情況下調整角度?
\documentclass{article}
\usepackage{gb4e}
\noautomath
\usepackage[linguistics]{forest}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage{leipzig}
\newleipzig{verb}{verb}{verb}
\newleipzig{akt}{akt}{akt}
\begin{document}
\begin{forest}
for tree={s sep*=5, inner sep=0, l=0}
[TP
[NP$_f$
[n, roof]
]
[FutP
[$t_f$]
[Fut'
[\Fut{}
[tə]
]
[CP
[C]
[TP
[NP$_x$
[ma, roof]
]
[T'
[T
[?∅ \\ \Fut{}]
]
[ Asp
[Akt$_k$
[\Akt{}$_{st}$]
]
[VP
[$t_x$]
[V'
[$t_k$]
[V'
[V
[ɖâ]
]
[NP
[afal, roof]
]
]
]
]
]
]
]
]
]
]
]
\end{forest}
\end{document}
答案1
我不確定這是否是您想要的,但您可以l sep
針對這些節點進行調整:
\begin{forest}
for tree={s sep*=5, inner sep=0, l=0}
[TP
[NP$_f$
[n, roof]
]
[FutP
[$t_f$]
[Fut'
[\Fut{}
[tə]
]
[CP, l sep-=2mm % <--- l sep adjusted here
[C]
[TP
[NP$_x$
[ma, roof]
]
[T'
[T
[?∅ \\ \Fut{}]
]
[ Asp
[Akt$_k$
[\Akt{}$_{st}$]
]
[VP, l sep-=2mm % <--- l sep adjusted here
[$t_x$]
[V'
[$t_k$]
[V'
[V
[ɖâ]
]
[NP
[afal, roof]
]
]
]
]
]
]
]
]
]
]
]
\end{forest}