8000 GitHub - jneug/typst-finite: Typst-setting finite automata with CeTZ.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jneug/typst-finite

Repository files navigation

finite (v0.5.0)

finite is a Typst package for rendering finite automata on top of CeTZ.

Usage

Import the package from the Typst preview repository:

#import "@preview/finite:0.5.0": automaton

After importing the package, simply call #automaton() with a dictionary holding a transition table:

#import "@preview/finite:0.5.0": automaton

#automaton((
  q0: (q1:0, q0:"0,1"),
  q1: (q0:(0,1), q2:"0"),
  q2: (),
))

The output should look like this: Example for a finite automaton drawn with finite

Further documentation

See manual.pdf for a full manual of the package.

0