\input{mes_packages.sty}


\input{mes_defs.sty}
%
%
%% Pour l'optique:
%\newcommand{\ov}{\overline}
%% complexes
%\newcommand{\und}{\underline}
%% vecteurs
%\newcommand{\ovec}{\overrightarrow}
%
%% Dérivation
%\def\d					{{\rm d}}
%\def\deriv		#1#2{	{{\rm d}\mkern+1mu{#1}\over{\rm d}\mkern+1mu {#2}}}
%\def\dderiv		#1#2{	{{\rm d}^2\mkern+1mu{#1}\over{\rm d}\mkern+1mu {#2}^2}}
%\def\accolade#1{\left\{\begin{matrix}{#1}\end{matrix}\right.} %%%%%%%%%%%%%% écrire x=... \cr y=...\cr z=...
%
%%% Ecriture indice mode texte
%\newcommand{\e}[1]{_\mathrm{ #1}}
%
%% Compteur énumération
%\newcounter{Count}
%\newcommand{\setcountout}{\setcounter{Count}{\value{enumi}}}
%\newcommand{\setcountin}{\setcounter{enumi}{\value{Count}}}
%
%%% Mise-en-page: 
%\newcommand{\bmp}[1]{\begin{minipage}{{#1}\linewidth}}
%\newcommand{\emp}{\end{minipage}}
%% Remarques - Definitions
%\newcommand{\rmq}{\noindent {\sc Remarque~:~}\hangindent=1cm}
%\newcommand{\definition}{\noindent {\sc Définition~:~}\hangindent=1cm}
%
%% Aérer le tableau
%\renewcommand{\arraystretch}{1.45}
%%\setlength{\tabcolsep}{1cm}
%

%% 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}{\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 %%%%%%%%%%%%
%\usepackage[paper=a4paper,left=1.2cm,right=1.2cm,top=2.2cm,bottom=2.2cm,footskip=-1.2cm]{geometry} % Pour régler les marges
\geometry{verbose,tmargin=2.2cm,bmargin=2.2cm,lmargin=1.2cm,rmargin=1.2cm,footskip=-1.2cm}%,headheight=2.3cm,headsep=1cm,footskip=0.7cm}
\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,landscape] 

%%%%%%%  POLICE %%%%%%%
%%%%%%%  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}
