%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%                                                                         %%%
%%%                              LCSCOVER.STY                               %%%
%%%                                                                         %%%
%%%    Use the lcscover option with the article or report documentstyles    %%%
%%%   to produce an LCS cover page in addition to normal \maketitle stuff.  %%%
%%%                                                                         %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% Use this by including the ``lcscover'' option in your \documentstyle 
%%% command:
%%%    \documentstyle[11pt,lcscover]{article}
%%% This is intended for use with the ``article'' and ``report'' document-
%%% styles; its correct operation with other styles is not guaranteed.  It is
%%% designed to use appropriate fonts and margins for the cover page regardless
%%% of what fonts and margins you've chosen for the rest of your document.

%%% The cover page is printed by the \maketitle command, which also does the
%%% usual job of printing title information at the top of the first page.
%%% Some extra information for the cover page can be given by the following
%%% commands.

%%% \coverauthor{...}     Author's name as it is to appear on the cover page.
%%% \covertitle{...}      Ditto for the title.
%%% \coverdate{...}       Ditto for the date.
%%% \researchcredit{...}  Paragraph describing source of funding. (e.g.,
%%%                       \researchcredit{Funding for this work ...})
%%% \toappear{...}        Paragraph indicating future publication.  (e.g.,
%%%                       \toappear{To appear in Proceedings of ...})
%%% \trnumber{...}        Technical report serial number. (e.g.,
%%%                       \trnumber{Computation Structures Group Memo 847})                   

%%% All of these may be omitted; if any of the first three are omitted (as
%%% they usually will be) the normal \author, \title, and \date values are
%%% used.  The \coverauthor, etc, commands can be used if, for example,
%%% different line breaks are desired on the cover page as on the title page.
%%% As usual, use \\ to force line breaks within any of these commands.

\def\coverauthor{\gdef\@coverauthor}
\def\covertitle{\gdef\@covertitle}
\def\coverdate{\gdef\@coverdate}
\def\researchcredit{\gdef\@researchcredit}
\def\toappear{\gdef\@toappear}
\def\trnumber{\gdef\@trnumber}
\def\@coverauthor{\@author}
\def\@covertitle{\@title}
\def\@coverdate{\@date}
\def\@researchcredit{}
\def\@toappear{}
\def\@trnumber{}

\let\@@maketitle\maketitle

\newbox\@lcscoverbox
\def\maketitle{%
  \setbox\@lcscoverbox\vbox to 7.6875in{%
     %%% Set fonts as if for 12pt
     \def\@normalsize{\@setsize\normalsize{14.5pt}\xiipt\@xiipt
     \abovedisplayskip 12pt plus3pt minus7pt\belowdisplayskip \abovedisplayskip
     \abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt
     minus3pt\let\@listi\@listI} 
     \def\small{\@setsize\small{13.6pt}\xipt\@xipt
     \abovedisplayskip 11pt plus3pt minus6pt\belowdisplayskip \abovedisplayskip
     \abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt
     minus3pt
     \def\@listi{\leftmargin\leftmargini \parsep 4.5pt plus 2pt minus 1pt \itemsep
     \parsep
      \topsep 9pt plus 3pt minus 5pt}}
     \def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt
     \abovedisplayskip 10pt plus2pt minus5pt\belowdisplayskip \abovedisplayskip
     \abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt minus3pt
     \def\@listi{\leftmargin\leftmargini \topsep 6pt plus 2pt minus 2pt\parsep 3pt
     plus 2pt minus 1pt
     \itemsep \parsep}}
     \def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
     \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
     \def\large{\@setsize\large{18pt}\xivpt\@xivpt}
     \def\Large{\@setsize\Large{22pt}\xviipt\@xviipt}
     \def\LARGE{\@setsize\LARGE{25pt}\xxpt\@xxpt}
     \def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt}
     \let\Huge=\huge
     \let\normalsize\@normalsize
     \normalsize 

     \hsize 6in
     \centering
     \parindent 0pt
     \parskip 0pt
     \let\\\par
     \def\thanks##1{}
     \def\and{\par\vskip 12pt}
     \vskip 0pt plus 0.75fil
     {\large\bf\@covertitle\par}
     \vskip 0pt plus 1fil
     {\@trnumber\par\@coverdate\par}
     \vskip 0pt plus 1fil
     {\bf\@coverauthor\par}
     \vskip 0pt plus 1.5fil
     {\@toappear\par}
     \vskip 0pt plus 2fil
     \vbox{%
       \hsize 6in
       \leftskip 0.5in
       \rightskip 0.5in
       \parfillskip 0pt plus 1fil
       \footnotesize
       \@researchcredit
       \par}
     \vskip 0.25in}
  \cleardoublepage
  \vbox to 0pt{%
    \vskip 8.25in
    \vskip -\topmargin
    \dimen0\oddsidemargin
    \advance\dimen0 by -0.25in
%    \moveleft\dimen0\vbox to 0pt{\vss\box\@lcscoverbox\vskip 0.5in}
    \moveleft\dimen0\vbox to 0pt{\vss\box\@lcscoverbox}
    \moveleft\oddsidemargin\vbox{%
%      \special{psfile=/home/df/tex/figures/lcscover.ps hoffset=-72 voffset=-45}}
      \special{psfile=/home/srco/new/lib/tex/localinputs/lcscover.ps hoffset=-72 voffset=-80}}
    \vss}
  \thispagestyle{empty}
  \setcounter{page}{0}
  \clearpage
  \mbox{}\thispagestyle{empty}
  \setcounter{page}{0}
  \mbox{}
  \clearpage
  \@@maketitle}


%%%% Edit History: /home/srco/new/lib/tex/localinputs/lcscover.sty

%%%+/home/srco/new/lib/tex/localinputs/lcscover.sty 
%%% [shail]  1/12/95 12:22  Changed the placement of the box slightly.
%%% It was going too far towards the top of the page. 
%%%+/home/srco/new/lib/tex/localinputs/lcscover.sty 
%%% [rpaul]  2/ 7/95 12:58  moved the .ps file into ...tex/localinputs/
%%% [shail]  5/ 3/95 17:01  Eject one more blank page after cover page
%%% to allow two sided printing.
