\setlength{\textwidth}{5in}
\setlength{\textheight}{8in}

\addtolength{\oddsidemargin}{-62pt}
\addtolength{\topmargin}{-62pt}

% Font size commands commented out or name-changed by RIG.
% \def\tenbf{\reset@font\normalsize\bf}
% \def\tenit{\reset@font\normalsize\it}
% \def\tenrm{\reset@font\normalsize\rm}
% \def\ninerm{\reset@font\small\rm}
\let\ninerm=\ninrm
% \def\ninebf{\reset@font\small\bf}
\let\ninebf=\ninbf
% \def\nineit{\reset@font\small\it}
\let\nineit=\ninit
% \def\eightrm{\reset@font\footnotesize\rm}
\let\eightrm=\egtrm
% \def\eightbf{\reset@font\footnotesize\bf}
% \def\eightmath{\footnotesize}
% \def\eightit{\reset@font\footnotesize\it}
\let\eightit=\egtit
% \def\sevenrm{\reset@font\scriptsize\rm}

\newcommand{\symbolfootnote}{\setcounter{footnote}{0}
  \renewcommand{\thefootnote}{\fnsymbol{footnote}}}

\newcommand{\alphfootnote}{\setcounter{footnote}{0}
  \renewcommand{\thefootnote}{\alph{footnote}}}

%% ----------------------------- new defined section commands

\def\section{\@startsection {section}{1}{\z@}{-12pt plus -.2pt minus
    -.2ex}{6pt plus 1pt}{\reset@font\normalsize\bf}}

\def\subsection{\@startsection{subsection}{2}{\z@}{-12pt plus -.2pt
    minus -.2ex}{6pt plus 1pt}{\reset@font\normalsize\it}}

\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-12pt plus
    -.2pt minus -.2ex}{6pt plus 1pt}{\reset@font\normalsize\rm}}

\def\paragraph{\@startsection{paragraph}{4}{\z@}{3.25ex plus1ex
     minus.2ex}{-1em}{\reset@font \normalsize\bf}}

\def\subparagraph{\@startsection{subparagraph}{4}{\parindent}{3.25ex
     plus1ex minus .2ex}{-1em}{\reset@font\normalsize\bf}}

\setcounter{secnumdepth}{3}

\def\nonumsection{\section*}

%% --------------------------------------------------------------------

%RIG commenting out: \newtheorem{theorem}{Theorem}
%% or \newtheorem{theorem}{Theorem}[sectionc] which has section number
\newtheorem{theorem}{Theorem}[section]
%RIG commenting out: \newtheorem{lemma}{Lemma}
%% or use \newtheorem{lemma}{Lemma}[sectionc]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{definition}{Definition}
\newtheorem{corollary}{Corollary}
%% users can add on their own new theorem-like environments.


% \newcommand{\proof}[1]{\paragraph{Proof.} #1~$\Box$.}
% Line above replaced with line below by RIG.
\newenvironment{proof}{\paragraph{Proof.}}{~$\Box$}


%%%% following three commands are for 'list' command.

\topsep=0in
\parsep=0in
\itemsep=0in

\parindent=15pt

\newcommand{\cgatitle}[1]{{\tenbf #1}}
\newcommand{\authorfont}{\eightrm}
\newcommand{\addressfont}{\eightit}

\newcommand{\textlineskip}{\baselineskip=13pt}
\newcommand{\smalllineskip}{\baselineskip=10pt}
\newcommand{\footnoteblock}[1]{\footnote{\noindent \eightrm \smalllineskip #1}}
 % RIG reversal of \eightrm and \smalllineskip

\newcommand{\copyrightheading}{
{\reset@font\small
\begin{tabbing}
Parallel Processing Letters\\
$\copyright$\, World Scientific Publishing Company\\
\end{tabbing}}
}

% new macro (added on May 6, 1991) for publisher information section

\newcommand{\publisher}[3]{
  {\reset@font\small
\begin{tabbing}
  Received #1\\
  Revised #2\\
  Communicated by (Name of Editor)#3\\
\end{tabbing}
  }
}

%%% marco for abstract block

\def\abstractname{ABSTRACT}
\def\keywordsname{Keywords}

\newcommand{\abstractblock}[2]{
{\reset@font\small
\begin{center}%
{\it\abstractname\vspace{-.5em}\vspace{\z@}}%
\end{center}%
\vspace{6pt}
\begin{quotation}
\rm #1
\par
\vspace{12pt}
\noindent 
{\it \keywordsname:} \rm #2 
\end{quotation}
}}

	
%%% new macro for bibliography
\newcommand{\bibit}{\nineit}
\newcommand{\bibbf}{\ninebf}
\renewenvironment{thebibliography}[1]
 { \section*{References} % This \section* added by RIG.
   \ninerm
    \def\newblock{}
   \begin{list}{\arabic{enumi}.}
    {\usecounter{enumi} \setlength{\parsep}{0pt}
     \setlength{\itemsep}{3pt} \settowidth{\labelwidth}{#1.}
     \sloppy
    }}{\end{list}}

\newcounter{itemlistc}
\newcounter{romanlistc}
\newcounter{alphlistc}
\newcounter{arabiclistc}

\newenvironment{itemlist}
    {   \setcounter{itemlistc}{0}
        \begin{list}{$\bullet$}
        {\usecounter{itemlistc}
         \setlength{\parsep}{0pt}
         \setlength{\itemsep}{0pt}}
    }{ \end{list} }

\newenvironment{romanlist}
    {   \setcounter{romanlistc}{0}
        \begin{list}{(\roman{romanlistc})}
        {\usecounter{romanlistc}
         \setlength{\parsep}{0pt}
         \setlength{\itemsep}{0pt}}
    }{ \end{list} }

\newenvironment{alphlist}
    {   \setcounter{alphlistc}{0}
        \begin{list}{(\alph{alphlistc})}
        {\usecounter{alphlistc}
         \setlength{\parsep}{0pt}
         \setlength{\itemsep}{0pt}}
    }{ \end{list} }

\newenvironment{arabiclist}
    {   \setcounter{arabiclistc}{0}
        \begin{list}{\arabic{arabiclistc}}
        {\usecounter{arabiclistc}
         \setlength{\parsep}{0pt}
         \setlength{\itemsep}{0pt}}
    }{ \end{list} }


\def\figurename{Fig.}
\def\tablename{Table}

\long\def\@makecaption#1#2{%
   \vskip 10\p@
   \setbox\@tempboxa\hbox{\eightrm #1: #2}%
   \ifdim \wd\@tempboxa >\hsize
       {\eightrm #1: #2}\smalllineskip\par% RIG addition of \smalllineskip
     \else
       \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
   \fi}




\def\fcaption{\caption}
\def\tcaption{\caption}


\newcommand{\capit}{\eightit}

% Commented out by RIG; would ignore \cite optional argument.
%
%%
%%    ACKNOWLEDGEMENT: this portion is from John Hershberger
%%
%\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
%  \def\@citea{}\@cite{\@for\@citeb:=#2\do
%    {\@citea\def\@citea{,}\@ifundefined
%       {b@\@citeb}{{\bf ?}\@warning
%       {Citation `\@citeb' on page \thepage \space undefined}}%
%     {\csname b@\@citeb\endcsname}}}{#1}}
%
%\newif\if@cghi
%\def\cite{\@cghitrue\@ifnextchar [{\@tempswatrue
%    \@citex}{\@tempswafalse\@citex[]}}
%\def\citelow{\@cghifalse\@ifnextchar [{\@tempswatrue
%    \@citex}{\@tempswafalse\@citex[]}}
%
%\def\@cite#1#2{{[#1]\if@tempswa\typeout
%        {IJCGA warning: optional citation argument ignored: `#2'} \fi}}
%%%
%\newcommand{\citeup}{\cite}
