\usepackage[usenames,dvipsnames]{color}% provides \textcolor
\usepackage{xspace}% provides \xspace
\usepackage{ulem}% provides \sout

% MATH

\newenvironment{Math}[1][l]%
{\begin{quote}\begin{math}\begin{array}{#1}}
{\end{array}\end{math}\end{quote}}

\newenvironment{Math*}[1][l]%
{\[\begin{array}{#1}}
{\end{array}\]}

% SUIVI DE MODIFICATIONS 

\newcommand\MOD[1]{\textcolor{blue}{#1}}
\newcommand\OLD[1]{\textcolor{Gray}{\sout{#1}}\xspace}
\newcommand\DEL[1]{\textcolor{Gray}{#1}\xspace}
\newcommand\TODO[1]{\textcolor{magenta}{#1}}
\newcommand\MARG[1]{\marginpar{\textcolor{SkyBlue}{#1}}}
% -- décommentez la ligne suivante pour la version finale --
%\renewcommand\MOD[1]{#1}\renewcommand\OLD[1]{}\renewcommand\DEL[1]{}\renewcommand\TODO[1]{}\renewcommand\MARG[1]{}


% CODE

\DefineVerbatimEnvironment
 {code}{Verbatim}
 {commandchars=\\\{\},fontsize=\small,numbers=left,frame=single}

\newcommand\camlMode{
\lstset{%
 language=[light]Caml,
 literate={->}{{$\rightarrow\;$}}1{;;}{{$;\!;$}}1,
 basicstyle=\small\ttfamily, 
 keywordstyle=\color{blue}\sffamily\bfseries,
 commentstyle=\color{gray}, 
 stringstyle=\ttfamily, 
 showstringspaces=true,
 numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt, firstnumber=last,
 frame=single, frameround=tftf,
 }}

% SYMBOLES
% O
\newcommand\op{\odot}
% T
\newcommand\Type[1]{\textcolor{blue}{\textit{#1}}}
% V
\newcommand\vs{\textit{versus}\xspace}