%
% This .sty file provides command for including the ERA letterhead
% in LaTeX documents.  Unfortunately, I don't know enough TeX to
% make this .sty file general enough to work for both TeX and
% LaTeX. 
%

\newlength{\eralogowidth}
\newlength{\eralogoheight}

%
% We specify the length and width 100 times too small so that we can 
% scale with a percentage
% 
\setlength{\eralogowidth}{2.063pt}
\setlength{\eralogoheight}{0.3925pt}

%
% The main command for printing the letterhead
%
%  ******************************************************************
%  * It is very important that there be *NO* spaces between the     *
%  * \mbox{ and the \special command so that extra spaces will not  *
%  * interfere with the spacing.                                    *
%  ******************************************************************
%
% Usage: \eralogo{scalefactor} 
%   scalefactor is a percentage
%
\newcommand{\eralogo}[1]{
  \mbox{%
\special{psfile=esy.ps hscale=#1 vscale=#1} 
\rule{0pt}{#1\eralogoheight}\hspace*{#1\eralogowidth}
  }
}

\newcommand{\eraletterhead}{\eralogo{130}}
