% LaTeX source of manual
% Lihua Ou 
% Updated 2002-7-13

\documentclass[12pt,twoside]{report} 

\listfiles

\usepackage[dvips]{graphicx} 

\usepackage{makeidx} % ...  index
\usepackage{amsmath} % ...  math symbols
\usepackage[dvips=true,bookmarks=true]{hyperref} 

\usepackage{times}
\usepackage{epsfig}
%\usepackage{psfig}
\usepackage[T1]{fontenc}

\makeindex % activate index-making

\renewcommand{\baselinestretch}{1.2}

\setlength{\marginparwidth}{0pt}
\setlength{\marginparsep}{0pt}
\setlength{\oddsidemargin}{0.125in}
\setlength{\evensidemargin}{0.125in}
\setlength{\textwidth}{6.375in}
\raggedbottom

\font\cmss=cmss12
\font\cmssbx=cmssbx12
\font\cmssi=cmssi12

%\newcommand{\emph}[1]{\textit{#1}} % emphasis and new terms
\newcommand{\program}[1]{\textsf{#1}} % program names in sansserif-Helvetica
\newcommand{\widvar}[1]{\textsf{\textit{#1}}} % widget var-Helvetica Oblique
\newcommand{\wid}[1]{\textsf{\textbf{#1}}} % widget-Helvetica Bold
\newcommand{\code}[1]{\texttt{#1}} % pic code in typewriter-Courier
\newcommand{\picvar}[1]{\texttt{\textit{#1}}} %pic var-Courier Oblique
\newcommand{\token}[1]{\texttt{\textbf{#1}}} % pic token-Courier Bold

\newcommand{\usecase}[1]{\cmss{#1}\normalfont} % usecase name
\newcommand{\cmmd}[1]{\cmss{#1}\normalfont} % command name
\newcommand{\cmmdvar}[1]{\cmssi{#1}\normalfont} % command var
\newcommand{\cmmdcon}[1]{\cmssbx{#1}\normalfont} % command name

\newcommand{\key}[2]{\textless\wid{#1}+\wid{#2}\textgreater}
\newcommand{\menu}[2]{\wid{#1}$\rightarrow$\wid{#2}}
\newcommand{\widquote}{\wid\textquotedbl}
\newcommand{\codequote}{\code\textquotedbl}

\newcommand{\enviro}[1]{\texttt{#1}} % environment name in tt font
\newcommand{\exten}[1]{\texttt{#1}} % file extensions in bold text (use caps)
\newcommand{\eg}{\textit{e.g.},} % some Latin abreviations in italic
\newcommand{\ie}{\textit{i.e.},}
\newcommand{\etc}{\textit{etc}.\@}

\newcommand{\mat}[1]{\ensuremath{\mathcal{#1}}} 

\newcommand{\vect}[1]{\ensuremath{\mathit{#1}}} 

\newcommand{\rv}[1]{\ensuremath{\mathbf{#1}}} 

\newcommand{\degg}[1]{\mbox{\raisebox{3pt}{$\circ$}\hspace{-.5pt}#1}}

\newenvironment{definition}[1]{\begin{quote}\emph{#1}:}{\end{quote}}

\newenvironment{where}[1]% Equation symbol lists
 {\begin{list}{}%
  {\renewcommand{\makelabel}[1]{\hfill\textnormal{##1 =}}%
   \settowidth{\labelwidth}{\textnormal{#1 =}}%
   \setlength{\leftmargin}{\labelwidth}%
   \addtolength{\leftmargin}{\labelsep}%
   \setlength{\itemsep}{-\parsep}}}%
 {\end{list}}
% Example:
% \begin{where}{where $E$}
%  \item[where $E$] least squares error term;
%  \item[$w$] weighting factor associated with each measured variable.
% \end{where}


\begin{document}

\include{frontpgs} 
\pagestyle{myheadings}
\normalsize

% Chapters 
\include{chap1}
\include{chap2}
\include{chap3} 
\include{chap4}
\include{chap5}
\include{chap6}

% Appendices
\appendix
%\include{commands} %"commands"

% Glossary
%\include{glossary}

% Bibliography 
% If done using the BibTeX program, use
\bibliographystyle{plain} % sorted alphabetically, labeled with numbers
\bibliography{ref}

% Index 
% Put a \makeindex command in the Preamble if you use MakeIndex program
% and put 
%\printindex % here
% OR, do it "by hand" inside \begin{theindex} ... \end{theindex}
%----------------------------------------------------------------------

\end{document}
