<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{standalone}
\usepackage{cartonaugh}
\begin{document}
  % fill all fields (autoterms)
  \begin{cartonaugh}[2][2][1]
    \autoterms[-]
  \end{cartonaugh}
  \begin{cartonaugh}[2][4][1]
    \autoterms[-]
  \end{cartonaugh}
  \begin{cartonaugh}[4][2][1]
    \autoterms[-]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][1]
    \autoterms[-]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][2]
    \autoterms[-]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][4]
    \autoterms[-]
  \end{cartonaugh}
  % fill remaining after '\indeterminants' '\manualterms' '\maxterms' and '\minterms'
  \begin{cartonaugh}[2][2][1]
    \manualterms{m}
    \indeterminants{1}
    \maxterms{2}
    \minterms{3}
    \autoterms[a]
  \end{cartonaugh}
  \begin{cartonaugh}[2][2][1]
    \manualterms{m}
    \terms{1}{T}
    \indeterminants{1}
    \maxterms{2}
    \minterms{3}
    \autoterms[a]
  \end{cartonaugh}
  \begin{cartonaugh}[2][4][1]
    \manualterms{m}
    \indeterminants{1}
    \maxterms{2}
    \minterms{3}
    \terms{4}{T}
    \autoterms[a]
  \end{cartonaugh}
  \begin{cartonaugh}[4][2][1]
    \manualterms{m}
    \indeterminants{1}
    \maxterms{2}
    \minterms{3}
    \terms{4}{T}
    \autoterms[a]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][1]
    \manualterms{m,m}
    \indeterminants{2,3}
    \maxterms{4,5}
    \minterms{6,7}
    \terms{8,9}{T}
    \autoterms[a]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][2]
    \manualterms{m,m,m,m}
    \indeterminants{4,5,6,7}
    \maxterms{8,9,10,11}
    \minterms{12,13,14,15}
    \terms{16,17,18,19}{T}
    \autoterms[a]
  \end{cartonaugh}
  \begin{cartonaugh}[4][4][4]
    \manualterms{m,m,m,m}
    \indeterminants{4,5,6,7}
    \maxterms{8,9,10,11}
    \minterms{12,13,14,15}
    \terms{16,17,18,19}{T}
    \autoterms[a]
  \end{cartonaugh}
\end{document}
</pre></body></html>