LaTeX / deprecated / lecturecombined.cls
\def\filedate{21 July 2020}
% Document class for lecture combined document.
% Version History
% v1.0   Initial version
% v1.0.1 Changed package loading order to ensure that hyperref is last.
% v1.1   Added nochapters option.
% v1.2   Added support for configurable class types.
% v1.3   Replaced deprecated fancyhdr macros.

         [2020/07/21 INFO lecture combined document style, v.1.3]

% "Stream of conciousness" chapters vs. explicit individual classes. NOTE:
% you can't have both chapters and classes! This is because we use the same
% chapter macros for both cases, but they're applied differently (e.g., if
% nochapters is set, then \insertchapternumber represent the class number).
\newif\if@chapters \@chapterstrue


% The article class doesn't have a chapter counter.

% Load required packages.
% DO NOT REMOVE THE NEXT LINE! The lecturesetup package loads a bunch
% of other packages, some of which are referenced below.

% Fix margins.



% hyperref setup. We have to use a slightly convoluted method, because the
% macros referenced here haven't been set yet. Define the hyperref setup
% as a new macro, and call this AFTER initialising the paper and chapter
% variables.
		pdftitle={\PaperCode\ \ClassType\ \thechapter\ Lecture Material},%

% Set up fancy headings.
\fancyhead[C]{\Huge\sffamily\bfseries \PaperCode, \PaperTitle, \TeachingPeriod\ \YearOffered}

\fancyfoot[L]{\large\sffamily\bfseries \ClassType\ \thechapter: \ShortClassTitle}


% Ensure first page footer is correctly positioned.
% (see