\input{mes_packages.sty}

\input{mes_defs.sty}

%% Titres selon package : titlesec
\titleformat{\chapter}[display]
	{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}
%%	{\normalfont\Large\bfseries}{\thesection}{1em}{}
	{\sffamily\Large\bfseries}{\thesection.}{1em}{}
\titleformat{\subsection}
%	{\normalfont\large\bfseries}{\thesubsection}{1em}{}
	{\sffamily\large\bfseries}{\thesection.\thesubsection.}{1em}{}
\titleformat{\subsubsection}
%	{\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
	{\sffamily\normalsize\bfseries\itshape}{\thesubsubsection.}{1em}{}
\titleformat{\paragraph}[runin]
	{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titleformat{\subparagraph}[runin]
	{\normalfont\normalsize\bfseries}{\thesubparagraph}{1em}{}
\titlespacing*{\chapter} {0pt}{50pt}{40pt}
%\titlespacing*{\section} {0pt}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
\titlespacing*{\subsection} {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\titlespacing*{\subsubsection}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\titlespacing*{\paragraph} {0pt}{3.25ex plus 1ex minus .2ex}{1em}
\titlespacing*{\subparagraph} {\parindent}{3.25ex plus 1ex minus .2ex}{1em}

%%\titleformat{\subsection}{}{}{5pt}{\large\bfseries \thesection~~~}{} 
%%\titleformat{\subsection}{}{}{5pt}{\large\bfseries }{} 
%%\titleformat{\subsection}{}{}{5pt}{\large\bfseries \thesubsection~~~}{} 
%%\titleformat{\subsection}{}{}{5pt}{\large\bfseries }{} 
%\titleformat{\section}{}{}{5pt}{\Large \sffamily \bfseries\thesection.~~~}{} 
%%\titleformat{\subsection}{}{}{5pt}{\large\sffamily\bfseries \thesubsection.~~~}{} 
%\titleformat{\subsubsection}{}{}{5pt}{\normalsize \sffamily \bfseries \thesubsubsection~~~}{} 

%% Style numérotation 
% Titres
\renewcommand*\thesection{\Roman{section}}
%\renewcommand*\thesubsection{\thesection.\arabic{subsection}}
\renewcommand*\thesubsection{\arabic{subsection}}
\renewcommand*\thesubsubsection{\alph{subsubsection}}

% Listes numérotées
\renewcommand{\theenumi}{\textbf{\arabic{enumi}.}}
\renewcommand{\labelenumi}{\theenumi}
\renewcommand{\theenumii}{\textbf{\alph{enumii})}}
\renewcommand{\labelenumii}{\theenumii}

%%%%%%%%%%% MISE EN PAGE %%%%%%%%%%%%
\geometry{verbose,tmargin=2.3cm,bmargin=1.5cm,lmargin=1.8cm,rmargin=1.8cm,headheight=2.3cm,headsep=1cm,footskip=0.7cm}

%%%%%%%  FONTES avec caractères Maths - cf http://cuk.ch/articles/4237 %%%%%%%
\usepackage{lmodern} % pour les accents, ou sinon cm-super doit être installé
%%
%\usepackage{fourier} % ou \usepackage{fouriernc} avec New Century Schoolbook en texte
%\usepackage[scaled=0.875]{helvet}
%\usepackage{courier}
%%
%\usepackage{mathpazo}
%\usepackage[scaled=0.95]{helvet}
%\usepackage{courier}
%%
%\usepackage{txfonts}
%%
%\usepackage{pxfonts}
%%
%\usepackage[utopia]{mathdesign}
%%
%\usepackage{kpfonts}
%%
%\usepackage{cmbright} % Utile pour Beamer
%%
%\usepackage{lxfonts} % Utile pour Beamer
%%%%%%%%  Fontes particulières (non maths) - cf http://cuk.ch/articles/4237 %%%%%%%
%\usepackage{chancery} % Cursive
%\usepackage{frcursive} % Cursives françaises dans \begin{cursive} et \end{cursive}
%%
%\usepackage{marvosym} % Symboles divers

%\usepackage{palatino}

%%%%%%%%%%% ENTETES et PIED %%%%%%%%%%%%
\pagestyle{fancy}
\chead{}
\rhead{\small A. MARTIN}
\lhead{\small PCSI 1 - Stanislas}
