%
% "uacs" document style option.
%  October 30 1987
% Peter Abbott Aston University Computing Service
%
% Redefines the parameters for Aston `house' style
\typeout{Aston		  Computing Service <6 May 1988>}
\topmargin 0pt
\headheight 0pt
\headsep 0pt
\textheight 702pt
\oddsidemargin 10pt
\evensidemargin 10pt
\textwidth 432pt
\parskip 8pt
\parindent 0pt


\mark{{}{}}

\if@twoside \def\ps@headings{\let\@mkboth\markboth
\def\@oddfoot{\hfil \rm \thepage\hfil \rightmark}
\def\@evenfoot{\@oddfoot}\def\@evenhead{}\def\@oddhead{}
\def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth
>\z@
 \thesection\hskip 1em\relax \fi ##1}}{}}\def\subsectionmark##1{\markright
{\ifnum \c@secnumdepth >\@ne
 \thesubsection\hskip 1em\relax \fi ##1}}}
\else \def\ps@headings{\let\@mkboth\markboth
\def\@oddfoot{\hfil \rm \thepage\hfil \rightmark}
\def\@evenfoot{\@oddfoot}\def\@evenhead{}\def\@oddhead{}
\def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth
>\z@
 \thesection\hskip 1em\relax \fi ##1}}}}
\fi
\def\ps@myheadings{\let\@mkboth\@gobbletwo
\def\@oddfoot{\rm \leftmark \hfil \rightmark}\def\@evenfoot{\@oddfoot}
\def\@evenhead{}\def\@oddhead{}
\def\sectionmark##1{}\def\subsectionmark##1{}}

\if@twoside \def\ps@pagefoot{\let\@mkboth\markboth
\def\@oddfoot{\rm \leftmark\hfil \thepage\hfil \rightmark}
\def\@evenfoot{\@oddfoot}\def\@evenhead{}\def\@oddhead{}
\def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth
>\z@
 \thesection\hskip 1em\relax \fi ##1}}{}}\def\subsectionmark##1{\markright
{\ifnum \c@secnumdepth >\@ne
 \thesubsection\hskip 1em\relax \fi ##1}}}
\else \def\ps@pagefoot{\let\@mkboth\markboth
\def\@oddfoot{\rm\leftmark\hfil\thepage\hfil \rightmark}
\def\@evenfoot{\@oddfoot}\def\@evenhead{}\def\@oddhead{}
\def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth
>\z@
 \thesection\hskip 1em\relax \fi ##1}}}}
\fi
\def\ps@plainfoot{\let\@mkboth\@gobbletwo
\def\@oddfoot{\rm \leftmark \hfil \rightmark}\def\@evenfoot{\@oddfoot}
\def\@evenhead{}\def\@oddhead{}
\def\sectionmark##1{}\def\subsectionmark##1{}}

% supertabular sty
% Theo Jurriens 1988
% TAJ@hgrrug5        P.O Box 800, 9700 AV Groningen
%
\def\@tablehead{\ }
\def\tablehead#1{\gdef\@tablehead{#1}}
\newcount\tablefractionperc
\def\tablefraction#1{\global\tablefractionperc = #1}
\tablefraction{100}
\def\@tabletail{\ }
\def\tabletail#1{\gdef\@tabletail{#1}}
\newcount\numline  %
\newcount\maxline %
\newcount\startmaxline
%
\def\calmaxline{
\global\maxline=\textheight
\global\startmaxline=\textheight
\global\advance\maxline by -\pagetotal
\global\divide\maxline by \baselineskip
\global\multiply\maxline by 9
\global\divide\maxline by 10
\global\divide\startmaxline by \baselineskip
\global\multiply\startmaxline by 9
\global\divide\startmaxline by 10
\global\multiply\maxline by\tablefractionperc
\global\divide\maxline by 100
\global\advance\maxline by -2}
%
\newenvironment{supertabular}[1]{  %
\edef\tableformat{\string#1} %
\numline=0       %
\calmaxline
\begin{tabular}[t]{\tableformat}\@tablehead}{\@tabletail \end{tabular}}%
%
%
\def\nextline{\global\advance\numline by 1 \\
\ifnum\numline=\maxline
        \@tabletail   %
        \end{tabular}%
        \newpage   %
        \global\maxline=\startmaxline
        \begin{tabular}[t]{\tableformat}%
        \@tablehead %
        \global\numline=0 %
\fi}%
%
 

