		% 1. Logo

\def\lmi{
\setlength{\unitlength}{0.11mm}
\begin{picture}(220,164)(-360,498)
  \put(-360,500){\begin{picture}(160,160) %% L %%
    \put(80,20){\oval(160,40)[b]}
    \put(80,20){\oval(160,40)[tr]}
    \put(20,80){\oval(40,160)[l]}
    \put(20,80){\oval(40,160)[tr]}
    \put(52,80){\oval(24,80)[bl]}
    \put(80,52){\oval(80,24)[bl]}
  \end{picture}}
    \put(-300,560){\begin{picture}(100,100) %% M %%
    \put(50,80){\oval(100,40)[t]}
    \put(20,50){\oval(40,100)[l]}
    \put(20,50){\oval(40,100)[br]}
    \put(80,50){\oval(40,100)[bl]}
    \put(80,50){\oval(40,100)[r]}
    \put(50,40){\oval(20,35)[t]}
  \end{picture}}
  \put(-180,500){\begin{picture}(40,160) %% I %%
    \put(20,50){\oval(40,100)}
    \put(20,140){\circle{40}}
  \end{picture}}
\end{picture}}

\def\LMI{
\setlength{\unitlength}{0.11mm}
\begin{picture}(636,322)(-226,304)
  \put(392,308){\begin{picture}(16,298)
    \put(14,0){\thicklines\line(0,1){282}}
    \put(12,2){\thicklines\line(0,1){282}}
    \put(8,288){\thicklines\line(0,-1){282}}
    \put(10,286){\thicklines\line(0,-1){282}}
    \put(6,290){\thicklines\line(0,-1){282}}
    \put(4,292){\thicklines\line(0,-1){282}}
  \end{picture}}
  \put(-202,306){\begin{picture}(610,14)
    \put(12,2){\thicklines\line(1,0){596}}
    \put(10,4){\thicklines\line(1,0){596}}
    \put(8,6){\thicklines\line(1,0){596}}
    \put(6,8){\thicklines\line(1,0){596}}
    \put(4,10){\thicklines\line(1,0){596}}
    \put(598,12){\thicklines\line(-1,0){596}}
  \end{picture}}
  \put(60,434){\begin{picture}(268,124)
    \put(0,86){\Huge Licence}
    \put(0,6){\Huge Ma\^\i trise}
  \end{picture}}
  \put(-160,360){\Huge d'Informatique}
  \put(-200,420){\thicklines\line(0,-1){100}}
  \put(40,600){\thicklines\line(1,0){354}}
  \put(-240,460){\small \lmi}
\end{picture}}

\def\LMIBxt{\LMIBxx{[t]}}
\def\LMIBxb{\LMIBxx{[b]}}
\def\LMIBx{\LMIBxx{}}

\def\LMIBxx#1{\begin{minipage}#1{8.5cm}\LMI\par\kern-0.8mm
\noindent\Large\sl{}\kern1mmUniversit\'e Bordeaux I Nouvelle\end{minipage}}


% 2. Sigles LMI
 
\newcommand{\AM}{\mbox{\em AMp}}
\newcommand{\Am}{\mbox{Architecture et microprocesseurs}}
\newcommand{\AU}{\mbox{\em AU}}
\newcommand{\Au}{\mbox{Architecture Unix}}
\newcommand{\ASD}{\mbox{\em ASD}}
\newcommand{\Asd}{\mbox{Algorithmique et structures de donn\'ees}}
\newcommand{\BD}{\mbox{\em BD}}
\newcommand{\Bd}{\mbox{Bases de donn\'ees}}
\newcommand{\CC}{\mbox{\em C{\/\rm\&}C}}
\newcommand{\Cc}{\mbox{Calculabilit\'e et complexit\'e}}
\newcommand{\COMPOP}{\mbox{\em COMP$_{\mbox{\footnotesize\em OP}}$}}
\newcommand{\Compop}{\mbox{Compilation -- option}}
\newcommand{\COMPTC}{\mbox{\em COMP}}%--{\footnotesize\em TC}
\newcommand{\Comptc}{\mbox{Compilation}}
\newcommand{\COMP}{\mbox{\em COMP}}
\newcommand{\Comp}{\mbox{Compilation}}
\newcommand{\FEP}{\mbox{\em FEP}}
\newcommand{\Fep}{\mbox{Formation \`a l'environnement professionnel}}
\newcommand{\IN}{\mbox{\em IN}}
\newcommand{\In}{\mbox{Image num\'erique}}
\newcommand{\MTI}{\mbox{\em MTI}}
\newcommand{\Mti}{\mbox{Mise en {\oe}uvre des techniques informatiques}}
\newcommand{\MTP}{\mbox{\em MTP}}
\newcommand{\Mtp}{\mbox{Mod\`eles et techniques de programmation}}
\newcommand{\OMI}{\mbox{\em OMI}}
\newcommand{\Omi}{\mbox{Outils math\'ematiques pour l'informatique}}
\newcommand{\PLP}{\mbox{\em PLP}}
\newcommand{\Plp}{\mbox{Programmation et langages de programmation}}
\newcommand{\PL}{\mbox{\em PL}}
\newcommand{\Pl}{\mbox{Programmation et logique}}
\newcommand{\PP}{\mbox{\em PP}}
\newcommand{\Pp}{\mbox{Programmation parall\`ele}}
\newcommand{\RO}{\mbox{\em RO}}
\newcommand{\Ro}{\mbox{Recherche Op\'erationnelle}}
\newcommand{\SEOP}{\mbox{\em SE$_{\mbox{\footnotesize\em OP}}$}}%--{\footnotesize\em OP}
\newcommand{\Seop}{\mbox{Syst\`emes d'exploitation -- option}}
\newcommand{\SETC}{\mbox{\em SE}}%--{\footnotesize\em TC}
\newcommand{\Setc}{\mbox{Syst\`emes d'exploitation}}
\newcommand{\SE}{\mbox{\em SE}}
\newcommand{\Se}{\mbox{Syst\`emes d'exploitation}}
\newcommand{\SI}{\mbox{\em SI}}
\newcommand{\Si}{\mbox{Synth\`ese d'images}}
\newcommand{\STP}{\mbox{\em STP}}
\newcommand{\Stp}{\mbox{Synth\`ese et traduction de programmes}}
\newcommand{\TE}{\mbox{\em TE}}
\newcommand{\Te}{\mbox{Travaux d'\'etude recherche}}
\newcommand{\TER}{\mbox{\em TER}}
\newcommand{\Ter}{\mbox{Travaux d'\'etude et de recherche}}
\newcommand{\TI}{\mbox{\em TI}}
\newcommand{\Ti}{\mbox{T\'el\'einformatique}}
\newcommand{\TL}{\mbox{\em TdL}}
\newcommand{\Tl}{\mbox{Th\'eorie des langages}}
\newcommand{\USI}{\mbox{\em USI}}
\newcommand{\Usi}{\mbox{Utilisation des syst\`emes informatiques}}


\newcommand{\OPA}{\mbox{\em OP$_1$}}
\newcommand{\OPB}{\mbox{\em OP$_2$}}

\newcommand{\maitr}{ma\^{\i}trise}
\newcommand{\Maitr}{Ma\^{\i}trise}
\newcommand{\MAITR}{MA\^{I}TRISE}


% 3. Redefinition de titres

\def\deftitre#1#2{
    \def\@titretitre{#1}
    \def\@titrehead{#2}
}

\def\lmititre#1{\clearpage\noindent\LMI\begin{center}\LARGE\bf#1\end{center}}

\newlength{\lmilarg}

\def\titre#1[#2]{
  \noindent
  \lmi\hspace*{2mm}
  \setlength{\lmilarg}{\textwidth}
  \addtolength{\lmilarg}{-1.2in}
  \begin{minipage}{\lmilarg}
  \rule{\textwidth}{0.5mm}\\[2mm]
  {\bf  \@titretitre}\hfill\hspace*{-16pt}\mbox{\titrenum{#2}}
  \rule{\textwidth}{0.5mm}\vspace*{1.5cm}
  \end{minipage}
  \centerline{\begin{minipage}{\textwidth}\begin{center}{\huge\bf
#1\\[2mm]\large--\today--}\end{center}\end{minipage}}\vspace*{1cm}
}







