%
%  Generic Icarus manuscript format for TeX
%
%        Marc W. Buie
%        19 July 1989
%
%  Synopsis of defined commands
%
%  \ref{small caps}{normal}{italics}{bold}{normal} % reference Paragraph
%  \today               % current date
%  \draft               % draft version footline
%  \begintitlepage      % Start title page environment
%  \endtitlepage        % Close out the title page
%  \section{}           % Major section heading
%  \subsection{}        % Minor section heading
%  \subsubsection{}     % sub-Minor section heading
%  \tabletop{}          % Table heading
%  \preprint            % sets up a single space manuscript for pre-prints
%  \submission          % sets up a double space manuscript for submission
%  \nextfig             % for use in list of figure captions.
%  \fignum              % Number of next figure, advances counter
%  \eqnum               % Number of next equation, advances counter
%  \tblnum              % Number of next table, advances counter
%
% This sets up a complete font environment based on an eleven point typeface.
%
\def\elevenpoint{
  \font\elevenrm=cmr10 scaled \magstephalf
  \font\eleveni=cmmi10 scaled \magstephalf
  \font\elevensy=cmsy10 scaled \magstephalf 
  \font\eightrm=cmr8
  \font\eighti=cmmi8
  \font\eightsy=cmsy8
  \font\it=cmti10 scaled \magstephalf
  \font\sl=cmsl10 scaled \magstephalf
  \font\bf=cmb10 scaled \magstephalf
  \font\tt=cmtt10 scaled \magstephalf
  \font\sc=cmcsc10  %For small caps
  \font\big=cmr12
  \font\bbig=cmb10 scaled \magstep1
  \font\huge=cmr12 scaled \magstephalf
  \textfont0=\elevenrm \scriptfont0=\eightrm     
    \scriptscriptfont0=\fiverm                 %text fonts
  \def\rm{\fam0 \elevenrm}   
  \textfont1=\eleveni  \scriptfont1=\eighti  
    \scriptscriptfont1=\fivei                  %math italic fonts
  \def\mit{\fam1 } \def\oldstyle{\fam1 \eleveni}
  \textfont2=\elevensy \scriptfont2=\eightsy 
    \scriptscriptfont2=\fivesy                 %math symbol fonts
  \parindent=20pt       % Plain TeX default is 20pt
  \baselineskip=13.5pt\lineskip=0pt\lineskiplimit=-5pt
  \hyphenpenalty=50\pretolerance=100\tolerance=200 %plainTeX uses 50, 100, 200
  \rm}
%
\def\boxit#1{\vbox{\hrule\hbox{\vrule\kern3pt
              \vbox{\kern3pt#1\kern3pt}\kern3pt\vrule}\hrule}}
%
% Now set up definitions for use by the manuscript.
%
\def\name#1#2{\headline={\ifodd\pageno \leftskip=0pt\hfil{\huge #1(#2)}\else
                         \leftskip=0pt{\huge #1(#2)}\hfil\fi}
              \footline={\ifodd\pageno
                 \leftskip=0pt{\eightrm\today}\hfil{\elevenrm Page \folio}\else
                 \leftskip=0pt{\elevenrm Page \folio}\hfil{\eightrm\today}\fi}}
\def\title#1{\boxit{\vbox{\leftskip=0pt\noindent #1}}\medskip}
\def\section#1{\par{\leftskip=0pt\vskip.3in \noindent{\bbig #1}\par}\medskip\nobreak}
%
% \today expands into current date
%
\def\today{\number\year\space\ifcase\month\or
 January\or February\or March\or April\or May\or June\or
 July\or August\or September\or October\or November\or December\fi
 \space\number\day}
%
%
% The following affect every document, no choice is given
%
\def\varbox{2.6cm}
\raggedbottom %prevents messages about pages not being exactly correct length
\elevenpoint
\advance\vsize by 1cm
\voffset=-0.5cm
