%** File: cara:~bd/ISAT/reports/isat-report.sty
%** Contains: Style file for ISAT Reports, Papers, etc.
%** Author: Brian Drabble (bd@rousay)
%** Created: Wed May  1 10:28:35 1992 Created by: Brian Drabble
%** Updated: Thu Jun 13 15:02:06 1996
%**

\newcommand{\projectdocument}[4]{
    \newcommand{\DocumentVersion}{#1}
    \newcommand{\DocumentTitle}{#2}
    \newcommand{\DocumentType}{#3}
    \newcommand{\DocumentNumber}{#4}}

\newcommand{\created}[2]{
    \newcommand{\Creator}{#1}
    \newcommand{\CreationDate}{#2}}

\newcommand{\lastaltered}[3]{
    \newcommand{\AlteredBy}{#1}
    \newcommand{\AlteredDate}{#2}
    \newcommand{\AlteredTime}{#3}}

\newcommand{\DocumentStatus}{{\bf Version 1.}}

\newcommand{\status}[1]{
    \renewcommand{\DocumentStatus}{#1}}

% Registered Mark Symbol

\newcommand{\registered}{$^{\ooalign
        {\hfil\raise.07ex\hbox{\sc r}\hfil\crcr\mathhexbox20D}}$}

\newcommand{\TitlePage}{
\begin{titlepage}
\noindent
\begin{flushright}
{\LARGE\bf \DocumentType}
\vspace{-0.5cm}
\end{flushright}
\rule{15.85cm}{0.5mm}

\begin{flushright}
{\LARGE\bf \DocumentTitle} \\
\end{flushright}

\begin{flushright}
{\LARGE\bf \Creator} \\
\end{flushright}

\vfill

\flushright
Approved for public release; distribution is unlimited
\rule{15.85cm}{0.5mm}

\noindent
\begin{minipage}[t]{3.0in}
\flushleft
Artificial Intelligence Applications Institute \\
University of Edinburgh \\
80 South Bridge \\
Edinburgh EH1 1HN \\
United Kingdom
\end{minipage}
\hspace{\fill}
\begin{minipage}[t]{2.75in}
\flushright
\today \\
%January 20, 1996 \\
\vspace{1.15cm}
\flushright
ISAT-AIAI/\DocumentNumber\ Version \DocumentVersion
\end{minipage}

\newpage

\pagestyle{empty}

\end{titlepage}}

\pagestyle{myheadings}

\newcommand{\Headers}{
  \pagestyle{myheadings}
  \markboth{\DocumentTitle}{\DocumentTitle}
}

\newcommand{\opsection}[1]{
   \newpage
   \markboth{}{}
   \begin{flushright}
   \section{#1}
   \vspace{-0.75cm}
   \noindent
   \rule{15.85cm}{0.5mm}
   \end{flushright}
   \markboth{\DocumentTitle}{#1}
}

\setlength{\parindent}{0in}
\marginparwidth 0.5in
\marginparsep 0pt
\topmargin 0pt
\textwidth 6.25in
\textheight 8.5in
\oddsidemargin 0.25in
\evensidemargin 0.25in

\sloppy


