summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/kvmap/README.md
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/kvmap/README.md
Initial commit
Diffstat (limited to 'macros/latex/contrib/kvmap/README.md')
-rw-r--r--macros/latex/contrib/kvmap/README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/latex/contrib/kvmap/README.md b/macros/latex/contrib/kvmap/README.md
new file mode 100644
index 0000000000..1a241b5eef
--- /dev/null
+++ b/macros/latex/contrib/kvmap/README.md
@@ -0,0 +1,20 @@
+# The `kvmap` package
+
+This LaTeX package allows the creation of (even large) Karnaugh maps. It
+provides a tabular-like input syntax and support for drawing bundles
+(implicants) around adjacent values.
+
+Code example:
+
+ \begin{kvmap}
+ \begin{kvmatrix}{a,b,c,d}
+ 0 & 1 & 1 & 0\\
+ 1 & 0 & 0 & 1\\
+ 0 & 0 & 0 & 1\\
+ 0 & 1 & 1 & 1\\
+ \end{kvmatrix}
+ \bundle{3}{3}{2}{3}
+ \bundle[color=blue]{3}{2}{3}{1}
+ \bundle[invert=true,reducespace=2pt,overlapmargins=6pt]{1}{0}{2}{3}
+ \bundle[invert=true,reducespace=2pt]{0}{1}{3}{1}
+ \end{kvmap}