GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
1
mark.george
/
templates
Browse code
Added more to content.tex for testing with.
master
1 parent
c68fbeb
commit
f7102ce1b6e97f04f79c300dfe142dc9aadd1b02
Mark
authored
on 22 Jul 2014
Patch
Showing
2 changed files
lectures/content.tex
lectures/lecturedetails.tex
Ignore Space
Show notes
View
lectures/content.tex
\slidesmag{5} \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide} \begin{lecturecontent} \item ... \item ... \end{lecturecontent} \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide} \section{section} \begin{dimitem} \item ... \item ... \end{dimitem} \subsection{subsection} Blah blah. \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide} \section{code example} Directly above. \begin{codeblock}[gobble=2] // students can be any collection class // old way of traversing Iterator<Student> it = students.iterator(); while(it.hasNext()) { Student aStudent = it.next(); System.out.println(aStudent); } // new way of traversing using Java 5 for-each loop for (Student aStudent : students) { System.out.println(aStudent); } String blah = "this is a string"; \end{codeblock} Directly below. \newslide \section{small code} Directly above. \begin{smallcodeblock}[gobble=2] // students can be any collection class // old way of traversing Iterator<Student> it = students.iterator(); while(it.hasNext()) { Student aStudent = it.next(); System.out.println(aStudent); } // new way of traversing using Java 5 for-each loop for (Student aStudent : students) { System.out.println(aStudent); } String blah = "this is a string"; \end{smallcodeblock} Directly below. \subsection{inline code} Blah blah \code{blah blah blah()} blah blah. \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{document}
\slidesmag{5} \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide} \begin{lecturecontent} \item ... \item ... \end{lecturecontent} \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide} \subsection{...} \begin{dimitem} \item ... \item ... \end{dimitem} \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{document}
Ignore Space
Show notes
View
lectures/lecturedetails.tex
% paper details \def\PaperCode{INFO221} \def\PaperTitle{Application Software Development} % semester, and year \def\Semester{2} \def\Year{2014} % lecture number and title \def\LectureNumber{21} \def\LectureTitle{Collections Part 2} % lecturer and institute \def\Lecturer{Mark George {\footnotesize (\textsf{mgeorge@infoscience.otago.ac.nz})}} \def\Institute{\footnotesize Department of Information Science, University of Otago} % the details for \maketitle \author{\emph{Lecturer}: \Lecturer \\ \Institute} \title{\emph{\PaperCode}:~ \PaperTitle \\ \vspace{10pt} \emph{Lecture \LectureNumber}: \LectureTitle} \date{\footnotesize Semester \Semester, \Year} % details to be embedded in the PDF document properties \hypersetup{ pdftitle={Lecture \LectureNumber: \LectureTitle}, pdfsubject={\PaperCode: \PaperTitle}, pdfauthor={\Lecturer} }
% paper details \def\PaperCode{INFO221} \def\PaperTitle{Application Software Development} % semester, and year \def\Semester{2} \def\Year{2011} % lecture number and title \def\LectureNumber{21} \def\LectureTitle{Collections Part 2} % lecturer and institute \def\Lecturer{Mark George {\footnotesize (\textsf{mgeorge@infoscience.otago.ac.nz})}} \def\Institute{\footnotesize Department of Information Science, University of Otago} % the details for \maketitle \author{\emph{Lecturer}: \Lecturer \\ \Institute} \title{\emph{\PaperCode}:~ \PaperTitle \\ \vspace{10pt} \emph{Lecture \LectureNumber}: \LectureTitle} \date{\footnotesize Semester \Semester, \Year} % details to be embedded in the PDF document properties \hypersetup{ pdftitle={Lecture \LectureNumber: \LectureTitle}, pdfsubject={\PaperCode: \PaperTitle}, pdfauthor={\Lecturer} }
Show line notes below