% thes12.sty 22 Nov 93
% cleaned up (some) by Joel Young 16 Nov 96
%   Attempt to only have those things that are different from
%   .../texmf/tex/latex/base/size11.clo
%
\lineskip 1pt \normallineskip 1pt
\def\baselinestretch{1.5}
\def\str@tchamount{1.5}

\setlength\oddsidemargin  {19.5pt}
\setlength\evensidemargin {19.5pt}

\setlength\topmargin     {-4pt}
\setlength\headheight    {18pt}
\setlength\headsep       {4pt}
\setlength\footskip      {26pt}
\setlength\topskip       {10pt}

\if@compatibility 
  \setlength\footheight {24pt}
  \setlength\@maxsep    {20pt}
  \setlength\@dblmaxsep {20pt}
\fi

\setlength\textheight    {618pt}
\setlength\textwidth     {429pt}
\setlength\columnsep     {10pt}
\setlength\columnseprule {0pt}

\setlength\parskip       {5pt plus 1.5pt minus .5pt}
\setlength\parindent     {2.5em}  % same as leftmargini--quote margin
\setlength\itemsep       {0pt plus .5pt}

\setlength{\skip\footins} {20pt plus 4pt minus 4pt}
\setlength\floatsep      {14pt plus 2pt minus 4pt}
\setlength\textfloatsep  {20pt plus 2pt minus 4pt}
\setlength\topsep        {10pt plus 4pt minus 6pt}

\def\@makechapterhead#1{%
  \ \vspace*{-18pt}%
  {\parindent 0pt
   \begin{center}
     \baselineskip=18.5pt
     \ifnum \c@secnumdepth >\m@ne
       \ifx\@chapapp\appfl@g
         \large{\em Appendix \thechapter.\ \ #1}
       \else
         \large{\em \thechapter.\ \ #1}
       \fi
     \else
       \large{\em #1}
     \fi
   \end{center}
   \par \nobreak
  }}

\def\@makeschapterhead#1{%
  \ \vspace*{-18pt}%
  {\parindent 0pt%
   \begin{center}%
     \baselineskip=18.5pt%
     \large{\em #1}%
   \end{center}%
   \par \nobreak%
  }}

\renewcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
                    \thispagestyle{afitplain}%
                    \global\@topnum\z@
                    \@afterindentfalse
                    \secdef\@chapter\@schapter}

\def\@chapter[#1]#2{
      \ifnum \c@secnumdepth >\m@ne \refstepcounter{chapter}
        \ifx\@chapapp\appfl@g{} \else \ifnum\value{chapter}=1
          \setcounter{page}{1}
          \pagestyle{afitplain} \ \vspace*{-18pt}
          \begin{center} 
	    \begin{singlespace}

	      \large\baselineskip=27.5pt\ti@tle

	    \end{singlespace}
          \end{center}
          \addvspace{30pt}\fi
        \fi
        \ifx\ch@ptnum\ch@ptnumflag %then sequential
          \def\thepage{\arabic{page}}
          \def\theequation{\arabic{equation}}
          \def\thefigure{\arabic{figure}}
          \def\thetable{\arabic{table}}
        \else %number by chapter
          \ifx\@chapapp\appfl@g
          \def\theequation{\Alph{chapter}.\arabic{equation}}
          \def\thepage{\Alph{chapter}-\arabic{page}}
          \def\thefigure{\Alph{chapter}.\arabic{figure}}
          \def\thetable{\Alph{chapter}.\arabic{table}}
          \else
          \def\theequation{\arabic{chapter}.\arabic{equation}}
          \def\thepage{\arabic{chapter}-\arabic{page}}
          \def\thefigure{\arabic{chapter}.\arabic{figure}}
          \def\thetable{\arabic{chapter}.\arabic{table}}
          \fi
          \setcounter{page}{1}
          \setcounter{equation}{0}
          \setcounter{figure}{0}
          \setcounter{table}{0}
          \addtocontents{lof}{\protect\addvspace{10pt}}
          \addtocontents{lot}{\protect\addvspace{10pt}}
        \fi
        \typeout{^^J\@chapapp\space\arabic{chapter}.}
        \setstretch{\str@tchamount}\normalsize
        \ifx\@chapapp\appfl@g
        \addcontentsline{toc}{appendix}
		      {\protect\numberline{Appendix \thechapter.}#1}
	\else
        \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter.}#1}
	\fi
      \else
        \addcontentsline{toc}{chapter}{#1}
      \fi
      \chaptermark{#1}
      \@makechapterhead{#2} \@afterheading
      }  

\def\@schapter#1{\if@toc
		 \else
		   \addcontentsline{toc}{chapter}{#1}%
		 \fi
                 \typeout{^^J#1.}
		 \@makeschapterhead{#1}%
		 \@afterheading
		}

%redefined from latex.tex for underlining option and to supply a period
%when subsections and below use this macro

%normal sections use this, mod made if nosectionnumbers option chosen
\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
     \let\@svsec\@empty\else
     \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 1em}\fi
     \if@nosectnum\let\@svsec\@empty\fi% added - MAR
     \@tempskipa #5\relax
     \ifdim \@tempskipa>\z@
       \begingroup #6\relax
         \@hangfrom{\hskip #3\relax{\em\@svsec}}{\interlinepenalty \@M %
		    {\em #8}\par}% added \em - MAR
       \endgroup
       \csname #1mark\endcsname{#7}
       \addcontentsline{toc}{#1}
	 {\ifnum #2>\c@secnumdepth
          \else\protect\numberline{\csname the#1\endcsname}\fi #7}
     \else
       \def\@svsechd{%
	 #6\hskip #3\relax  %% \relax added 2 May 90
	 {\setbox\z@=\hbox{\lowercase{#8}\ifnum\spacefactor>\@m
	  \gdef\@@t{#8}\else\gdef\@@t{#8\@.}\fi}\em\@svsec\@@t}
	 \csname #1mark\endcsname{#7}
	 \addcontentsline{toc}{#1}
	    {\ifnum #2>\c@secnumdepth
	     \else\protect\numberline{\csname the#1\endcsname}\fi #7}%
	}
     \fi
     \@xsect{#5}}

%starred sections use this
\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax  %added \em in below - MAR
   \ifdim \@tempskipa>\z@
     \begingroup #4\@hangfrom{\hskip #1}{\interlinepenalty \@M {\em #5}\par}
     \endgroup
   \else \def\@svsechd{#4\hskip #1\relax
          {\setbox\z@=\hbox{\lowercase{#5}\ifnum\spacefactor>\@m
          \gdef\@@t{#5}\else\gdef\@@t{#5\@.}\fi}\em\@@t}}
   \fi
   \@xsect{#3}}

\def\section{\@startsection {section}{1}{\z@}{.2in}{.01in}{\normalsize}}
\def\subsection{\@startsection{subsection}{2}{\parindent}{2ex}
      {-1.5ex plus .1ex}{\normalsize}}
\def\subsubsection{\@startsection{subsubsection}{3}{2\parindent}
      {2ex}{-1.5ex}{\normalsize}}
\def\paragraph{\@startsection
 {paragraph}{4}{3\parindent}{2ex}{-1em}{\normalsize}}
\def\subparagraph{\@startsection
 {subparagraph}{4}{4\parindent}{2ex}{-1em}{\normalsize}}

\def\chaptermark#1{}

\setcounter{secnumdepth}{3}

\setlength\leftmargini {\parindent}  % 2.5em
\setlength\leftmargin  {\leftmargini}
\setlength\labelwidth  {\leftmargini}
\addtolength\labelwidth{-\labelsep}
\setlength\parsep      {5pt plus 2.5pt minus 1pt}
\def\@listi{\leftmargin\leftmargini}
\let\@listI\@listi
\@listi
\endinput
%%
%% End of file `afthes12.sty'.
