\documentclass[landscape]{slides}
\oddsidemargin=0in
\topmargin=-1in
\textwidth=10in
\textheight=7in
\parskip=0in
\usepackage{graphicx,color}
\usepackage{array,amsmath}

\definecolor{backgroundcolor}{rgb}{0,.3,.2}
\definecolor{textcolor}{rgb}{1,1,1}
\definecolor{headcolor}{rgb}{.3,.7,1}

\newcommand{\slt}[1]{\begin{center}\textcolor{headcolor}{\Large\textbf{#1}}\end{center}\vfill\raggedright\par}
\newcommand{\prog}[1]{\texttt{#1}}
\newlength\contboxwidth
\newcommand{\cont}{\setbox0=\hbox{\small\space(continued)}%
	\contboxwidth=\wd0\box0\hspace{-\contboxwidth}}

\let\saveendslide=\endslide
\let\saveendoverlay=\endoverlay
\renewcommand{\endslide}{\vfill\saveendslide}
\renewcommand{\endoverlay}{\vfill\saveendoverlay}
\let\saveslide=\slide
\renewcommand{\slide}{\saveslide\flushright}
\let\saveoverlay=\overlay
\renewcommand{\overlay}{\saveoverlay\flushright}

\title{\textcolor{headcolor}{\Huge\bfseries
Real-Time Linux\footnote{%
by Alex~Ivchenko, Embedded Systems Programming
(May 1, 2001)\\
available from 
\prog{http://www.embedded.com/story/OEG20010418S0044}\\
slides on \prog{http://behdad.org/presentation/rtlinux/}}
}}
\author{\vspace{1em}\textcolor{textcolor}{\LARGE
	Behdad Esfahbod\\
	\texttt{behdad@behdad.org}%
}}
\date{\textcolor{headcolor}{%
Computer Engineering Department\\
Sharif University of Technology\\
Tehran, Iran\\
December 28, 2002
}}

\input{sources}

\pagecolor{backgroundcolor}
\color{textcolor}
\begin{document}
\color{textcolor}

\maketitle

\slide
\listing{1}
\endslide

\slide
\begin{center}
\includegraphics[width=\textwidth,keepaspectratio=true]{fig1.eps}
\end{center}
\endslide

\slide
\listing{2}
\endslide

\slide
\listing{3}
\endslide

\slide
\listing{4}
\endslide

\slide
\listing{5}
\endslide

\slide
\begin{center}
\includegraphics[width=\textwidth,keepaspectratio=true]{fig2.eps}
\end{center}
\endslide

\slide
\begin{center}
\includegraphics[width=\textwidth,keepaspectratio=true]{fig3.eps}
\end{center}
\endslide

\slide
\listing{6}
\endslide

\slide
\listing{7}
\endslide


\end{document}

\slide
\slt{}
\begin{itemize}
\item
\end{itemize}
\endslide

