%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 8-2-33 on page 538.
%% 
%%  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{.05pt}
\begin{tabular}{@{}>{\small}lcccc@{}}\hline
\itshape Length
 & \multicolumn{4}{c@{}}{\itshape\small Generic Commands}\\\hline
\rule{0cm}{10mm}2 and 3
 & \dimethylene       {1==1}{2==a2}
  & \dimethylenei     {1==1}{2==a2}
   & \trimethylene    {1==1}{2==a2;3==a3}
    & \trimethylenei  {1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\dimethylene|
  & \footnotesize\verb|\dimethylenei|
   & \footnotesize\verb|\trimethylene|
    & \footnotesize\verb|\trimethylenei| \\
\rule{0cm}{8mm}4 and 5
 & \tetramethylene    {1==1}{2==a2;3==a3}
  & \tetramethylenei  {1==1}{2==a2;3==a3}
   & \pentamethylene  {1==1}{2==a2;3==a3}
    & \pentamethylenei{1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\tetramethylene|
  & \footnotesize\verb|\tetramethylenei|
   & \footnotesize\verb|\pentamethylene|
    & \footnotesize\verb|\pentamethylenei| \\
\rule{0cm}{8mm}6 and 7
 & \hexamethylene     {1==1}{2==a2;3==a3}
  & \hexamethylenei   {1==1}{2==a2;3==a3}
   & \heptamethylene  {1==1}{2==a2;3==a3}
    & \heptamethylenei{1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\hexamethylene|
  & \footnotesize\verb|\hexamethylenei|
   & \footnotesize\verb|\heptamethylene|
    & \footnotesize\verb|\heptamethylenei| \\
\rule{0cm}{8mm}8 and 9
 & \octamethylene     {1==1}{2==a2;3==a3}
  & \octamethylenei   {1==1}{2==a2;3==a3}
   & \nonamethylene   {1==1}{2==a2;3==a3}
    & \nonamethylenei {1==1}{2==a2;3==a3} \\
 & \footnotesize\verb|\octamethylene|
  & \footnotesize\verb|\octamethylenei|
   & \footnotesize\verb|\nonamethylene|
    & \footnotesize\verb|\nonamethylenei| \\
\rule{0cm}{8mm}10
 & \decamethylene     {1==1}{2==a2;3==a3}
  & \decamethylenei   {1==1}{2==a2;3==a3}
   &&\\
 & \footnotesize\verb|\decamethylene|
  & \footnotesize\verb|\decamethylenei|
   &&\\\hline
\end{tabular}
\end{document}
