%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% C4DM Lecture slides theme
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\mode<presentation>{\usetheme{Warsaw}}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{units}
\usepackage{url}
\usepackage[T1]{fontenc}
\usepackage{hyperref}
\usepackage{amssymb}


\newcommand{\setlecturedetails}[7]
{ 
\def\coursetitle{#1}
\def\coursecode{#2}
\def\lecturer{#3}
\def\contactemail{#4}
\def\coursepage{#5}
\def\lecturenumber{#6}
\def\lecturetitle{#7}


%\newcommand{\setlecturetitle}[1]{\def\titleB{#1}}

%\newcommand\titleC{\coursecode}
%\newcommand\titleD{\coursetitle}
\newcommand\titleB{\coursecode: \coursetitle}
\newcommand\titleA{Slide \insertpagenumber}


\title[\titleA]{\coursecode: \coursetitle}

\author[\titleB]{%
	\lecturer\\
	\texttt{\contactemail}\\
	\texttt{\small \coursepage}
	}

}

\newcommand\separator[1]{%
	\frame{%
		\begin{beamercolorbox}[sep=8pt,center,rounded=true,shadow]{part title}
		\usebeamerfont{part title}{#1}
		\end{beamercolorbox}
	}
}
\newcommand\audio[1]{%
	\href{http://#1}{\includegraphics[height=5mm]{Audio_icon.eps}}
}

\newcommand\onepoint[1]{%
	\begin{itemize}
	\item #1
	\end{itemize}
}




