% Use with LaTeX version 2.09: % \documentstyle[gats]{article} % Copyright (c) 1992 - 1995 by John Burton % Permission to copy all or part of this work is granted, provided % that the copies are not made or distributed for resale, and that % the copyright notice and this notice are retained. % % John Burton % GATS % 28 Research Drive % Hampton, Virginia 23666 % j.c.burton@gats.hampton.va.us % Say \pageheaderlinetrue if you want the header underlined. \newif\ifpageheaderline \pageheaderlinefalse \newif\ifpagefooterline \pagefooterlinefalse \newdimen\pageheaderlineskip \pageheaderlineskip=1.5pt \newdimen\pagefooterlineskip \pagefooterlineskip=1.5pt \def\@headerline#1#2#3{% \ifpageheaderline \vbox{\hbox to \textwidth{\rlap{#1}\hss{#2}\hss\llap{#3}}% \vskip\pageheaderlineskip \hrule}% \else{\rlap{#1}\hss{#2}\hss\llap{#3}}\fi} \def\@footerline#1#2#3{% \ifpagefooterline \vbox{\hrule \vskip\pageheaderlineskip % \hbox to \textwidth{\rlap{#1}\hss{#2}\hss\llap{#3}}}% \else{\rlap{#1}\hss{#2}\hss\llap{#3}}\fi} \newcommand\oddpageheader[3]{\def\@oddhead{\@headerline{#1}{#2}{#3}}} \newcommand\evenpageheader[3]{\def\@evenhead{\@headerline{#1}{#2}{#3}}} \newcommand\oddpagefooter[3]{\def\@oddfoot{\@footerline{#1}{#2}{#3}}} \newcommand\evenpagefooter[3]{\def\@evenfoot{\@footerline{#1}{#2}{#3}}} \newcommand\pageheader[3]{% \oddpageheader{#1}{#2}{#3}\evenpageheader{#1}{#2}{#3}} \newcommand\pagefooter[3]{% \oddpagefooter{#1}{#2}{#3}\evenpagefooter{#1}{#2}{#3}} \def\contract#1{\gdef\@contract{#1}} \def\monitor#1{\gdef\@monitor{#1}} \def\reportnum#1{\gdef\@reportnum{#1}} \def\prepname#1{\gdef\@prepname{#1}} \def\maketitle{\begin{titlepage} \let\footnotesize\small \let\footnoterule\relax \setcounter{page}{0} \null \input psfig %\input epsf \begin{flushleft} {GATS Technical Report \@reportnum} %\vskip 0.65in \vfil %{\Large\bf \@title \par} \vskip 0.65in {\large \lineskip .75em {\Large\bf \@title \par} \vfil {\large \lineskip .75em \begin{tabular}[t]{l}\@author \end{tabular}\par} %\vskip 0.65in \vfil \ifx \@prepname\@empty \hbox{\hfil} \else {Prepared for:} \\ {\@prepname}\\ \fi \ifx \@contract\@empty \hbox{\hfil} \else {Under Contract No. \@contract}\\ \fi \ifx \@monitor\@empty \hbox{\hfil} \else {Technical Monitor: \@monitor}\\ \fi % \vskip 2.0cm \vfil {\today}\\ \vskip 2.0cm \psfig{figure=/home/jcburt/TeX/macros/gats.eps,height=0.5in} % \epsfxsize=0.75in\epsfbox{gats.eps} {GATS, Inc.}\\ {28 Research Drive, Hampton, VA. 23666}\\ {(804) 865-7491} \end{flushleft} \par \@thanks \vfil \null \end{titlepage} \setcounter{footnote}{0} \let\thanks\relax \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\maketitle\relax} \def\abstract{\titlepage \null\vfil \begin{center} {\bf Abstract} \end{center}} \def\endabstract{\par\vfil\null\endtitlepage} \pageheaderlinetrue \headheight 24pt % see the LaTeX book for definitions \headsep 12pt \textwidth 6.25in \textheight 8.0in \topmargin 0in \marginparwidth 0pt \oddsidemargin 0pt \evensidemargin 0pt \marginparsep 0pt \parindent 0pt \parskip 10pt plus 1pt \renewcommand{\baselinestretch}{1.1} \def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else \@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner \@parmoderr\@floatpenalty\z@ \else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname \multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n \@tfor \@tempa :=#2\do {\if\@tempa h\advance\@tempcnta \@ne\fi \if\@tempa t\advance\@tempcnta \tw@\fi \if\@tempa b\advance\@tempcnta 4\relax\fi \if\@tempa p\advance\@tempcnta 8\relax\fi }\global\count\@currbox\@tempcnta}\@fltovf\fi \global\setbox\@currbox\vbox\bgroup \def\baselinestretch{1}\@normalsize \boxmaxdepth\z@ \hsize\columnwidth \@parboxrestore} \pageheader{GATS, Inc.}{}{Technical Report \@reportnum}