\documentclass[12pt]{article}

\usepackage{makeidx}

\usepackage{graphicx}
\usepackage{tikz}
\DeclareGraphicsRule{*}{mps}{*}{}
\usepackage{linalgjh}
\usepackage{hyperref}
\usepackage{glossary}


\def\nn{\nonumber}

\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}


\newenvironment{definition}[1][Definition]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
\newenvironment{example}[1][Example]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
\newenvironment{remark}[1][Remark]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}

 \DeclareMathOperator{\tr}{tr}
\DeclareMathOperator{\rref}{RREF}

% sideremark
\def\sideremark#1{\ifvmode\leavevmode\fi\vadjust{\vbox to0pt{\vss
\hbox to 0pt{\hskip\hsize\hskip1em
\vbox{\hsize3cm\tiny\raggedright\pretolerance10000
 \noindent #1\hfill}\hss}\vbox to8pt{\vfil}\vss}}}


\newcommand{\edz}[1]{\sideremark{#1}}
\def\idx#1{{\em #1\/}} % ****

\newcommand{\1}{{\rm 1\hspace*{-0.4ex}%
\rule{0.1ex}{1.52ex}\hspace*{0.2ex}}}

\DeclareMathOperator{\cofactor}{cofactor}
\DeclareMathOperator{\spa}{span}
\DeclareMathOperator{\nul}{null}


\makeindex

\makeglossary

\begin{document}

\title{Linear Algebra in Twenty Five Lectures}

\author{Tom Denton and Andrew Waldron}


\maketitle

\begin{center}
\includegraphics[scale=.6]{bikes.jpg}
\end{center}

\newpage

\tableofcontents


\newpage


\input{preface}



%\printglossary
%\addcontentsline{toc}{chapter}{Glossary}
%\newpage

\input{notes1}

\input{notes2}

\input{notes3}

\input{notes4}

\input{notes5}

\input{notes6}

\input{notes7}

\input{notes8}

\input{notes9}

\input{notes10}

\input{notes11}

\input{notes12}

\input{notes13}

\input{notes14}

\input{notes15}

\input{notes16}

\input{notes17}

\input{notes18}

\input{notes19}

\input{notes20}

\input{notes21}

\input{notes22}

\input{notes23}

\input{notes24}

\input{notes25}


\printindex

\end{document}
