\def\appendix#1{
 \refstepcounter{appendix}
 \newpage
\def\theequation{\Alph{appendix}.\arabic{equation}}
 \vskip .2truein
 \addcontentsline{toc}{chapter}{\null\hspace{-2em} 
 APPENDIX \theappendix
  \hspace{1.0em}#1}
 \centerline {APPENDIX \theappendix}
 \bigskip
 \begin{center} {\uppercase{#1}}
 \end{center}
 \nobreak\bigskip}
\tocnumflushright
\def\fignumbox{9em}

\def\l@chapter#1#2{\pagebreak[3]
   \vskip 1.0em plus 1pt  % space above chapter line
%   \@tempdima 1.55em       % width of box holding chapter number
% thesis mod
%	this section is adapted from def of \@dottedtocline
% change hangindent in next line to 
%  leftskip 6-20-89 to work with later latex changes
    {\leftskip 2em\relax \rightskip \@tocrmarg \parfillskip -\rightskip
     \parindent 2em\relax\@afterindenttrue
    \interlinepenalty\@M
    \leavevmode
    \@tempdima 4em\relax       % width of box holding chapter number
% change 6-20-89
    \advance\leftskip \@tempdima \hbox{}\hskip -\leftskip
% end 6-20-89
     \uppercase{#1}\nobreak\leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern 
       \@dotsep mu$}\hfill \nobreak \hbox to\@pnumwidth{\hfil\rm #2}\par}
    \vskip 1.0em plus 1pt}  % space below chapter line
%
%   \begingroup
%     \parindent \z@ \rightskip \@pnumwidth
%     \parfillskip -\@pnumwidth
%     \bf                  % Boldface.
%     \leavevmode          % TeX command to enter horizontal mode.
%     #1\hfil \hbox to\@pnumwidth{\hss #2}\par
%
%
%   \endgroup}
\def\l@section{\@dottedtocline{1}{7em}{1.5em}}
\def\l@subsection{\@dottedtocline{2}{9em}{1.5em}}
\def\l@subsubsection{\@dottedtocline{3}{11em}{1.5em}}
\def\l@paragraph{\@dottedtocline{4}{13em}{1.5em}}
\def\l@subparagraph{\@dottedtocline{5}{14em}{1.5em}}
