\ProvidesPackage{mrfr}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage{setspace}
\usepackage{times}
\usepackage{url}
\usepackage{fullpage}
\usepackage{wrapfig}
\usepackage[francais]{babel}
\usepackage[pdftex]{graphicx}
\usepackage[utf8]{inputenc}
\relax
\doublespacing
%% Save the old spacing between paragraphs for the title page
\newlength{\oldparskip}
\setlength\oldparskip{\parskip}
%% Set the spacing for the rest of the document to 4.0 pica
\setlength{\parskip}{4.0pc plus 1.0pc minus 0.5pc}
\pagestyle{fancy}
\fancyhf{} % clear the header and footer fields
\ProcessOptions
%\fancyhead[L]{\@cours}
%\fancyhead[R]{\@titretravail}
%\fancyhead{}
%\fancyfoot[L]{Le \@remise}
\fancyfoot{}
\fancyfoot[L]{\@auteur}
\fancyfoot[R]{\thepage}
%\renewcommand{\footrulewidth}{0.6pt}
\newcommand{\titre}[1]{\gdef\@titre{#1}}
\newcommand{\auteur}[1]{\gdef\@auteur{#1}}
\newcommand{\cours}[1]{\gdef\@cours{#1}}
\newcommand{\cote}[1]{\gdef\@cote{#1}}
\newcommand{\type}[1]{\gdef\@type{#1}}
\newcommand{\prof}[1]{\gdef\@prof{#1}}
\newcommand{\remise}[1]{\gdef\@remise{#1}}
\renewcommand{\maketitle}[1]{
\begin{titlepage}
\singlespacing
\setlength\parskip{\oldparskip}
\thispagestyle{empty}
\begin{center}
\bf
\MakeUppercase{\@titre}
\vspace*{4.0cm}
par\\
\@auteur
\vspace*{4.5cm}
Cours de \MakeUppercase{\@cours} \space \MakeUppercase{\@cote} \\
( \@cours \space 10\up{ième} année \@type )
\vspace*{4.5cm}
Travail presente à \@prof
\vspace*{4.0cm}
ÉCOLE SECONDAIRE CATHOLIQUE MARIE-RIVIER\\
Le \@remise
\end{center}
\vfill
\setlength{\parskip}{4.0pc}
\newpage
\pagestyle{fancy}
\end{titlepage}
}