\newif\ifpdf
\pdffalse
\@ifundefined{pdfoutput}{\message{-- no pdf -- }}{
    \ifcase\pdfoutput
    \message{-- no  pdf -- }
    \else
    \pdftrue
    \message{--  ++ pdf -- }
    \fi}

\ifpdf
\usepackage{pdfsync}
\fi

%% LaTeX Preamble - Font choices
%% Each block selects new math, roman (serif), sans serif, and typewriter fonts.
%% Delete or comment out all but one to make your choice.

% Times for rm and math | Helvetica for ss | Courier for tt
\usepackage{mathptmx} % rm & math
\usepackage[scaled=0.90]{helvet} % ss
\usepackage{courier} % tt
\normalfont
\usepackage[T1]{fontenc}

%% END Font choices
\usepackage{url}

\usepackage{graphicx} 
\usepackage{color} 

\def\textRed{\color{red}}
\def\textBlack{\color{black}}
\def\textBlue{\color{blue}}
\def\Blue#1{{\color{blue}{#1}}}
\def\Red#1{{\color{red}{#1}}}
\def\Green#1{{\color{green}{#1}}}

\usepackage[frenchb]{babel} 
\usepackage[utf8]{inputenc} %% problemes d'accents
%\usepackage{hyperref}         %% links dans le dvi
\usepackage{amsfonts}         %% math fonts
\usepackage{mathrsfs}         %% math fonts
\usepackage{FFF} 


 \topmargin=-0.5in 
 \textheight=24cm
 \oddsidemargin=0in 
%\evensidemargin=-.5in
 \textwidth=16.5cm 
\def\rightenv{13.2cm}

\def\R{\mathrm{I\!R}}

\newtheorem{theorem}{Théorème}
\newtheorem{algoxxx}{\bf Algorithme}
\newenvironment{Algo}%
{
\begin{algoxxx}\hfill \begin{tabular}{||l}
\begin{minipage}[h]{\rightenv} }%
{ \end{minipage} \end{tabular}\end{algoxxx}}
\def\Vec#1{\overrightarrow{#1}}  