- % Lecture dates for INFO123 S?? 2022.
- \newcount\lecnum
- \newcount\weeknum
-
- \newcommand{\LectureDate}[1]{%
- \lecnum #1\relax%
- \advance\lecnum by -1\relax%
- \ifcase\lecnum%
- 2 March% lecture 1
- \or 4 March% lecture 2
- \or 9 March% lecture 3
- \or 11 March% lecture 4
- \or 16 March% lecture 5
- \or 18 March% lecture 6
- \or 23 March% lecture 7
- \or 25 March% lecture 8
- \or 30 March% lecture 9
- \or 1 April% lecture 10
- \or 6 April% lecture 11
- \or 8 April% lecture 12
- \or 13 April% lecture 13
- \or 27 April% lecture 14
- \or 29 April% lecture 15
- \or 4 May% lecture 16
- \or 6 May% lecture 17
- \or 11 May% lecture 18
- \or 13 May% lecture 19
- \or 18 May% lecture 20
- \or 20 May% lecture 21
- \or 25 May% lecture 22
- \or 27 May% lecture 23
- \or 1 June% lecture 24
- \or 3 June% lecture 25
- \else ????%
- \fi%
- }
-
- \newcommand{\LectureDateByWeek}[2]{%
- \weeknum #1\relax%
- \advance\weeknum by -1\relax%
- \multiply\weeknum by 2\relax%
- \advance\weeknum by #2\relax%
- \LectureDate{\the\weeknum}%
- }
-