Added example files
1 parent c948355 commit 8d6b4cad50d8f6451e925e594d8aff319755f9b4
Nigel Stanger authored on 18 Mar 2022
Showing 11 changed files
View
1
■■■■
lecture1/build.gradle.kts 0 → 120000
../build.gradle.kts
View
13
lecture1/doc_init.tex 0 → 100644
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Standard variables that are used throughout the current class.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
\SetClassNumber{1}
\SetClassTitle{Some Boring Topic}
 
\SetShortClassTitle{Topic}
 
View
20
lecture1/lecture.gradle.kts 0 → 100644
val docTargets by extra(mutableSetOf<String>(
// remove those you don't need
"slides",
"handout"
))
 
val slidesImages by extra(mutableSetOf<String>(
// example:
// "image1.png",
// "image2.pdf",
// "image3.pdf"
))
 
val generatedImages by extra(mutableMapOf<String, String>(
// key = destination, value = source
// example:
// "image2.pdf" to "image2.svg",
// "image3.pdf" to "image3.R"
))
View
53
lecture1/lecture_content.tex 0 → 100644
% !TeX root = ./lecture_slides.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% NOTE LACK OF DOCUMENT CLASS!
% This file must be \input into a "driver" file that sets the required
% beamer class options (notes, handout, etc.).
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
% Paper and chapter variables.
\input{../paper_init}
\input{../lecturedates}
\input{doc_init}
 
 
% Initialise hyperref.
\inithyperref
 
 
\author{Some Person}
\date{\LectureDate{\ClassNumber}, \YearOffered}
 
 
\begin{document}
 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
\begin{frame}
\thispagestyle{empty}
\titlepage
\end{frame}
 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
\begin{frame}
\centering
\vfill
\bigskip\bigskip
\Huge\structurebf{END OF LECTURE}
\vfill
\end{frame}
 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
\end{document}
View
6
lecture1/lecture_handout.tex 0 → 100644
% !TeX root = ./lecture_handout.tex
\documentclass[nochapters,handout]{otagohandout}
 
 
\input{lecture_content}
View
5
lecture1/lecture_slides.tex 0 → 100644
% !TeX root = ./lecture_slides.tex
\documentclass[nochapters]{otagoslides}
 
\input{lecture_content}
View
1
■■■■
lecture1/lecturedates.tex 0 → 120000
../lecturedates.tex
View
1
■■■■
lecture1/paper_init.tex 0 → 120000
../paper_init.tex
View
0
■■■■■
lecture1/settings.gradle.kts 0 → 100644
View
46
lecturedates.tex 0 → 100644
% 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}%
}
 
View
28
paper_init.tex 0 → 100644
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Standard variables that are used throughout the lecture materials, such as
% current year, period, etc. Easier to change when they're all in one place!
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
% These four are unlikely to change very often (if at all), but will be easy
% to update if they ever do!
\SetSubjectCode{INFO}
\SetPaperNumber{123}
\SetPaperTitle{Some Paper Title}
\SetDepartmentName{Information Science}
\SetTeachingPeriod{Some Semester}
 
 
% The year offered will, of course, change annually :)
\SetYearOffered{2022}
 
 
% The Oracle version will change every few years.
\SetOracleVersion{Oracle11\textit{g}}
 
 
% Standard class type for the paper.
\SetClassType{Lecture}