\input amstex
% FILENAME: MACROS.TEX 
  %%TYPE SIZES
\font\fourteenrm=cmr10 scaled\magstep2
\font\fourteenbf=cmbx10 scaled\magstep2
\font\fourteenit=cmti10 scaled\magstep2

\font\twelverm=cmr12
\font\twelvebf=cmbx12
\font\twelveit=cmti12

\font\tenrm=cmr10 scaled\magstep0
\font\tenbf=cmbx10 scaled\magstep0
\font\tenit=cmti10 scaled\magstep0

\font\eightrm=cmr8 
\font\eightbf=cmbx8
\font\eightit=cmti8
\font\eighttt=cmtt8

\def\bigtype{\let\rm=\fourteenrm \let\bf=\fourteenbf
  \let\it=\fourteenit   
  \rm}
\def\medtype{\let\rm=\twelverm \let\bf=\twelvebf
  \let\it=\twelveit
  \rm}
\def\normal{\let\rm=\tenrm \let\bf=\tenbf
  \let\it=\tenit
  \rm} 
\def\smalltype{\let\rm=\eightrm \let\bf=\eightbf
  \let\it=\eightit 
  \rm}

  %%SPACINGS
\def\bigb{\bigskip\noindent}
\def\med{\medskip\noindent}
\def\nl{\hfil\break}

  %%FORMATTING
\def\cl {\centerline}
\def\i {\item}
\def\ii {\itemitem}

  %%TODAY'S DATE
\def\today{\medtype\noindent\number\day 
\space\ifcase\month\or
  January\or February\or March\or April\or May\or June\or
  July\or August\or September\or October\or 
  November\or December\fi
  \space\number\year}

  %%MATHS
\input amssym 
\loadbold
\def\no#1{\bigbreak\flushpar \hbox to .9cm{\bf #1\hfil}\quad\ignorespaces}

\def\var{{\hbox{\rm var}\,}}
\def\o{\hbox{\rm o}}
\hsize=6.25truein \vsize=9.35truein
  %%Open
\def\P {{\Bbb P}} \def\E {{\Bbb E}} \def\Q {{\Bbb Q}}
\def\R {{\Bbb R}} \def\N {{\Bbb N}} \def\Z {{\Bbb Z}}
  %%Script
\def\sE {{\Cal E}} \def\sG {{\Cal G}} \def\A {{\Cal A}}
\def\sR {{\Cal R}} \def\sB {{\Cal B}} \def\sF{{\Cal F}}
  %%Greek
\def\a {\alpha} \def\b {\beta} \def\g {\gamma} 
\def \d {\delta} 
\def\e {\epsilon} \def \f {\phi}
\def\s {\sigma} \def\t {\theta} \def\om {\omega}
\def\T {\text} \def\L {\Lambda} \def\G {\Gamma}
%\def\var {\varepsilon}    
  %%Maths
\def\la {\langle} 
\def\ra {\rangle} 
\def\pd {\partial}
\def \spec {\buildrel d+\delta \over \longrightarrow}
\def\rowd#1#2{#1_1,\ldots,#1_#2}
\def\browd#1#2{(#1_1,\ldots,#1_#2)}
\def\rowu#1#2{#1^1,\ldots,#1^#2}
\def\browu#1#2{(#1^1,\ldots,#1^#2)}
\def\permd#1#2#3#4{(#1_{#2(#3)},\ldots,#1_{#2(#4)})}
\def\norm#1{\Vert #1 \Vert}
\def\tens {\otimes\ldots\otimes}
\def\ext {\wedge \ldots\wedge}
\def\lline {\line {\hskip 1truein\leaders
    \hrule\hfill\hskip 1truein}}
\def \imp {\q\Rightarrow\q}
\def\less {\setminus} 
\def\emp {\emptyset} 
\def\q {\quad} \def\qq {\qquad}

  %%Fractions
\def \half {\frac12} 
\def \third {\frac13}
\def \quarter {\frac14}
\def \fifth {\frac15}
\def \sixth {\frac16}
\def\twothirds{\frac23}
\def\fivesixths{\frac56}
\def\twelfth{\frac1{12}}

\def \bdot {\ii{$\bullet$}}
\def \nb {$\blacktriangleright$} 
\def \qed {\hfill$\square$\nl}
%
\def\startsection #1{\noindent\hbox to\parindent{#1\hfil}}
%
%\parindent=30pt
%
  %%Footline (example)
%\countdef\chapno=28
\footline={\eightrm \folio\hfil Comments for supervisors 
  available from {\eighttt lab{\@}statslab.cam.ac.uk}}
    
\def\seq#1{{#1}_1, {#1}_2,\dots}
\def\seqn#1#2{{#1}_1, {#1}_2,\dots, {#1}_{#2}}
\def\dr{\right}
\def\ga{\left}
\def\bigmid{\,\big|\,}
    
\def\oo{\infty}
\def\boldLambda{\boldsymbol \Lambda}
\def\B#1{\bold #1}
\def\pmb#1{\bold #1}
\def\mbr{\mathbreak}
\def\lbr{\linebreak}
