diff --git a/lectures/courseoutline.cls b/lectures/courseoutline.cls index 808a014..ab3d8ec 100644 --- a/lectures/courseoutline.cls +++ b/lectures/courseoutline.cls @@ -23,6 +23,7 @@ \RequirePackage{geometry} \RequirePackage{pifont} \RequirePackage{parskip} % Space-separated rather than indented paragraphs. +\RequirePackage(etoolbox) % Mainly for \AfterEndPreamble. % DO NOT REMOVE THE NEXT LINE! The lecturecommon package loads a bunch % of other packages and sets up various counters, etc., several of which % are used below. @@ -47,8 +48,9 @@ } % Automatically insert standard Otago Business School title page, -% and table of contents. -\AtBeginDocument{% +% and table of contents. Use \AfterEndPreamble from etoolbox because +% doing it \AtBeginDocument somehow clashes with menukeys. +\AfterEndPreamble{% \thispagestyle{empty}% \begin{center}% \sffamily%