\def\fileversion{1.0}
\def\filedate{1999/09/24}
\def\fileauthor{Eric Anderson}
\ProvidesPackage{genetics_manu_style}[\filedate\space\fileversion
\space\fileauthor\space PSNFSS LaTeX package loading style file for
Genetics manuscript]


%% TO STORE INFORMATION FOR PAGE 2
%% THESE COMMANDS SHOULD BE CHANGED WITH \renewcommand
\newcommand{\RunningHead}{PLEASE RENEWCOMMAND%
            $\backslash$RunningHead}
\newcommand{\KeyWords}{PLEASE RENEWCOMMAND%
            $\backslash$KeyWords}
\newcommand{\CorrespondingAuthor}{PLEASE RENEWCOMMAND%
            $\backslash$CorrespondingAuthor}
\newcommand{\CorrespondingAddress}{PLEASE RENEWCOMMAND%
            $\backslash$CorrespondingAddress}


%% THE SECTIONING COMMANDS
%% GENETICS IS WEIRD IN THAT THEIR SECOND-LEVEL SECTION
%% IS RARELY USED.  THUS I TRANSLATE \subsection INTO THE
%% THIRD LEVEL AND PUT \Genetics2level IN JUST IN CASE 
%% SOMEONE WOULD WANT TO USE IT.
\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.25ex\@plus -1ex \@minus -.2ex}%
                                   {.3ex \@plus.2ex}%
                                   {\centering\normalfont %
                                    \small\uppercase}}
\def\Genetics2level{\@startsection {subsection}{2}{\z@}%
                                   {-3.25ex\@plus -1ex \@minus -.2ex}%
                                   {1.3ex \@plus.2ex}%
                                   {\normalfont %                                  
                                    \normalsize\bfseries}}                                   
\renewcommand\subsection{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {-.55em \@plus -.2em}%
                                     {\normalfont\normalsize\bfseries}}
\renewcommand\subsubsection{\@startsection{paragraph}{4}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {-.55em \@plus -.2em}%
                                     {\normalfont\normalsize\itshape}}



\setcounter{secnumdepth}{0}


%% FORMAT THE TITLE PAGE
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\renewcommand\maketitle{%\begin{titlepage}%
  \let\TempFootNoteSize\footnotesize
  \let\footnotesize\normalsize
  \let\footnoterule\relax
  \let \footnote \thanks
  \addtolength{\footnotesep}{1.66\footnotesep}
  \null\vfil
  \vskip 60\p@
  \begin{center}%
    {\Large \@title \par}%
    \vskip 3em%
    {\normalsize
     \lineskip .75em%
      \begin{tabular}[t]{c}%
        \@author
      \end{tabular}\par}%
      \vskip 1.5em%
    {\normalsize \@date \par}%       % Set date in \large size.
  \end{center}\par
  \@thanks
  \vfil\null
%  \end{titlepage}%
  \setcounter{footnote}{0}%
  \global\let\thanks\relax
  \global\let\maketitle\relax
  \global\let\@thanks\@empty
  \global\let\@author\@empty
  \global\let\@date\@empty
  \global\let\@title\@empty
  \global\let\title\relax
  \global\let\author\relax
  \global\let\date\relax
  \global\let\and\relax
	 \global\let\footnotesize\TempFootNoteSize
  %    BELOW HERE IT PRINTS PAGE 2.
  \clearpage
  \vspace*{15ex}
  \begin{center}
     Running Head: \RunningHead
  \end{center}
     \vskip 20\p@
	   \newbox{\KeyWordstempboxa}
    \savebox{\KeyWordstempboxa}{KeyWords: \KeyWords}%
    \ifdim \wd\KeyWordstempboxa >\textwidth
      Key Words: \KeyWords
    \else
     \begin{center}
        Key Words:  \KeyWords
      \end{center}
    \fi
     \vskip 25\p@
     \begin{center}
      Corresponding Author:
      \vskip 12\p@
      \CorrespondingAuthor
      \vskip 30\p@
      \vfil
      \CorrespondingAddress
     \end{center}
     \vfil
}

%%  Format the abstract page appropriately
\renewenvironment{abstract}{%
      \clearpage
      \null\vfil
      \@beginparpenalty\@lowpenalty
      \begin{center}%
        \bfseries \abstractname
        \@endparpenalty\@M
      \end{center}}%
      {\par\vfil\null\clearpage}
    
%% DOUBLE SPACE IT AND SET THE PAGE DIMENSIONS
\renewcommand{\baselinestretch}{1.66}
\setlength{\oddsidemargin}{0pt}
\setlength{\evensidemargin}{0pt}
\setlength{\topmargin}{-20pt}
\setlength{\headsep}{10pt}
\setlength{\headheight}{14pt}
\addtolength{\textheight}{1.3in}
\setlength{\textwidth}{6.5in}

\renewcommand{\refname}{LITERATURE CITED}

%% CHANGE THE BIBLIOGRAPHY ENVIRONMENT SO THAT IT ISN'T MOVED OVER
%% TO THE RIGHT THE WAY IT IS IN MYCHICAGO.  IN FACT, I SHOULD JUST 
%% MAKE THIS CHANGE TO MYCHICAGO ANYWAY.
\renewcommand{\thebibliography}[1]{\section*{\refname\@mkboth
   {\uppercase{\refname}}{\uppercase{\refname}}}\list
   {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
   \leftmargin\labelwidth
   \advance\leftmargin -\labelwidth
   \advance\leftmargin\bibindent
   \itemindent -\bibindent
   \listparindent \itemindent
   \parsep \z@
   \usecounter{enumi}}
   \def\newblock{}
   \sloppy
   \sfcode`\.=1000\relax}  
   
%% CHANGE THE \appendix COMMAND TO START NUMBERING EQUATIONS
%% AS A1, A2, ETC.
\renewcommand\appendix{\par
  \setcounter{section}{0}%
  \setcounter{subsection}{0}%
  \renewcommand\thesection{\@Alph\c@section}
  \setcounter{equation}{0}
  \renewcommand{\theequation}{A\arabic{equation}}}


%% Some changes so that the my citations are of a "shortcite" style. %%
\renewcommand{\cite}{\shortcite}
\renewcommand{\citeN}{\shortciteN}
\renewcommand{\citeNP}{\shortciteNP}
\renewcommand{\citeA}{\shortciteA}
\renewcommand{\citeANP}{\shortciteANP}


\endinput
