syntree is a typst package for rendering syntax trees / parse trees (the kind linguists use).
The name and syntax are inspired by Miles Shang’s syntree. Here’s an example to get started:
|
There’s limited support for formulas inside nodes; try #syntree("[DP$zws_i$ this]")
or #syntree("[C $diameter$]")
.
For more flexible tree-drawing, use tree
:
|