From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/kvmap/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 macros/latex/contrib/kvmap/README.md (limited to 'macros/latex/contrib/kvmap/README.md') 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} -- cgit v1.2.3