% Definition de commande pour les schemas de classe
%  Definition of template class \tcls{Vector} --> Vector<T>
\newcommand{\tcls}[1] {#1$<$T$>$}   
\newcommand{\tclsc}[2] {#1$<$#2$>$}   
%  Putting a class name in a box
\newcommand{\clsbox}[1] { \framebox[45mm][c]{\mbox{\rule[-1mm]{0mm}{5mm} \bf #1} } }
%  Emplty class box
\newcommand{\eclbox} { \makebox[45mm][c]{\mbox{\rule[-1mm]{0mm}{5mm}} } \ }
%  Length of \longleftarrow
\newlength{\arrclsw}   \settowidth{\arrclsw}{$\longleftarrow$}
%  One single class diagram
\newcommand{\dclsa}[1]{\clsbox{#1} \\[2mm]} 
%  two class diagram
\newcommand{\dclsbb}[2]{\clsbox{#1} $\longleftarrow$ \clsbox{#2} \\[2mm]}
%  two class diagram with one empty class (placeholder)
\newcommand{\dclsb}[1]{\eclbox $\longleftarrow$ \clsbox{#1} \\[2mm]}
%  three class diagram
\newcommand{\dclsccc}[3]{\clsbox{#1} $\longleftarrow$ 
	                 \clsbox{#2} $\longleftarrow$ \clsbox{#3} \\[2mm]}
%  three class diagram with one empty class (placeholder)
\newcommand{\dclscc}[2]{\eclbox $\longleftarrow$ \clsbox{#1} $\longleftarrow$ 
	                \clsbox{#2} \\[2mm]}
%  three class diagram with two empty classes (placeholder)
\newcommand{\dclsc}[1]{\eclbox \hspace{\arrclsw} \eclbox 
                       $\longleftarrow$ \clsbox{#1} \\[2mm]}

\newcommand{\bul}{$\bullet \ $}


% ---------- Commande pour la mise en forme de la page de titre ----------------

%  L'entete de page de titre
\newcommand{\titrehp}[1]
{
\vspace{1cm}
\makebox[160mm][c]{\includegraphics[width=8cm]{blue_sophya_400.eps}}
% \hspace{7mm} \raisebox{6mm}{\rule{100 mm}{0.5 mm} }
% \makebox[40 mm]{\bf Sophya }
\vspace{2cm}
\begin{center}
% \par \renewcommand{\baselinestretch}{2.0} \small 
{\LARGE \bf #1}
\end{center}
}

\newcommand{\auteurs}[1]
{
\vspace{3 cm}
\begin{center}
\begin{tabular}{ll}
#1
\end{tabular}
\end{center}
}

\newcommand{\auteursall}
{
\vspace{3 cm}
\begin{center}
\begin{tabular}{ll}
R. Ansari     &  ansari@lal.in2p3.fr       \\
E. Aubourg    &  aubourg@hep.saclay.cea.fr \\
G. Le Meur    &  lemeur@lal.in2p3.fr       \\
E. Lesquoy    &  lesquoy@hep.saclay.cea.fr \\
C. Magneville &  cmv@hep.saclay.cea.fr     \\
S. Versille   &  versille@lal.in2p3.fr     \\
F. Touze      &  touze@lal.in2p3.fr  
\end{tabular}
\end{center}
}

%  Bas de page de titre
\newcommand{\titrebp}[1]
{
\vfill
\hfill 
\framebox[\textwidth]{\hspace{0.5cm} \bf Sophya Note  #1 
\hspace{1cm} \today } \\
}



%  Definition de taille de page
\setlength{\textwidth}{16cm}
\setlength{\textheight}{21.5cm}
\setlength{\topmargin}{0.5cm}
\setlength{\oddsidemargin}{0.cm}
\setlength{\evensidemargin}{0.cm}
\setlength{\unitlength}{1mm}
