I am trying to create a Karnaugh Map, but I need to have variables as the terms for the K-map. I am using the karnaugh-map package, where I can get the variable terms inside the K-map, but the K-map is too small. I need to resize it so that each term fits within its box.
I found this document: https://ctan.mines-albi.fr/graphics/pgf/contrib/karnaugh-map/karnaugh-map.pdf, that says I can resize the K-map with the following code:
\resizebox{\columnwidth}{!}{%
\begin{karnaugh-map}
\end{karnaugh-map}%
}
I tried using that method to resize my K-map, but when I compile I get an error.
\documentclass[tikz, border=2mm]{standalone}
\usepackage{karnaugh-map}
\usepackage{graphicx}
\begin{document}
\resizebox{\columnwidth}{!}
{
\begin{karnaugh-map}[2][2][1]
\manualterms{$A_0'B_0'+A_0B_0$,0,0,$A_0'B_0'+A_0B_0$}
\end{karnaugh-map}
}
\end{document}
❯ tectonic test.tex
Running TeX ...
warning: accessing absolute path `/dev/null`; build may not be reproducible in other environments
error: test.tex:6: Missing number, treated as zero
error: halted on potentially-recoverable error as specified

