diff --git a/lectures/otagohandout.cls b/lectures/otagohandout.cls index 1514040..8bf4b84 100644 --- a/lectures/otagohandout.cls +++ b/lectures/otagohandout.cls @@ -1,4 +1,4 @@ -\def\filedate{11 March 2021} +\def\filedate{24 March 2021} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Document class for lecture handout document. @@ -8,12 +8,13 @@ % Version History % v1.0 Initial version, rebuilt from deprecated lecturehandout class. % v1.0.1 Tweaked header so it always fits. +% v1.0.2 Corrected page number generation. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[2001/06/01] \ProvidesClass{otagohandout}% - [2021/03/11 INFO lecture handout document style, v.1.0.1] + [2021/03/24 INFO lecture handout document style, v.1.0.2] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{otagoslides}} @@ -150,7 +151,7 @@ \begin{tabular*}{\headerwidth}{@{}L{\headerwidth/3}@{}C{\headerwidth/3}@{}R{\headerwidth/3}@{}}% \multicolumn{3}{@{}C{\headerwidth}@{}}{\resizebox*{\headerwidth}{!}{\Huge\PaperCode, \PaperTitle, \TeachingPeriod\ \YearOffered}} \\[0.85\pgfphysicalheight]% % A skip of 0.85\pgfphysicalheight looks about right. - \ClassType\ \thechapter: \ShortClassTitle & Lecture Slides & \the\numexpr\thepage/7+1 \\% + \ClassType\ \thechapter: \ShortClassTitle & Lecture Slides & \the\numexpr(\thepage-1)/6+1 \\% \end{tabular*}% }% \fi%