\slidesmag{5}

\begin{document}

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

\begin{slide}

	\begin{lecturecontent}

		\item ...

		\item ...

	\end{lecturecontent}

\end{slide}

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

\begin{slide}

\section{section}

\begin{dimitem}

	\item foo

	\item bar

	\item baz

\end{dimitem}

Normal, \emph{emph}, normal.

\newslide

\subsection{subsection}

\fontseries{l}\selectfont

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 tempizzle. 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. Donec
fo shizzle est. Gangsta sapien massa, ultrices nec, accumsizzle crunk,
fermentizzle quizzle, bizzle. Ghetto nizzle fo shizzle mah nizzle fo rizzle, mah
home g-dizzle. Etizzle gangsta ornare ante. Maurizzle my shizz. Vestibulizzle
ut pede varius nibh ghetto we gonna chung.

\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}
