\usetheme[hideothersubsections]{UNLTheme}

\def\colorize<#1>{%
\temporal<#1>{\color{white}}{\color{red}}{\color{black}}}

\newcommand{\email}[1]{\href{mailto:#1}{\color{blue}{\texttt{#1}}}}

%color package, define rgb colors
\definecolor{MyDarkBlue}{rgb}{0,0.08,0.45}
\definecolor{MyDarkRed}{rgb}{0.45,0.08,0}
\definecolor{MyDarkGreen}{rgb}{0.08,0.45,0.08}

\usepackage{listings}
%try to emulate gvim:
\lstset{language=C,
        basicstyle=\ttfamily,
	identifierstyle=\ttfamily\color{MyDarkBlue},
	keywordstyle=\ttfamily\color{MyDarkRed},
	keywordstyle[2]=\ttfamily\color{green},
	commentstyle=\ttfamily\color{MyDarkGreen},
	stringstyle=\ttfamily\color{purple},
	showstringspaces=false,
	frameexleftmargin=5mm,
	%linewidth=.90\linewidth,
	xleftmargin=0.5cm,
	numbers=left,
	frame=shadowbox,
	rulesepcolor=\color{black},
	escapechar=@,
       }
