summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cartonaugh/test/cartonaugh-implicantcorner.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/cartonaugh/test/cartonaugh-implicantcorner.tex')
-rw-r--r--Master/texmf-dist/doc/latex/cartonaugh/test/cartonaugh-implicantcorner.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cartonaugh/test/cartonaugh-implicantcorner.tex b/Master/texmf-dist/doc/latex/cartonaugh/test/cartonaugh-implicantcorner.tex
new file mode 100644
index 00000000000..740e4f263c4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cartonaugh/test/cartonaugh-implicantcorner.tex
@@ -0,0 +1,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}