GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
LaTeX
Browse code
Squashed 'lectures/' changes from 7f06e86..bbda7a2
bbda7a2 Switched to new Otago branding git-subtree-dir: lectures git-subtree-split:
bbda7a2
master
1 parent
b92d875
commit
5d7be3266034b3da1d7343c603f2d0f478099542
Nigel Stanger
authored
on 7 Jun
Patch
Showing
1 changed file
courseoutline.cls
Ignore Space
Show notes
View
courseoutline.cls
\def\filedate{7 June 2024} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Document class for Otago Business School course outlines. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Version History % v1.0 Initial version. % v1.0.1 Switched to PDF version of Otago Business School logo. % v1.1 Switched to new Otago branding. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[2001/06/01] \ProvidesClass{courseoutline}% [2024/06/07 OBS course outline style, v.1.1] \LoadClassWithOptions{article} % Load required packages. \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. \RequirePackage{lecturecommon} % Package initialisation. % geometry setup. \geometry{a4paper,margin={1in,1in}} % hyperref setup. We can't execute this immediately, because the % macros referenced here haven't been set yet. All paper and chapter % variables (where applicable) must therefore be initialised in the % document preamble. \AtBeginDocument{% \hypersetup{% pdftitle={\PaperCode\ course outline, \YearOffered},% pdfsubject={\PaperTitle},% pdfauthor={Information Science, University of Otago},% }% } % Automatically insert standard Otago Business School title page, % and table of contents. Use \AfterEndPreamble from etoolbox because % doing it \AtBeginDocument somehow clashes with menukeys. \AfterEndPreamble{% \thispagestyle{empty}% \begin{center}% \sffamily% \vspace*{1cm}% \includegraphics[width=9cm,keepaspectratio]{UoO_English_Print_Colour.pdf}% \vfill% \Huge% \textbf{\PaperCode}\par% \textbf{\PaperTitle}\par% \Large% \TeachingPeriod, \YearOffered% \vfill% \Huge% \textbf{COURSE OUTLINE}% \vfill\mbox{}% \end{center}% \newpage% \thispagestyle{empty}% \tableofcontents% \setcounter{page}{0}% \newpage% } \endinput
\def\filedate{19 October 2016} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Document class for Otago Business School course outlines. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % 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/10/19 OBS course outline style, v.1.0.1] \LoadClassWithOptions{article} % Load required packages. \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. \RequirePackage{lecturecommon} % Package initialisation. % geometry setup. \geometry{a4paper,margin={1in,1in}} % hyperref setup. We can't execute this immediately, because the % macros referenced here haven't been set yet. All paper and chapter % variables (where applicable) must therefore be initialised in the % document preamble. \AtBeginDocument{% \hypersetup{% pdftitle={\PaperCode\ course outline, \YearOffered},% pdfsubject={\PaperTitle},% pdfauthor={Information Science, University of Otago},% }% } % Automatically insert standard Otago Business School title page, % 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[scale=0.5]{Business_School_LS_ID_Maori}% \vfill% \Huge% \textbf{\PaperCode}\par% \textbf{\PaperTitle}\par% \Large% \TeachingPeriod, \YearOffered% \vfill% \Huge% \textbf{COURSE OUTLINE}% \vfill% \end{center}% \newpage% \thispagestyle{empty}% \tableofcontents% \setcounter{page}{0}% \newpage% } \endinput
Show line notes below