%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

\documentclass[handout]{beamer}

\usepackage{polyglossia}
\usepackage{amsmath,amssymb}
\usepackage{listings,color}
\usepackage{subfig}
\usepackage{graphicx}
\usepackage{xltxtra,fontspec,xunicode}
\usepackage{fancyvrb}
\usepackage{lxextras}
\usepackage{pgfpages}

\defaultfontfeatures{Scale=MatchLowercase}
\setromanfont{TheMixB W5 Plain}
\setsansfont{TheMixB W7 Bold}
\setmonofont[Scale=0.7]{Source Code Pro}
\linespread{0.5}

\IfFileExists{.lxformat_microconsult}
{
\mode<presentation>{\usepackage{foreignthemes/microconsult/beamerthememicroconsult}}
\institute{MicroConsult GmbH / Linutronix GmbH}
}{
\mode<presentation>{\usetheme{linutronix}}
\institute{Linutronix GmbH}
}

\definecolor{lbcolor}{RGB}{255,210,150}
%% Reset headline for the handouts
\defbeamertemplate*{headline}{}{
\vskip1pt
\hskip2pt
\insertsubsection
\vskip6pt
}

\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]
\pgfpageslogicalpageoptions{1}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{2}{border code=\pgfusepath{stroke}}

\begin{document}

\input{section}
