diff --git a/courseoutline.cls b/courseoutline.cls index 8aef128..c188b06 100644 --- a/courseoutline.cls +++ b/courseoutline.cls @@ -1,4 +1,4 @@ -\def\filedate{15 February 2016} +\def\filedate{19 October 2016} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Document class for Otago Business School course outlines. @@ -7,12 +7,13 @@ % % Version History % v1.0 Initial version. +% v1.0.1 Switched to PDF version of Otago Business School logo. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[2001/06/01] \ProvidesClass{courseoutline}% - [2016/02/15 OBS course outline style, v.1.0] + [2016/10/19 OBS course outline style, v.1.0.1] \LoadClassWithOptions{article} @@ -22,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. @@ -46,13 +48,14 @@ } % 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% \vspace*{0.5cm}% - \includegraphics{business_school_logo}% + \includegraphics[scale=0.5]{Business_School_LS_ID_Maori}% \vfill% \Huge% \textbf{\PaperCode}\par%