%%%%%%%%%%%%%%%%%%%%%%% pour bien g\'{e}rer les accents sais tels quels
\usepackage[latin1]{inputenc}
%%%%%%%%%%%%%%%%%%%%%%% s'il y a besoin d'ins\'{e}rer des graphiques
%\usepackage[dvips]{graphicx}
%%%%%%%%%%%%%%%%%%%%%%% si on \'{e}crit de smaths avec leqslant
\usepackage{amssymb}
%%%%%%%%%%%%%%%%%%%%%%% pour inclure des fichiers texte via \verbatiminput{ f }
%%%%%%%%%%%%%%%%%%%%%%% au lieu de \input f
\usepackage{verbatim}
\usepackage[french]{babel}
\usepackage{ifthen}
%%%%%%%%%%%%%%%%%%%%%%% j'aime bien avoir un point apr\`{e}s le num\'{e}ro de section
\renewcommand{\thesection}{\arabic{section}. }
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
%%%%%%%%%%%%%%%%%%%%%%% pour commenter facilement tout un block
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\usepackage{fancyhdr}
\makeatletter
\def\timenow{\@tempcnta\time
  \@tempcntb\@tempcnta
  \divide\@tempcntb60
  \ifnum10>\@tempcntb0\fi\number\@tempcntb
  \multiply\@tempcntb60
  \advance\@tempcnta-\@tempcntb
  \,:\,\ifnum10>\@tempcnta0\fi\number\@tempcnta}
\makeatother
\usepackage{lastpage}
\pagestyle{fancy}
\renewcommand{\headheight}{14.5pt}
\fancyhf{}
\renewcommand{\headrulewidth}{0.1pt}
\lhead{}
\chead{}
\rhead{}
%
\lfoot{}
\cfoot{\thepage}
\rfoot{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newcommand{\cmt}[1]{}
%%%%%%%%%%%%%%%%%%%%%%% pour \'{e}crire simplement backslash via \bs
\def\bs{\texttt{\symbol{'134}}}
%%%%%%%%%%%%%%%%%%%%%%% quelques jolis symboles en maths
\def\bidng{\ensuremath{[\hspace{-0.045em}[}}
\def\bidnd{\ensuremath{]\hspace{-0.45em}]}}
\def\N{\mbox{I\hspace{-0.11em}N}}
\def\R{\mbox{l\hspace{-0.11em}R}}
\def\updp{\hspace{1em}}
%%%%%%%%%%%%%%%%%%%%%%% pour red\'{e}finir les marges de paragraphes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parindent      0.0cm
\parskip        0.25cm
%% fin de document explicite
\def\fdc{
\begin{center}
\rule[1mm]{1cm}{0.1mm}
\hspace{0.5cm}
\textsc{fin de document}
\hspace{0.5cm}
\rule[1mm]{1cm}{0.1mm}
\end{center}
}% fin de fdc
