latexdiagramkarnaugh-map

Latex, karnaugh-map usepackage, unable to connect specific cells


I need to use the \usepackage{karnaugh-map} to draw some karnaugh-map. In this table:

\begin{karnaugh-map}

    \manualterms{1,0,0,1,0,0,0,0,1,1,1,1,0,1,1,1}

\end{karnaugh-map}

I would like to operate the logical connection like in the photo
enter image description here

But I really don't know how to operate the link between 0 and 8, and also between 3 and 11. Is there anyway to obtain something like in the picture


Solution

  • The following might come close:

    \begin{karnaugh-map}
       \manualterms{1,0,0,1,0,0,0,0,1,1,1,1,0,1,1,1}
       \implicant{13}{11}
       \implicant{15}{10}
       \implicantedge{0}{0}{8}{8}
       \implicantedge{3}{3}{11}{11}
    \end{karnaugh-map}
    

    enter image description here

    You can find more information in the manual karnaugh-map.pdf.