\documentclass[headrule,dvips,a4paper,landscape,english]{foils}
\usepackage{alltt}
\usepackage{version}
\usepackage{babel}
\usepackage{multicol}
\usepackage{t1enc}
\usepackage{isolatin1}
\usepackage{times}
\usepackage{graphicx}
\usepackage[usenames]{color}
\usepackage{hyperref}

\setlength{\hoffset}{-1in} % left margin - 1 inch
\setlength{\voffset}{-1in} % top margin - 1 inch
\setlength{\headheight}{2.5cm}
\addtolength{\hoffset}{1cm} % top margin - 1 inch
\setlength{\textheight}{20cm}
\addtolength{\textheight}{-\topmargin}
\addtolength{\textheight}{-\headheight}
\addtolength{\textheight}{-\headsep}
\addtolength{\textheight}{-\footskip}
\setlength{\textwidth}{28.7cm}
\addtolength{\textwidth}{-\oddsidemargin}
\addtolength{\textwidth}{-\marginparsep}
\addtolength{\textwidth}{-\marginparwidth}


\newcommand{\thefileversion}[1]{}
\sloppy
\newcommand{\urlurl}[1]{\url{#1}}

\newcommand{\txtonly}[1]{}
\newcommand{\slideonly}[1]{#1}

\newcommand{\smalliftext}{}
\excludeversion{onlytxt}

\newlength{\figwidth}
\setlength{\figwidth}{0.5\textwidth}
\newlength{\bigfigwidth}
\setlength{\bigfigwidth}{\textwidth}
\setlength{\multicolsep}{0pt}
\setlength{\columnsep}{2em}

% if you want balance also the last slide, remove '*' 
% at end of multicols (both begin and end)
\newenvironment{slide2c}[1]
  {\foilhead{#1}\begin{multicols*}{2}}
  {\end{multicols*}}

\newenvironment{slide}[1]
  {\foilhead{#1}}
  {}

\newcommand{\huom}[1]{\textcolor{red}{\emph{#1}}}
\newcommand{\follows}{\\$\Rightarrow$ }
\newcommand{\followsx}{$\Rightarrow$}

% eat citations
\renewcommand{\cite}[2][0]{}

\newcommand{\boxgray}{\textcolor[named]{Gray}{\rule{2ex}{2em}}}
\newcommand{\boxblack}{\textcolor[named]{Black}{\rule{2ex}{2em}}}

\definecolor{lightsea}{rgb}{0.796875,1,1}
\pagecolor{lightsea}
\input{#SOURCE_DOCUMENT#}
\end{document}
