\documentclass{standalone}
\usepackage{cartonaugh}
\begin{document}
  \begin{cartonaugh}*[4][4][1]
    \implicant{0}{0}
    \implicant{4}{5}
    \implicant{12}{15}
    \implicant{8}{10}
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][1]
    \implicant{0}{0}
    \implicant{4}{5}
    \implicant{12}{15}
    \implicant{8}{10}
  \end{cartonaugh}
\end{document}
