\documentclass[a4paper,12pt,french,twoside]{report}

  
  \usepackage[utf8]{inputenc}
  \usepackage{pifont}


  \usepackage{PresentationArticle}   %Paquet perso
  \usepackage{Commandes}      %Paquet perso
  \usepackage{fourier}
  \usepackage{graphicx}
  \usepackage{ifpdf}
    \ifpdf
      \DeclareGraphicsRule{*}{mps}{*}{}
    \fi
  \usepackage{emp}
  
  \usepackage[output-decimal-marker={,}]{siunitx}

  \usepackage[official,right]{eurosym}
  \usepackage{babel}
     \frenchbsetup{SuppressWarning,CompactItemize=false}
     \DecimalMathComma

  \usepackage[%
              pdftitle={Cours de mathématiques de première S},%
              pdfauthor={O. Péault},%
              ]{hyperref}


\newcommand{\chapformat}[1]{%
    \ifnum\value{chapter}>0
        \color{LFBcouleur5}
        \rotatebox{90}{\footnotesize \chaptertitlename}
        {\fontsize{60}{60}\selectfont\thechapter}%
        \quad\rule[-6pt]{2pt}{50pt}\hspace{2cm}
    \fi
     \parbox[b]{0.7\textwidth}{\Huge\bfseries #1}
     \par
     \noindent{\color{LFBcouleur3}\rule{\linewidth}{1ex}}}

\titleformat{\chapter}[block]{}{}{0pt}{\chapformat}

\titlespacing*{\chapter}{0pt}{-40pt}{*10}

\renewcommand{\chaptermark}[1]{\markboth{#1}{}}

\makeatletter
\renewcommand{\op@titre}{\leftmark}
\makeatother

\includeonly{Fonctions/Fonctions_inc}

\begin{document}
% \titre{Polynômes du second degré}
 \classe{\prems}
 \typedoc{Cours}{1}
 
 
\begin{empfile}

\begin{empcmds}
    input latexmp;
    input repere;
\end{empcmds}

\include{SecondDegre/SecondDegre_inc}

\include{Fonctions/Fonctions_inc}

\end{empfile}
\end{document}
