\documentclass[a4paper, 10pt, pdftex]{book}

\usepackage{mcode}
\usepackage{graphicx, color}
\usepackage{times, calc,fancyhdr}
\usepackage[pdftex]{geometry}
\usepackage[english]{babel}
\usepackage{colortbl}
\usepackage{lastpage}
\usepackage{calc}
\pagestyle{fancy} 
% with this we ensure that the chapter and section 
% headings are in lowercase. 
\renewcommand{\chaptermark}[1]{\markboth{#1}{}} 
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} 
\fancyhf{} 
% delete current setting for header and footer 
\fancyhead[LE,RO]{\bfseries\thepage} 
\fancyhead[LO]{\bfseries\rightmark} 
\fancyhead[RE]{\bfseries\leftmark} 
\renewcommand{\headrulewidth}{0.5pt} 
\renewcommand{\footrulewidth}{0pt} 
\addtolength{\headheight}{0.5pt} 
% make space for the rule 
\fancypagestyle{plain}{% 
	\fancyhead{} % get rid of headers on plain pages 
  \renewcommand{\headrulewidth}{0pt} % and the line 
}

\usepackage[pdftex,colorlinks=true, pdfstartview=FitV, %
           , linkcolor=blue, citecolor=magenta, urlcolor=cyan,]{hyperref}


% \setlength{\oddsidemargin}{2cm}
% \setlength{\textwidth}{15.8cm}
% \setlength{\hoffset}{-1in}

%\headsep = 22pt
\parskip = 5mm
\parindent = 0.0mm

\begin{document}
\pdfinfo{
  /Title      (LTPDA User Manual)
  /Author     (Martin R Hewitson)
  /Keywords   (LTPDA,LTP,LISA)
}

%\layout


\title{LTPDA User Manual}
\author{M Hewitson}
\maketitle
\newpage
\tableofcontents
\begin{verbatim}
	$Id: ltpda_report_template.tex,v 1.1 2008/08/13 14:05:21 gerrit Exp $
\end{verbatim}

% <Report>

% <MethodDescription>
\subsection{<<HEADER>>}
<<CONTENT>>
% </MethodDescription>

% <TestDescription>
\subsubsection{<<HEADER>>}
<<CONTENT>>
% </TestDescription>

% <SyntaxDescription>
\begin{tabular}[ll]
<<CONTENT>> &
% </SyntaxDescription>

% <SyntaxCode>
<<CONTENT>> \\
% </SyntaxCode>

% <AlgoDescription>
<<CONTENT>> &
% </AlgoDescription>

% <AlgoCode>
<<CONTENT>>
\end{tabular}
% </AlgoCode>

% </Report>