summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cartonaugh/test/cartonaugh-implicantcorner.tex
blob: 740e4f263c4a9d6a05c9a81bdbd40f0d27b24f57 (plain)
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
36
37
38
\documentclass{standalone}
\usepackage{cartonaugh}
\begin{document}
  % test default(should only draw on 0th submap)
  \begin{cartonaugh}[4][4][1]
    \implicantcorner
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][2]
    \implicantcorner
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][4]
    \implicantcorner
  \end{cartonaugh}
  % draw on 0th and 2nd submaps(when possible)
  \begin{cartonaugh}[4][4][1]
    \implicantcorner[0,2]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][2]
    \implicantcorner[0,2]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][4]
    \implicantcorner[0,2]
  \end{cartonaugh}
  % draw multiple different implicants
  \begin{cartonaugh}[4][4][1]
    \implicantcorner[0]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][2]
    \implicantcorner[0]
    \implicantcorner[1]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][4]
    \implicantcorner[0]
    \implicantcorner[1]
    \implicantcorner[2]
    \implicantcorner[3]
  \end{cartonaugh}
\end{document}