%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 8-2-17 on page 529.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{348.0pt}
\StartShownPreambleCommands
\usepackage{array}\usepackage{xymtexps}
\StopShownPreambleCommands
\begin{document}
\setlength{\tabcolsep}{1mm}
\changeunitlength{.052pt}
\begin{tabular}{@{}>{\small}lcccc@{}}\hline
\emph{Ring Size}
 & \multicolumn{4}{c@{}}{\itshape\small Generic Commands}\\\hline
3
 & \threeheterov      {1==1}{2==a2;3==a3}
  & \threeheterovi    {1==1}{2==a2;3==a3}
   & \threeheteroh    {1==1}{2==a2;3==a3}
    & \threeheterohi  {1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\threeheterov|
  & \footnotesize\verb|\threeheterovi|
   & \footnotesize\verb|\threeheteroh|
    & \footnotesize\verb|\threeheterohi| \\
4
 & \fourhetero        {1==1}{2==a2;3==a3}
  &&&  \\
 & \footnotesize\verb|\fourhetero|
  &&&  \\
5
 & \fiveheterov       {1==1}{2==a2;3==a3}
  & \fiveheterovi     {1==1}{2==a2;3==a3}
   & \fiveheteroh     {1==1}{2==a2;3==a3}
    & \fiveheterohi   {1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\fiveheterov|
  & \footnotesize\verb|\fiveheterovi|
   & \footnotesize\verb|\fiveheteroh|
    & \footnotesize\verb|\fiveheterohi| \\
6
 & \sixheterov        {1==1}{2==a2;3==a3}
  & \sixheterovi      {1==1}{2==a2;3==a3}
   & \sixheteroh      {1==1}{2==a2;3==a3}
    & \sixheterohi    {1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\sixheterov|
  & \footnotesize\verb|\sixheterovi|
   & \footnotesize\verb|\sixheteroh|
    & \footnotesize\verb|\sixheterohi| \\
5,6
 & \nonaheterov       {1==1}{2==a2;3==a3}
  & \nonaheterovi     {1==1}{2==a2;3==a3}
   & \nonaheteroh     {1==1}{2==a2;3==a3}
    & \nonaheterohi   {1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\nonaheterov|
  & \footnotesize\verb|\nonaheterovi|
   & \footnotesize\verb|\nonaheteroh|
    & \footnotesize\verb|\nonaheterohi| \\
6,6
 & \decaheterov       {1==1}{2==a2;3==a3}
  & \decaheterovi     {1==1}{2==a2;3==a3}
   & \decaheteroh     {1==1}{2==a2;3==a3}
    & \decaheterohi   {1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\decaheterov|
  & \footnotesize\verb|\decaheterovi|
   & \footnotesize\verb|\decaheteroh|
    & \footnotesize\verb|\decaheterohi| \\
 & \decaheterovb      {1==1}{2==a2;3==a3}
  & \decaheterovt     {1==1}{2==a2;3==a3}
   && \\
 & \footnotesize\verb|\decaheterovb|
  & \footnotesize\verb|\decaheterovt|
   && \\\hline
\end{tabular}
\end{document}
