%
% header.tex
% $Id$
% $Source$
%
\documentclass[a4paper]{article}
\usepackage{fancyhdr}
\usepackage{layout, hhline}
%
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
%
\newcommand{\aquatre}{
	\setlength{\oddsidemargin}{0pt}
  	\setlength{\evensidemargin}{0.5cm}

	\setlength{\textwidth}{480pt}

  	\setlength{\topmargin}{0pt}
	\setlength{\textheight}{22cm}

  	\setlength{\headheight}{80pt}

	\setlength{\headsep}{15pt}
  	\setlength{\parindent}{1cm}
	\setlength{\parskip}{0.2cm}

	\setlength{\marginparwidth}{0pt}
	\setlength{\marginparsep}{0pt}
}
% Definitions des commandes
%
\cfoot{}
%
% Debut du document
%
\aquatre

%\lhead{\begin{tabular}{|p{9cm}p{6cm}}\textsf{{\LARGE Lolix SA}}
%&\\\textsf{8, rue de Valois} & \textsf{T\'el : +33 1 40 15 03 18}
%\\\textsf{75001 Paris} & \textsf{Fax : +33 1 40 15 06 18}
%\\\textsf{SIREN : 432073666} &\\\end{tabular}}

\lhead{\textsf{{\LARGE Lolix SA}}\\\textsf{8, rue de Valois} \\\textsf{75001 Paris}}
\chead{\textsf{T\'el : +33 1 40 15 03 18} \\ \textsf{Fax : +33 1 40 15 06 18} }

\lfoot{\textsf{Lolix SA 8, rue de Valois 75001 Paris SIREN : 432 073 666}}

\renewcommand{\headrulewidth}{1.0pt}
\pagestyle{fancy}
%
% Redefinition des font en type 1 (voir page 218)
%
\renewcommand{\sfdefault}{phv}
\renewcommand{\rmdefault}{ptm}
\renewcommand{\ttdefault}{pcr}
%
%
%
\begin{document}
%\layout
\begin{flushright}
\begin{tabular}{p{220pt}|p{220pt}|}
\hhline{~-}
Lolix SA                      & \\
R.C.S. : \textsf{Paris B 432 073 666}  & \textsf{\Large #SOCIETE#} \\
TVA : \textsf{FR19432073666}           & {\large #ADDRESS#} \\
                              & {\large #VILLE#} \\
& \\
\hhline{~-}
\end{tabular}
\end{flushright}

\begin{center}
\begin{tabular}{c}
\\
\\
\textsf{\textbf{\LARGE FACTURE}}
\\
\\
\end{tabular}
\end{center}

\begin{flushleft}

\begin{tabular}{p{9cm}p{6cm}}
\\
{\Large Facture num\'ero : \textbf{\textsf{#NUMFACTURE#}}} \\
\end{tabular}

\end{flushleft}

\large{}

\begin{flushright}

\begin{tabular}{|p{3cm}|p{9cm}|p{2cm}|p{2cm}|p{2cm}|}
\hline
\multicolumn{1}{|c|}{\textbf{R\'ef}} & 
\multicolumn{1}{|c|}{\textbf{D\'esignation}} &
\multicolumn{1}{|c|}{\textbf{Qt\'e}} & 
\multicolumn{1}{|r|}{\textbf{P.U.}} &
\multicolumn{1}{|r|}{\textbf{Total}} \\
\hline

