
\newcommand{\plug}[1]{}

%----pinout table macros----
% \newcommand{\pin}[3]{\ \tt#1&\sym#2&\sym#3\\}
 \newcommand{\pin}[3]{#1&\sym#2&\sym#3\\}
\newenvironment{pinout}[3]{
    \begin{equation}\label{eq.#1}
    \begin{tabular}{|@{\,}c@{\,}|ll|}
% for the moment, ignore the `number of pins' field
%	\multicolumn{3}{c}{#3 (#2 pins)}\\
	\multicolumn{3}{c}{#3}\\
 	\hline type & \multicolumn{2}{|c|}{name}\\\hline\hline}%
{\hline\end{tabular}
    \end{equation}}

\endinput

%----pinout table macros----
 \newcommand{\pin}[3]{\tt#1&\sym#2&\sym#3\\}
\newenvironment{pinout}[2]{
    $$
    \begin{tabular}{|l|ll|}
	\multicolumn{3}{c}{#2 (#1 pins)}\\
 	\hline type & \multicolumn{2}{|c|}{name}\\\hline\hline}%
{\hline\end{tabular}
    $$}

