%   see p. 344 of Guide to LaTeX2e by Kopka and Daly

%\NeedsTeXFormat{Latex2e}
\ProvidesClass{dochead}

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass[12pt]{article}

\newcommand{\DocDate}[1] {\renewcommand{\DH@date}{#1}}
\newcommand{\DH@date}{}

\newcommand{\DocAuthor}[1] {\renewcommand{\DH@author}{#1}}
\newcommand{\DH@author}{}

\newcommand{\ps@dochead}{
\renewcommand{\@oddhead}{
 \parbox{2.5in}{\includegraphics[width=0.75in]{dyb_logo.eps}}
 \parbox{6.8in}{\bb\sc The Daya Bay Reactor Antineutrino Experiment}
\parbox{0.5in}{\includegraphics[width=0.5in]{pu_logo.eps}}
} 

\renewcommand{\@evenhead}{\@oddhead}
\renewcommand{\@oddfoot}{\rr\sc \DH@author \hfil \DH@date \hfil \thepage}
\renewcommand{\@evenfoot}{\@oddfoot}
}
\pagestyle{dochead}

