\documentclass[10pt,a4paper]{article}

\usepackage{fancyhdr,amsmath,amsfonts}
\usepackage{graphicx}
\usepackage{pstricks}
\usepackage{bm}

\pagestyle{fancyplain}



%\definecolor{lg}{gray}{.75}

\newcommand{\coddate}{{\small \today}}
\newcommand{\sheweek}{}
\newcommand{\xra}{\xrightarrow }
\newcommand{\lra}{\longrightarrow }
\newcommand{\bks}{$\backslash$}

\newcommand{\mat}[1]{\mbox{\boldmath{$#1$}}}
\newcommand{\ftt}[1]{\fbox{{\tt #1}}}
\newcommand{\dd}[2]{\frac{\partial #1}{\partial #2}}

\newcommand{\eps}{\varepsilon}
\newcommand{\var}{{\rm Var}}
\newcommand{\cov}{{\rm Cov}}
\newcommand{\corr}{{\rm Corr}}
\newcommand{\nid}{{\rm NID}}
\newcommand{\diag}{{\rm diag}}

\newcommand{\Exp}{{\rm Exp}}
\newcommand{\bin}{{\rm Bin}}
\newcommand{\pois}{{\rm Pois}}
\newcommand{\gam}{{\rm Gamma}}
\newcommand{\bet}{{\rm Beta}}

\newcommand{\mX}{\mathbf{X}}
\newcommand{\mx}{\mathbf{x}}
\newcommand{\mY}{\mathbf{Y}}
\newcommand{\my}{\mathbf{y}}
\newcommand{\mSig}{\mathbf{\Sigma}}
\newcommand{\mmu}{\boldsymbol{\mu}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}

\newcommand{\vS}{\vspace{-0.2cm}}

\lfoot[\fancyplain{\coddate}{\coddate}]{\fancyplain{\coddate}{\coddate}}
\rfoot[\fancyplain{\small\copyright M. Knott 2006}{\small\copyright
M. Knott 2006}]
      {\fancyplain{\small\copyright M. Knott 2006}{\small\copyright
       M. Knott 2006}}
\lhead[\fancyplain{ST402 Principles and Methods}{ST402 Principles
and Methods}]
      {\fancyplain{ST402 Principles and Methods}{ST402 Principles and Methods}}
\rhead[\fancyplain{\sheweek}{\sheweek}]{\fancyplain{\sheweek}{\sheweek}}


\setlength{\topmargin}{-1cm} \setlength{\headheight}{0.7cm}
\setlength{\headwidth}{16cm} \setlength{\headsep}{0.8cm}

\setlength{\textheight}{23.5cm} \setlength{\textwidth}{16cm}
\setlength{\oddsidemargin}{0.0cm} \setlength{\evensidemargin}{0.0cm}

\renewcommand{\baselinestretch}{1.2}
\setlength{\parindent}{0pt} \setlength{\parskip}{6pt}

\input{aliases}

%\includeonly{introduction}
%\includeonly{mle}
%\includeonly{test}
%\includeonly{intervalE}
\includeonly{expfamily}
\begin{document}
\setcounter{page}{24}
\include{introduction}
\include{mle}
\include{test}
\include{intervalE}
\include{expfamily}
\end{document}
