% PMSP notes
% MAIN FILE (JP edit)
%
\documentclass[10pt,a4paper]{article}

\usepackage{fancyhdr,amsmath,amsfonts}
\pagestyle{fancyplain}

%


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

\newcommand{\coddate}{{\small \today}}
\newcommand{\sheweek}{MT2006/2007 Exercise 1}
\newcommand{\xra}{\xrightarrow }
\newcommand{\lra}{\longrightarrow }
\newcommand{\bks}{$\backslash$}

\newcommand{\mat}[1]{\mbox{\boldmath{$#1$}}}
\newcommand{\ftt}[1]{\fbox{{\tt #1}}}

\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{\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}{1.5cm}

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

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

\newcommand{\bvv}[1]{\mathbf #1}
\def\bx{{\bvv x}}
\def\by{{\bvv y}}

\newcommand{\bLambda}{\boldsymbol{\Lambda}}
\newcommand{\bs}{\boldsymbol{\Sigma}}
\newcommand{\bsx}{\boldsymbol{\Sigma}_{xx}}
\newcommand{\bsy}{\boldsymbol{\Sigma}_{yy}}
\newcommand{\btheta}{\boldsymbol{\theta}}
\newcommand{\bmu}{\boldsymbol{\mu}}
\newcommand{\bmux}{\boldsymbol{\mu}_x}
\newcommand{\bmuy}{\boldsymbol{\mu}_y}
\newcommand{\bbeta}{\boldsymbol{\beta}}
\newcommand{\bepsilon}{\boldsymbol{\epsilon}}
\newcommand{\bb}{\bvv{b}}
\newcommand{\ba}{\bvv{a}}
\newcommand{\bc}{\bvv{c}}
\newcommand{\bA}{\bvv{A}}
\newcommand{\bB}{\bvv{B}}
\newcommand{\bI}{\bvv{I}}
\newcommand{\bC}{\bvv{C}}
\newcommand{\bP}{\bvv{P}}
\newcommand{\bT}{\bvv{T}}
\newcommand{\bU}{\bvv{U}}
\newcommand{\bV}{\bvv{V}}
\newcommand{\bQ}{\bvv{Q}}
\newcommand{\bX}{\bvv{X}}
\newcommand{\bY}{\bvv{Y}}
\newcommand{\bh}{\bvv{h}}
\newcommand{\bu}{\bvv{u}}
\newcommand{\bv}{\bvv{v}}
\newcommand{\bth}{\tilde{\bvv{h}}}
%\includeonly{pmspex1}
%\includeonly{pmspex2}
%\includeonly{pmspex3}
%\includeonly{pmspex4}
\begin{document}
\include{pmspex1}
\include{pmspex2}
\include{pmspex3}
\include{pmspex4}

\end{document}
