Newer
Older
gradle-lectures / lecturedates.tex
  1. % Lecture dates for INFO123 S?? 2022.
  2. \newcount\lecnum
  3. \newcount\weeknum
  4.  
  5. \newcommand{\LectureDate}[1]{%
  6. \lecnum #1\relax%
  7. \advance\lecnum by -1\relax%
  8. \ifcase\lecnum%
  9. 2 March% lecture 1
  10. \or 4 March% lecture 2
  11. \or 9 March% lecture 3
  12. \or 11 March% lecture 4
  13. \or 16 March% lecture 5
  14. \or 18 March% lecture 6
  15. \or 23 March% lecture 7
  16. \or 25 March% lecture 8
  17. \or 30 March% lecture 9
  18. \or 1 April% lecture 10
  19. \or 6 April% lecture 11
  20. \or 8 April% lecture 12
  21. \or 13 April% lecture 13
  22. \or 27 April% lecture 14
  23. \or 29 April% lecture 15
  24. \or 4 May% lecture 16
  25. \or 6 May% lecture 17
  26. \or 11 May% lecture 18
  27. \or 13 May% lecture 19
  28. \or 18 May% lecture 20
  29. \or 20 May% lecture 21
  30. \or 25 May% lecture 22
  31. \or 27 May% lecture 23
  32. \or 1 June% lecture 24
  33. \or 3 June% lecture 25
  34. \else ????%
  35. \fi%
  36. }
  37.  
  38. \newcommand{\LectureDateByWeek}[2]{%
  39. \weeknum #1\relax%
  40. \advance\weeknum by -1\relax%
  41. \multiply\weeknum by 2\relax%
  42. \advance\weeknum by #2\relax%
  43. \LectureDate{\the\weeknum}%
  44. }
  45.