\input{annales_QCM.sty}
\usepackage{textcomp}

        % Interdire les coupures dans les formules de maths.
     \relpenalty=10000%
     \binoppenalty=10000%
                

\usepackage{lastpage}

%\setmarginsrb{30mm}{20mm}{30mm}{15mm}{12pt}{11mm}{0pt}{11mm}

%\setmarginsrb{10mm}{10mm}{10mm}{5mm}{12pt}{11mm}{0pt}{11mm}   

%\setlength{\headheight}{15.40pt}%% put 14.13pt for a 11pt text
                                %% put 12pt    for a 10pt text
                                %% put 15.4pt  for a 12pt text

\pagestyle{empty}
\pagestyle{fancy}
\lhead[]{}
\chead[\footnotesize\LeTitreCourant]{\footnotesize\LeTitreCourant}
\rhead[\thepage$/$\pageref{LastPage}]{\thepage$/$\pageref{LastPage}}
\lfoot[]{}
\cfoot[]{}
\rfoot[]{}

\usepackage{titlesec}

%\titleformat{\section}[frame]{%
%	\titleline[r]{\rule{2in}{2pt}}%
%	\normalfont}%
%    {\filright\small\ Partie~\thesection\ \hfill }{7pt}%
%    {\LARGE\bfseries\filcenter}{}

\titleformat{\section}[hang]{%
    \normalfont}%
    {\large\bfseries\thesection.\ }{0pt}%
    {\large\bfseries}{}
                    

\renewcommand{\thesection}{\Roman{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\newcommand{\ts}{\thesection}

\newcommand{\citep}[1]{\relax}

\renewcommand{\theenumii}{\alph{enumii}}
\renewcommand{\labelenumii}{\theenumii)}

\usepackage{pifont}
\newcommand{\findechapitre}[1][\ding{166}]{%
  \begin{center}
    \vspace{0.5cm}
    {\Large #1}
    \vspace{0.5cm}
  \end{center}}

\renewcommand{\Titre}{
    \begin{center}
    {\shadowbox{\sc\LARGE \LeTitre}}
    \end{center}
   % \vskip 1 cm
    }

\renewcommand{\titre}[2][]{%
    \ifthenelse{\equal{#1}{}}{%
        \renewcommand{\LeTitreCourant}{#2}%
    }{%
        \renewcommand{\LeTitreCourant}{#1}%
    }%
    \renewcommand{\LeTitre}{#2}%
    %\laius
    \Titre%
    \CentersOnPage
    \stepcounter{Corrige}%   % pour \centersnumero
    }

\newcommand{\centrefigure}[1]{%
	\centers{\epsfig{file=#1}}
	}

\newcommand{\picturefigure}[3][1]{%
    \begin{picture}(0,0)%
    \ifthenelse{\equal{#1}{1}}{\relax}{\reperes}%
    \put(#2){\epsfig{file=#3}}%
    \end{picture}%
    }

%% Pour les �nonc�s et les corriges

\newcommand{\correction}[1]{\relax}
\newcommand{\exercice}[1]{#1}

%% Autres raccourcis

\newcommand{\vag}[1]{\overline{#1}}
\newcommand{\inv}[1]{\f{1}{#1}}
\newcommand{\co}[1]{\underline{#1}}
\newcommand{\ub}[1]{\underline{\textbf{#1}}}
\newcommand{\devt}[1]{\f{ d {#1}}{\dt}}
