diff --git a/lectures/otagohandout.cls b/lectures/otagohandout.cls index fc00d3a..1514040 100644 --- a/lectures/otagohandout.cls +++ b/lectures/otagohandout.cls @@ -1,4 +1,4 @@ -\def\filedate{23 February 2021} +\def\filedate{11 March 2021} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Document class for lecture handout document. @@ -7,12 +7,13 @@ % % Version History % v1.0 Initial version, rebuilt from deprecated lecturehandout class. +% v1.0.1 Tweaked header so it always fits. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[2001/06/01] \ProvidesClass{otagohandout}% - [2021/02/23 INFO lecture handout document style, v.1.0] + [2021/03/11 INFO lecture handout document style, v.1.0.1] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{otagoslides}} @@ -147,7 +148,7 @@ \SetBgContents{% \sffamily\bfseries\large% \begin{tabular*}{\headerwidth}{@{}L{\headerwidth/3}@{}C{\headerwidth/3}@{}R{\headerwidth/3}@{}}% - \multicolumn{3}{@{}C{\headerwidth}@{}}{\Huge\PaperCode, \PaperTitle, \TeachingPeriod\ \YearOffered} \\[0.85\pgfphysicalheight]% + \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 \\% \end{tabular*}%