\documentclass[12pt,a4paper]{article}
\usepackage{parskip,times, exscale}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage[sf]{titlesec}
\usepackage[titles]{tocloft}
\usepackage{natbib}
\usepackage{graphicx,lscape}
\usepackage{comment}
\usepackage{hyperref}
\usepackage[cols=3,toc]{glossary}
\usepackage{fancyhdr}
\usepackage{verbatim}
\usepackage{xcolor}
\usepackage{comment}
\usepackage{fancyvrb}

\newcommand{\smltt}[1]{\small {\bfseries {\ttfamily {#1}}} \normalsize}
\newcommand{\scrurl}[1]{\scriptsize {\bfseries {\ttfamily \url{{#1}}}} \normalsize}
\newcommand{\smlurl}[1]{\small {\bfseries {\ttfamily \url{{#1}}}} \normalsize}
\newcommand{\exfnt}[1]{\small {\textsf{#1}} \normalsize}

\newcommand{\OU}{Oxford University}
\newcommand{\Uni}[1]{\textbf {\color{magenta} University of #1}}
\newcount\exno
\def\exercise{\global\advance \exno by 1
%         \vskip\baselineskip
      \bigskip \noindent {\LARGE$\triangleright$} {\sf Exercise \the\exno\quad}
         }
         
\newcommand{\mytoday}{\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}
   
\oddsidemargin  0pt
\evensidemargin  0pt
\topmargin   -0.5in
\textwidth   6.4in
\textheight  9.7 in

\makeglossary

\begin{document}
\pagestyle{empty}
\title{\vspace*{2cm}
\Huge \sf  Exercises for further \LaTeX\\
Level 4}

\author{\sf Susan Hutchinson\\[.2cm]
\sf Department of Statistics,\\[.2cm]
\sf University of Oxford\\[0.3cm]
}
\date{\sf March 2009}



\maketitle

%\renewcommand{\cftchapfont}{\sf}
%\renewcommand{\cftchappagefont}{\sf}
\renewcommand{\cftsecfont}{\sf}
\renewcommand{\cftsecpagefont}{\sf}
\renewcommand{\cftsubsecfont}{\sf}
\renewcommand{\cftsubsecpagefont}{\sf}
\renewcommand{\cftfigfont}{\sf}
\renewcommand{\cftfigpagefont}{\sf}
\renewcommand*{\contentsname}{Table of Contents}

\vspace*{1cm}
\color{gray}
\hrule
\color{black}
\vspace*{1cm}

\tableofcontents

\thispagestyle{empty}
\include{myacknowledgements}
\pagestyle{fancy}
\include{myprep}
\include{myintro}
\include{mylongdocs}
\include{mycustomising}
\include{myslideshow}
\include{mypackages}
\include{myhelp}
\include{myresources}
\include{myconclusion}
\include{myanswers}
\end{document}
