\textheight = 180mm \textwidth  = 120mm \oddsidemargin = 0mm
\evensidemargin= -12mm \topmargin     = -5mm
\parindent = 10mm
\pagestyle{myheadings}
\def\arraystrecht{1.2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[english]{babel}
%\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{graphicx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\author#1{\def\theauthor{#1}}
\def\autor#1{\def\theauthor{#1}}
\def\title#1{\def\thetitle{#1}\markboth{#1}{}}
\def\titulo#1{\def\thetitle{#1}\markboth{#1}{}}
\def\direccion#1{\def\theaddress{#1}}
\def\address#1{\def\theaddress{#1}}

\def\Title{\begin{center}
{\Large\bf \thetitle}\vspace*{0.25cm}\par{\large \it \theauthor}\par{\theaddress}
\end{center}\addcontentsline{toc}{chapter}{\thetitle\ {\em \theauthor}\hfill}}
\def\@oddfoot{\noindent\begin{tabular*}{\textwidth}{lr}\hline
\footnotesize 15th European Young Statisticians Meeting&\footnotesize \hspace*{2.5cm}15thEYSM\\
\footnotesize September 10-14, 2007&\footnotesize
\hspace*{2.5cm}Castro Urdiales (Spain)\end{tabular*}}
\def\@evenfoot{\noindent\begin{tabular*}{\textwidth}{lr}\hline
\footnotesize 15th European Young Statisticians Meeting&\footnotesize \hspace*{2.5cm}15thEYSM\\
\footnotesize September 10-14, 2007&\footnotesize
\hspace*{2.5cm}Castro Urdiales (Spain)\end{tabular*}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\keywords#1{\par\noindent{\bf Keywords: }#1\par}
\def\AMS#1{\par\noindent{\bf AMS: }#1\par}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength\abovecaptionskip{0pt} %10pt
\setlength\belowcaptionskip{0pt}

\def\thechapter{\arabic{chapter}}
\def\chapter#1
     {
     \markboth{}{}
     \cleardoublepage
     \thispagestyle{empty}
     \begin{center}
     {
     \large\bf
     \refstepcounter{chapter}
     \vspace*{38mm}
     \chaptername\ \thechapter\\
     \vspace{6mm}
     #1
     \addcontentsline{toc}{chapter}{\thechapter $\qquad$ #1\dotfill}
     \markboth{\ \ \ \chaptername\ \thechapter.\ #1\hfill}{}
     }
     \end{center}
     }

\def\section#1
     {
     \refstepcounter{section}
     \def\thesection{\arabic{section}}
     \par
     \goodbreak
        {
        \raggedright\vspace*{0.25cm}
     \bf {\large\bf \thesection.} \large\bf #1
        \vspace*{0.1cm}\par\nopagebreak
        }
     }

\def\marksection#1#2
     {
     \refstepcounter{section}
     \def\thesection{\arabic{section}}
     \par
     \goodbreak
        {
        \raggedright
     \bf \makebox[10mm][l]{\bf \thesection.} #1
        \par\nopagebreak
        }
     \addcontentsline{toc}{section}{$\qquad$\thesection.\ \ #1}
     \markright{\hfill\thechapter.\thesection\ #2\ \ \ }
     }

\def\subsection#1
     {
     \refstepcounter{subsection}
     \def\thesubsection{\arabic{subsection}}
     \par
     \goodbreak
        {
        \raggedright
     \bf \makebox[10mm][l]{\bf \thesection.\thesubsection.} #1
        \par\nopagebreak
        }
     }

\def\subsubsection#1
     {
     \refstepcounter{subsubsection}
     \def\thesubsubsection{\arabic{subsubsection}}
     \par
     \goodbreak
        {
        \raggedright
     \bf \makebox[10mm][l]{\bf \thesection.\thesubsection.\thesubsubsection.}
#1
        \par\nopagebreak
        }
     }

\def\thebibliography#1{\section{\bibname}
\list
  {\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}%
    \leftmargin\labelwidth
    \advance\leftmargin\labelsep
    \usecounter{enumiv}%
    \let\p@enumiv\@empty
    \def\theenumiv{\arabic{enumiv}}}%
    \def\newblock{\hskip .11em plus.33em minus.07em}%
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=\@m}

\def\endthebibliography{%
  \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
  \endlist}
\newcommand{\summary}{\par\begin{center}{ {\bf Abstract}}\end{center}}

\newcommand{\acknowledgements}{\par{\vspace*{1cm}\noindent\bf Acknowledgements:\hspace{0.4cm}}}


\def\email#1{\def\theemail{#1}}
