% rfc.sty
% -----------
%
% removes the clearpage asked at the top of a chapter title
%
%\def\chapteri{%
%   \global\@topnum\z@
%
%   \@afterindentfalse
%   \secdef\@chapter\@schapter}
%
% prevent the word ``Chapter'' to be written at the top of a chapter
%
%\def\@makechapterhead#1{             % Heading for \chapter command
%  { \parindent 0pt \raggedright 
%    \ifnum \c@secnumdepth >\m@ne     % IF secnumdepth > -1 THEN
%      \Large\bf\sf \thechapter.   \
%      \fi              % Hopefully print number.
%    #1\par 
%    \nobreak                         % TeX penalty to prevent page break.
%    \vskip 10pt                      % Space between title and text.
%  } }
%
%
% remove reference of subsections to their chapter number
% e.g. 1.1 becomes 1, and 4.2.3 becomes 2.3 
% \def\thesection       {\arabic{section}}
%
%	Play with chapter headings -- from rep10.sty
\def\chapter{\clearpage
   \global\@topnum\z@

   \@afterindentfalse
   \secdef\@chapter\@schapter}

\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
        \refstepcounter{chapter}%
        \typeout{\@chapapp\space\thechapter.}%
        \addcontentsline{toc}{chapter}{\protect
        \numberline{\thechapter}#1}\else
      \addcontentsline{toc}{chapter}{#1}\fi
   \chaptermark{#1}%
   \addtocontents{lof}%
       {\protect\addvspace{10\p@}}
   \addtocontents{lot}%
       {\protect\addvspace{10\p@}}
   \if@twocolumn
           \@topnewpage[\@makechapterhead{#2}]%
     \else \@makechapterhead{#2}%
           \@afterheading
     \fi}

\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
        \else \@makeschapterhead{#1}%
              \@afterheading\fi}

\def\@makechapterhead#1{             % Heading for \chapter command
  { \parindent 0pt \raggedright 
    \ifnum \c@secnumdepth >\m@ne     % IF secnumdepth > -1 THEN
      \Large\bf %\@chapapp{}     no "chapter" etc in title 
      \thechapter.\ \fi              % Print 'Chapter' and number.
    #1\par 
    \nobreak                         % TeX penalty to prevent page break.
    \vskip 10pt                      % Space between title and text.
  } }
%	Fix section fonts -- from cernman.sty
%
\def\section{\@startsection {section}{1}{\z@}{-2.ex plus -1ex minus 
    -.2ex}{2.ex plus .2ex}{\large\bf\sf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-2.ex plus -1ex minus 
   -.2ex}{1.5ex plus .2ex}{\large\bf\sf}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.ex plus
 -1ex minus -.2ex}{1.5ex plus .2ex}{\normalsize\bf\sf}}
\def\paragraph{\@startsection
     {paragraph}{4}{\z@}{2.ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
\def\subparagraph{\@startsection
     {subparagraph}{5}{\parindent}{2.ex plus 1ex minus 
     .2ex}{-1em}{\normalsize\bf}}
\endinput