%% Should be defined before including this file..
%% \newcommand{\threepixunitwidth}{2in}
%% \newcommand{\threecapwidth}{2in}

\newcommand{\threepixunit}[2]{
\noindent
\begin{minipage}[t]{\threepixunitwidth}
\refstepcounter{figure}
\label{#1}
\begin{center}
\amfig{../#1.ps}{\threepixunitwidth}
\vspace{1mm}

\noindent
\begin{minipage}[c]{\threecapwidth}
\footnotesize
\noindent
Figure \arabic{figure}: 
#2
\end{minipage}
\end{center}
\end{minipage}
}

\newcommand{\threepix}[6]{
\begin{figure*}[tb]
\begin{center}
\mbox{
\threepixunit{#1}{#2}
\threepixunit{#3}{#4}
\threepixunit{#5}{#6}
}
\end{center}
\hspace{-1cm}
\end{figure*}
}

