
\slidesmag{5}

\newcommand{\pad}{\vspace{\stretch{1}}}

\begin{document}


%%%% TOPIC %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}

	\vspace*{-5pt}

   \fig{0.3}{figs/network}

	\vfill\vfill\maketitle\vfill

    \fig{0.2}{figs/ou_logo}

	 \vfill

\end{slide}

\begin{slide}

	\ptsize{10}

	\section{Topics covered in this lecture}

	\begin{nest}[-3pt]

		# ...

		# ...

		## ...

		## ...

	\end{nest}

\end{slide}


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

\begin{slide}

  \section {Title}

	\begin{nest}

		# Stuff

		# More stuff

	\end{nest}

\end{slide}

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

\begin{slide}

	\section{Code}

	\begin{tcolorbox}
		\begin{codeblock}[escapechar=|]
			public void barcodeActionPerformed(BarcodeScanner scanner) {

				String productID = scanner.readLastScan();

				|\nohilight{InventoryManager mgr = new InventoryManager();}|
				|\nohilight{Double price = mgr.getPrice(productID);}|

				// add the details to the sale data structure
				addToSale(id, price);
			}
		\end{codeblock}
	\end{tcolorbox}

\end{slide}

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

\begin{slide}

	\section{Code with Highlight}

	\begin{tcolorbox}
		\begin{codeblock}[escapechar=|]
			public void barcodeActionPerformed(BarcodeScanner scanner) {

				String productID = scanner.readLastScan();

				|\hilight{InventoryManager mgr = new InventoryManager();}|
				|\hilight{Double price = mgr.getPrice(productID);}|

				// add the details to the sale data structure
				addToSale(id, price);
			}
		\end{codeblock}
	\end{tcolorbox}

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
