Universe

A library for producing beautiful syntax tree graphs.

Usage

This package requires typst 0.13

To use this package, simply add the following code to your document:

#import "@preview/arborly:0.3.0": tree

#tree[TP
  [NP
    [N [this]]
  ]
  [VP
    [V [is]]
    [NP
      [D [a]]
      [N [wug]]
    ]
  ]
]

For more details and examples, see docs/manual.pdf in the github repository.

Feedback

I’m neither a linguist nor a graphics programmer, so if you see room for improvement please make an issue.