File: karnaugh-map.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (35 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# karnaugh-map package
# Matthew Bertucci 1/18/2022 for v2.0

#include:kvoptions
#include:keyval
#include:xparse
#include:xstring
#include:tikz
# loads calc and matrix tikzlibraries

\begin{karnaugh-map}
\begin{karnaugh-map}[%<x-size%>][%<y-size%>][%<z-size%>]
\begin{karnaugh-map}(%<options%>)[%<x-size%>][%<y-size%>][%<z-size%>]
\begin{karnaugh-map}[%<x-size%>][%<y-size%>][%<z-size%>][%<label-A%>]%<...[label-F]%>
\begin{karnaugh-map}(%<options%>)[%<x-size%>][%<y-size%>][%<z-size%>][%<label-A%>]%<...[label-F]%>
\end{karnaugh-map}

#keyvals:\usepackage/karnaugh-map#c,\begin{karnaugh-map}
implicantcolors={%<list of colors%>}
label=#middle,corner
#endkeyvals

\autoterms#/karnaugh-map
\autoterms[content]#/karnaugh-map
\indeterminants{cells}#/karnaugh-map
\manualterms{content}#/karnaugh-map
\maxterms{cells}#/karnaugh-map
\minterms{cells}#/karnaugh-map
\terms{cells}{content}#/karnaugh-map
\implicant{northwest cell}{southeast cell}#/karnaugh-map
\implicant{northwest cell}{southeast cell}[submaps]#/karnaugh-map
\implicantedge{NWNW}{NWSE}{SENW}{SESE}#/karnaugh-map
\implicantedge{NWNW}{NWSE}{SENW}{SESE}[submaps]#/karnaugh-map
\implicantcorner#/karnaugh-map
\implicantcorner[submaps]#/karnaugh-map