tikz-karnaugh – Typeset Karnaugh maps using TikZ
The tikz-karnaugh package is a LaTeX package used to draw Karnaugh maps. It uses TikZ to produce high quality graph from 1 to 12 variables, but this upper limit depends on the TeX memory usage and can be different for you. It is very good for presentation since TikZ allows for a better control over the final appearance of the map. You can control colour, styles and distances.
It can be considered as an upgrade and extension of Andreas W. Wieland's karnaugh package towards TikZ supporting. Upgrade because uses TikZ for more option on typesetting and overall higher quality. Extension because it also supports American style and inputting the values as they would appear in the map or in the truth table. Complex maps with solution (implicants) pointed out can be generated with external java software (see documentation for details).
It supports both American and traditional (simplified labels) styles and from version 1.3 on American style is natively supported, therefore, no more addition work is required to typeset Gray coded labels, variable names etc. From version 1.4, two new macros allow typesetting a map much more similarly as it should appear. Original order, as the values appear in the truth table, still being supported.
|Licenses||The LaTeX Project Public License 1|
|Copyright||2017–2022 Luis Paulo Laus|
|Maintainer||Luís Paulo Laus|
|Contained in||TeX Live as tikz-karnaugh|
MiKTeX as tikz-karnaugh
Download the contents of this package in one zip archive (361.4k).
- 2022-02-18 CTAN update: tikz-karnaugh
- 2022-02-09 CTAN update: tikz-karnaugh
- 2021-10-15 CTAN update: tikz-karnaugh
Maybe you are interested in the following packages as well.
- karnaugh-map: LaTeX package for drawing karnaugh maps with up to 6 variables
- bodeplot: Draw Bode, Nyquist and Nichols plots with gnuplot or pgfplots
- causets: Draw causal set (Hasse) diagrams
- nl-interval: Represent intervals on the number line