\usepackage[naustrian]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

%Designvorlage
\usetheme{Boadilla}

%Font Typeface
\usepackage{paratype}

\usepackage{graphicx}
\usepackage{url}
\usepackage{pgfpages}
\usepackage{lmodern}

\usepackage{listings}

\usepackage{marvosym}
\usepackage{textcomp}

\usepackage{tikz}
\usepackage{geometry}
\usepackage{layout}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{mathtools}


%properties for listings:
\lstset{
	language=[LaTeX]TeX,				%language
	basicstyle=\footnotesize\ttfamily,	%common font style
	xleftmargin=8pt,
	numbers=left,						%line numbers
	numberstyle=\tiny,
	numberfirstline=true,
	stepnumber=1,
	numbersep=5pt,
	tabsize=2,							%size of tabulator	
	columns=flexible,
	upquote=true,
	literate=							%Umlauts in source files
	{Ö}{{\"O}}1
	{Ä}{{\"A}}1
	{Ü}{{\"U}}1
	{ß}{{\ss}}2
	{ü}{{\"u}}1
	{ä}{{\"a}}1
	{ö}{{\"o}}1
}

%Beamer preferences
\AtBeginSection[]
{
	\begin{frame}
		\frametitle{Inhalt}
		\tableofcontents[
		currentsection,
		sectionstyle=show/show,
		hideothersubsections]
	\end{frame}
}