%   (gH)   --  rapm.sty  ;  TimeStamp (unix) : 09 Octobre 00 08:37
%
%  rapm.sty
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\if@twoside
  \def\ps@headings{%
       \def\@oddfoot{\null \hfil  \thepage \hfil \null}
       \def\@evenfoot{\null \hfil  \thepage \hfil \null}
%     \def\@evenhead{\thepage\hfil\slshape\leftmark}%
      \def\@evenhead{{Chapitre  \thechapter}\hfil\slshape\leftmark}%
      \def\@oddhead{{Chapitre  \thechapter}\hfil\slshape\leftmark}%
%      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
      \let\@mkboth\markboth
    \def\chaptermark##1{%
      \markboth {
        \ifnum \c@secnumdepth >\m@ne
%%          \if@mainmatter
%%             \ %
%%          \fi
        \fi
        ##1}{}}%
    \def\sectionmark##1{%
      \markright {\MakeUppercase{%
        \ifnum \c@secnumdepth >\z@
          \thesection. \ %
        \fi
        ##1}}}}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\if@twoside
  \def\ps@plain{%
       \def\@oddfoot{\null \hfil  \thepage \hfil \null}
       \def\@evenfoot{\null \hfil  \thepage \hfil \null}
      \def\@evenhead{}%
      \def\@oddhead{}%
      \let\@mkboth\markboth
    \def\chaptermark##1{%
      \markboth {
        \ifnum \c@secnumdepth >\m@ne
%%          \if@mainmatter
%%             \ %
%%          \fi
        \fi
        ##1}{}}%
    \def\sectionmark##1{%
      \markright {\MakeUppercase{%
        \ifnum \c@secnumdepth >\z@
          \thesection. \ %
        \fi
        ##1}}}}
\fi


%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% pour une date fixe :
%
%        \date{Angers, le 30 d\'{e}cembre 95}
%
% sinon, red\'{e}finir today apr\`{e}s documentclass
%
%        \documentclass[a4paper,12pt,titlepage]{article}
%
% pour la frappe en fran\c{c}ais (mais il est pr\'{e}f\'{e}rable
% d'utiliser des macros kedit, sedit ou emacs...)
%
%        \usepackage[latin1]{inputenc}
%
% pour les normes fran\c{c}aise de typographie :
%
%         \usepackage[french]
%
% la date en fran\c{c}ais
%
\def\today{\ifnum\day=1\relax 1\raisebox{0.6ex}{\small er}
\else \number\day\fi
\space\ifcase\month\or
janvier\or \f\'{e}vrier\or mars\or avril\or
mai\or juin\or juillet\or ao\^{u}t\or
septembre\or octobre\or novembre\or d\'{e}cembre\fi
\space\number\year}
%
% les ensembles classiques
%
\def\N{\mbox{I\hspace{-0.11em}N}}
\def\Z{\mbox{Z\hspace{-0.35em}Z}}
\def\Q{\mbox{l\hspace{-0.43em}Q}}
\def\R{\mbox{l\hspace{-0.11em}R}}
\def\C{\mbox{l\hspace{-0.48em}C}}
\def\H{\mbox{l\hspace{-0.43em}H}}
\def\Oo{\mbox{l\hspace{-0.43em}O}}
\def\bidng{\ensuremath{[\hspace{-0.45em}[}}
\def\bidnd{\ensuremath{]\hspace{-0.45em}]}}
%
% quelques symboles utitles
%
\def\bs{\texttt{\symbol{'134}}}      % backslash
\def\dz{\texttt{\symbol{'043}}}      % di\`{e}se
\def\tl{\texttt{\symbol{'176}}}      % tilde
\def\fdd{\ensuremath{\diamondsuit}}
\def\Diamond{\ensuremath{\bullet}}
%
% (gH) quelques macros utiles
%
\newcommand{\ghm}[2]{\bs\textit{#1}\{\texttt{#2}\}}
\newcommand{\cmd}[1]{\bs\texttt{#1}}
\newcommand{\gra}[1]{\textbf{#1}}
\newcommand{\ita}[1]{\textit{#1}}
\newcommand{\cmt}[1]{}
\newcommand{\soltit}[1]{\section*{Exercices du chapitre #1}}
\def\contentsname{Table des mati\`{e}res}%
\def\chaptername{Chapitre }%
\renewcommand{\thechapter}{\arabic{chapter}.}
\renewcommand{\thesection}{\arabic{chapter}.\arabic{section}}
\renewcommand{\thesubsection}{\arabic{chapter}.\arabic{section}.\arabic{subsection}}
%\newcommand{\MakeUppercase}[1]{#1}
%
% macros pour le fichier stat
\def\vas{variables al\'{e}atoires}
\def\va{variable al\'{e}atoire}
\def\vad{variable al\'{e}atoire discr\`{e}te}
\def\vac{variable al\'{e}atoire continue}
\def\bnp{\ensuremath{{\mathcal{B}}(n,p)}}
\def\qt{variable quantitative}
\def\QT{variables quantitatives}
\def\ql{variable qualitative}
\def\qm{variable multi-r\'{e}ponses}
\def\QL{variables qualitatives}
\def\QL{variables qualitatives}
\def\ED{\textsf{ED}}
\def\sol{\textsf{Solution :}}
%%%\usepackage{euler}
%\usepackage[latin1]{inputenc}
%\usepackage[theorem]
%\theorembodyfont{\normalfont}
%\theoremstyle{break}
%
%
\newfont{\tregros}{cmss17 scaled\magstep5}
\newfont{\Fr}{eufm10 scaled\magstep5}
\newfont{\Bb}{msbm10 scaled\magstep5}
% fin des d\'{e}finitions dans le pr\'{e}ambule de rapm
