\documentclass[11pt]{scrartcl} % vim: tw=50 \usepackage{notesheader} { \renewtheorem{customtheorem}[customproposition]{Theorem} \renewtheorem{customlemma}[customproposition]{Lemma} \renewtheorem{customcorollary}[customproposition]{Corollary} } \begin{document} \newcommand\coursecode{AT} \title{Analysis and Topology} \author{} \date{\today} \maketitle \tableofcontents \newpage \lecturelist \newpage \inputlectures \end{document}