\documentclass{article}

\usepackage{geometry}
\geometry{
  lmargin=3cm,
  rmargin=3cm,
}

\usepackage{notes}

\title{Algebraic Geometry}
\declarepart{III}
\declareterm{Michaelmas}
\declareyear{2024/25}
\declarecoursecode{AG2}
\declarelecturer{Mark Gross}

\begin{document}

\maketitle

\tableofcontents

\inputlecture{1}
\inputlecture{2}
\inputlecture{3}

\glsprintindex

\end{document}
