%%
%% This is file `rmaacite.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% rmaa.dtx  (with options: `rmaacite')
%% 
%% PLEASE DO NOT EDIT THIS FILE! It is generated automatically from
%% the file rmaa.dtx using the accompanying Makefile and rmaa.ins
%% Any hand-edited changes will be lost
%% 
%% A LaTeX document class for the RevMexAA
%% 
%% Author: William Henney (w.henney@astrosmo.unam.mx)
%% 
%% Latest version available from: http://www.astrosmo.unam.mx/rmaa
%% 
%% Copyright (C) 1999-2003 Instituto de Astronomia, UNAM, Mexico
%% 
%% This program is free software; you can redistribute it and/or
%% modify it under the terms of the GNU General Public License
%% as published by the Free Software Foundation; either version 2
%% of the License, or (at your option) any later version.
%% 
%% This program is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%% GNU General Public License for more details.
%% 
%% You should have received a copy of the GNU General Public License
%% along with this program; if not, write to the Free Software
%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.






\def\bibitem[#1<#2>]#3{\par\hangindent=1.5em\hangafter=1
  \if@filesw
  {\def\protect##1{\string ##1\space}
    \immediate\write\@auxout{\string\lbibcite{#3}{#1}{#2}}}
  \fi}
\@redefinebibitem % what it says
\def\lbibcite#1#2#3{\global\@namedef{b@#1}{#2}
                    \global\@namedef{by@#1}{#3}}

\def\@bcite#1#2{({#1\if@tempswa , #2\fi})}
\def\@pcite#1#2{#1\if@tempswa , #2\fi}
\def\@brcite{\ (}
\def\@ebrcite{)}
\def\@fmttop#1{\@fmtcite[\csname #1\endcsname]}
\def\@citex[#1]#2{%
%%  \if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
%% WJH added 16 Jan 2002
  \@for\@citeb:=#2\do{%
    \edef\@citeb{\expandafter\@firstofone\@citeb:\articlename}%
    \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi}%
%% to here
  \def\@citea{}%
  \@cite{\@for\@citeb:=#2\do
    {%
      \edef\@citeb{\expandafter\@firstofone\@citeb:\articlename}%
      \@citea\def\@citea{;\ }\@ifundefined
      {b@\@citeb}{{\bf ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}%
      {\csname b@\@citeb\endcsname\@citebro\csname by@\@citeb\endcsname\@citebrc}}}%
  {#1}}

\def\cite{\@ifnextchar [{\let\@citebro=\space
                          \let\@citebrc=\relax
                          \let\@cite=\@bcite\@tempswatrue\@citex}
                        {\let\@citebro=\space
                          \let\@citebrc=\relax
                          \let\@cite=\@bcite\@tempswafalse\@citex[]}}
\def\pcite{\@ifnextchar [{\let\@citebro=\space
                          \let\@citebrc=\relax
                          \let\@cite=\@pcite\@tempswatrue\@citex}
                        {\let\@citebro=\space
                          \let\@citebrc=\relax
                          \let\@cite=\@pcite\@tempswafalse\@citex[]}}
\def\scite{\@ifnextchar [{\let\@citebro=\@brcite
                          \let\@citebrc=\@ebrcite
                          \let\@cite=\@pcite\@tempswatrue\@citex}
                        {\let\@citebro=\@brcite
                          \let\@citebrc=\@ebrcite
                          \let\@cite=\@pcite\@tempswafalse\@citex[]}}

\renewenvironment{thebibliography}
  {\section*{REFERENCES}\vspace*{\afterbiblioskip}\small
    \if@book\RereadBiblio\fi
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=1000\relax
    \setlength\parindent{\z@}\setlength\parskip{\z@}}
  {\relax\normalsize\@outputaddressesifnecessary}









\endinput
%%
%% End of file `rmaacite.sty'.
