\NeedsTeXFormat{LaTeX2e}

\typeout{TAPD 2000 Document Style For Camera-ready Copy}

\LoadClass[twoside,12pt]{article}

\setlength{\topmargin}{-1cm}
\setlength{\oddsidemargin}{0cm}
\setlength{\evensidemargin}{0cm}
\setlength{\textheight}{23.5cm}
\setlength{\textwidth}{15cm}
\setlength{\parindent}{0.5cm}
\setlength{\headsep}{1cm}
\setlength{\headheight}{12pt}
\setlength{\lineskip}{1pt}
\setlength{\normallineskip}{1pt}
\def\baselinestretch{1}

\date{}

\def\keywords{\vspace{-0.6cm}\quotation\small\it Keywords: }
\def\endkeywords{\vspace{-0.1cm}\endquotation\par\normalsize\rm}

\def\ps@headings{
%    \def\@oddhead{\hbox{}\scriptsize \rightmark \hfil {\ }} \def\@oddfoot{}
%    \def\@evenhead{\scriptsize{\ } \hfil \leftmark\hbox{}} \def\@evenfoot{}}
    \def\@oddhead{}\def\@evenhead{}}

\def\ps@titlepagestyle{
    \def\@oddhead{}  \def\@oddfoot{\hfil{}\centering{\ }\hfil{}}
    \def\@evenhead{} 
    \def\@evenfoot{\hfil{}\centering{\ }\hfil{}}}

\ps@headings
\pagestyle{empty}
\pagenumbering{arabic}

\def\maketitle{\par
  \begingroup
  \def\thefootnote{} % the \thanks{} mark type is empty
  \newpage \global\@topnum\z@ \@maketitle
  \thispagestyle{titlepagestyle}\@thanks
  \endgroup
  \let\mytitle\@title
  \setcounter{footnote}{0}\let\maketitle\relax\let\@maketitle\relax
  \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax
}

\def\leftmark{TAPD 2000}
\def\rightmark{\mytitle}

\newcommand{\runningtitle}[1]{\def\rightmark{#1}}

\raggedbottom
