% $Id: estas.sty,v 1.1 2003/09/04 09:28:54 gmariano Exp $

% Petit style pour factoriser les réglages communs (ESTAS)

% Contexte d'utilisation :
% \documentclass[11pt,a4paper,twoside,draft]{article}

% Contacter Georges Mariano (georges.mariano@inrets.fr)

\usepackage[T1]{fontenc}

\usepackage[latin1]{inputenc}

\usepackage[french]{minitoc}

\usepackage{fullpage}

%\usepackage{hevea}
\RequirePackage{hevea}

\RequirePackage[dvips]{graphicx}

\RequirePackage[frenchb]{babel}
                                % TYPO / FORMAT
\RequirePackage{fancyhdr}
                                % FONTS
\RequirePackage{pslatex}

%\usepackage{times}
                                % MATH

                                %\usepackage{latexsym}
                                %\usepackage{amsfonts}

                                %\usepackage{amsmath}
                                %\usepackage{amssymb}
                                %\usepackage{amsfonts}


                                % AUXILIAIRE
\usepackage{makeidx}

                                % PAGE
%% Un style de page 'estas'
%% à utiliser par \pagestyle{estas}

\newcommand{\estastype}{Rapport}

\fancypagestyle{estas}{
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0.2pt}
\fancyhead{}
%\fancyfoot{}
\fancyhead[RO]{\nouppercase{\rightmark{}}}
\fancyhead[LE]{\nouppercase{\leftmark{}}}
\fancyhead[LO,RE]{\author{}}
\fancyfoot[C]{%
\ensuremath{\diamond} 
%\textbf{debian-user-french-faq}
%\small{\projet}
\estastype{}
\ensuremath{\diamond}
}
\fancyfoot[LE,RO]{\thepage}
\fancyfoot[LO,RE]{\number\day-\number\month-\number\year}
}

\newenvironment{mg}[1]{%
\noindent{}MG \textsl{#1}
\hrule%
}{%
\hrule%
\smallskip{}
}
