%
% Changes by Kay Wiese 3.2.1995  --- Version for LaTex 22.3.95
%

%
% Counters
%
\@addtoreset{equation}{section}
\def\theequation{\thesection.\arabic{equation}}
\@addtoreset{figure}{section}
\def\thefigure{\thesection.\arabic{figure}}
\@addtoreset{table}{section} \def\thetable{\thesection.\arabic{table}}

%
% Captions
%
\def\caption{\refstepcounter\@captype \@dblarg{\@caption\@captype}}
 
\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
  ext@#1\endcsname}{#1}{\protect\numberline{\csname
  the#1\endcsname}{\ignorespaces #2}}\begingroup
    \@parboxrestore
    \footnotesize %Change by Kay Wiese 3.2.1995
    %\normalsize
    \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
  \endgroup}
%
% Section etc.
%
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
    -.2ex}{2.3ex plus.2ex}{\reset@font\sffamily\large\bfseries \center}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
    minus-.2ex}{1.5ex plus.2ex}{\reset@font\bfseries\sffamily\center}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
 -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries\sffamily\center}}
\def\paragraph{\@startsection
     {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
     \normalsize\sffamily\center}}
\def\subparagraph{\@startsection
     {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
     .2ex}{-1em}{\reset@font\normalsize\sffamily\center}}
%
% Own headings
%
\if@twoside
 \def\ps@headings{\let\@mkboth\markboth
  \def\@oddfoot{}\def\@evenfoot{}%       No feet.
  \def\@evenhead{\rmfamily\thepage\hfil\small\sffamily\leftmark}%        Left heading.
  \def\@oddhead{{\small\sffamily\rightmark}\hfil\rmfamily\thepage}% Right heading.
  \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth >\z@
    \thesection\hskip 1em\relax \fi ##1}}{}}%
  \def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne
          \thesubsection\hskip 1em\relax \fi ##1}}}
\else
 \def\ps@headings{\let\@mkboth\markboth
  \def\@oddfoot{}\def\@evenfoot{}%     No feet.
  \def\@oddhead{{\small\sffamily\rightmark}\hfil\rmfamily\thepage}% Heading.
  \def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth >\z@
    \thesection\hskip 1em\relax \fi ##1}}}}
\fi
\def\ps@myheadings{\let\@mkboth\@gobbletwo
 \def\@oddhead{{\small\sffamily\rightmark}\hfil\rmfamily\thepage}%
 \def\@oddfoot{}\def\@evenhead{\rmfamily\thepage\hfil\small\sffamily\leftmark}%
 \def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}}
%
% Own table of contents, does not work, why?
%
%\def\tableofcontents{\section*{\contentsname
%        \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}%  %\@starttoc{toc}}

%
% Own citation conventions, use the `[1-5]' etc. from revtex
%
\input{kay_bib.sty}