k

km

@preview

Draw simple Karnaugh maps

v0.1.0
MIT

Package Information

Last Updated
Minimum Typst Version
0.11.0
Authors
Toto
Categories
utility
Disciplines
mathematics

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/km:0.1.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/km:0.1.0": *

Version History

0.1.00.11.0
ecb9901216dc...

km

Draw simple Karnaugh maps. Use with:

#import "@preview/km:0.1.0": karnaugh

#karnaugh(("C", "AB"),
  implicants: (
    (0, 1, 1, 2),
    (1, 2, 2, 1),
  ),
  (
    (0, 1, 0, 0),
    (0, 1, 1, 1),
  )
)

Samples are available in sample.pdf.