f

fitchcraft

@preview

Fitch-style proof diagrams

v1.0.1
GPL-3.0-only

Package Information

Last Updated
Categories
visualization
Disciplines
mathematicsphilosophycomputer-science

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/fitchcraft:1.0.1

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/fitchcraft:1.0.1": *

Version History

1.0.1
d8a8ee07d2ea...
1.0.0
2c7f248e0b33...

fitchcraft

Visualize Fitch-style proof diagrams, using custom syntax optimized for speedy writing and conciseness.

While the main functionality of the library is ready, the library is still in development. See the roadmap here.

Usage

For more information see the manual.

Example

#import "@preview/fitchcraft:1.0.1": *

== Non-Contradiction: $tack.r not (p and not p)$
Proof (`fixed` mode to the default `2.5em`): 
#proof((
open,
  $(p and not p)$,
  assume,
  ($p$, $and E  quad 1$),
  ($not p$, $and E  quad 2$),
  ($tack.t$, $tack.t I quad 1,2$),
close,
($not (p and not p)$, $not I quad 1-4$)
))

example image

See the examples document for more.