Newer
Older
templates / latex / lectures / content.tex
Mark on 4 Feb 2016 3 KB Improvements.
\slidesmag{5}


\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{slide}

	\begin{lecturecontent}

		\item Topic 1

		\item Topic 2

		\item Topic 3

	\end{lecturecontent}

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{slide}

\section{Section}

\begin{itemize}

	\item foo

	\item bar

	\item baz

	\item arblargle

\end{itemize}

Normal \emph{emph} normal \strong{strong} normal.

\end{slide}

\begin{slide}

\subsection{Subsection}

Lorizzle ipsizzle dolizzle yippiyo amet, own yo' crackalackin mammasay mammasa
mamma oo sa. Nullizzle sheezy velit, black volutpat, suscipizzle quis, away
vizzle, boom shackalack. Pellentesque eget tortizzle. Sizzle erizzle. Ass izzle
dolizzle dapibizzle shiznit tempus tempendcolor=whiteizzle. Maurizzle yo nibh et turpis.
Vestibulum izzle we gonna chung.

Phat eleifend check out this nisi. Shut the shizzle up hac habitasse platea
dictumst. Donec dapibizzle. Ghetto tellizzle urna, pretizzle own yo', mattizzle
izzle, eleifend you son of a bizzle, nunc.  Shiz suscipit. Integer black
velizzle dang crackalackin.

Phasellizzle interdum volutpizzle tellizzle. Ut shiznit own yo' lorizzle.

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{slide}

\section{Code}

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.

\end{slide}

\begin{slide}

\section{Compact 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.

\section{Inline code}

Blah blah \code{blah blah blah()} blah blah.

\end{slide}


\begin{slide}

	\section{Lists}

	\subsection{List spacing}

	Before

	\begin{itemize}

		\item Blah blah blahdy blah blah blerg

			Blah blah blahdy blah blah blerg

			Blah blah blahdy blah blah blerg


		\item Blah blah blahdy blah blah blerg

			\begin{itemize}

				\item Blah blah blahdy blah blah blerg


				\item Blah blah blahdy blah blah blerg

			\end{itemize}

	\end{itemize}

	After

\end{slide}
\begin{slide}

	\subsection{Nested Lists}

	Before

	\begin{itemize}

		\item Blah

			\begin{itemize}

				\item Blah

					\begin{itemize}

						\item Blah

							\begin{itemize}

								\item Blah

							\end{itemize}

					\end{itemize}

				\item Blah

			\end{itemize}

		\item Blah

	\end{itemize}

Below

\end{slide}

\begin{slide}

\subsection{New lists}

Above

\begin{nest}

\li Blah

\lii Blah

\liii Blah

\liiii Blah Lorizzle ipsizzle dolizzle yippiyo amet, own yo' crackalackin mammasay mammasa
mamma oo sa. Nullizzle sheezy velit, black volutpat, suscipizzle quis, away

sdaflkksdaf;

\end{nest}

Below

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\end{document}