| 1 |
# The `kvmap` package v0.3.5 |
| 2 |
|
| 3 |
This LaTeX package allows the creation of (even large) Karnaugh maps. It |
| 4 |
provides a tabular-like input syntax and support for drawing bundles |
| 5 |
(implicants) around adjacent values. |
| 6 |
|
| 7 |
Code example: |
| 8 |
|
| 9 |
\begin{kvmap} |
| 10 |
\begin{kvmatrix}{a,b,c,d} |
| 11 |
0 & 1 & 1 & 0\\ |
| 12 |
1 & 0 & 0 & 1\\ |
| 13 |
0 & 0 & 0 & 1\\ |
| 14 |
0 & 1 & 1 & 1\\ |
| 15 |
\end{kvmatrix} |
| 16 |
\bundle{3}{3}{2}{3} |
| 17 |
\bundle[color=blue]{3}{2}{3}{1} |
| 18 |
\bundle[invert=true,reducespace=2pt,overlapmargins=6pt]{1}{0}{2}{3} |
| 19 |
\bundle[invert=true,reducespace=2pt]{0}{1}{3}{1} |
| 20 |
\end{kvmap} |
| 21 |
|
| 22 |
<sub>`kvmap` is released under the terms of the LPPL 1.3c and maintained by Ben Frank.</sub> |