\documentclass[10pt, aspectratio=169]{beamer}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% \usepackage[ngerman]{babel}
%\usepackage{amsmath}
\usepackage{float}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepackage{subcaption}
\usepackage{listings}
\usepackage{graphicx}
\usepackage{xcolor}
\usepgfplotslibrary{colorbrewer}

\setlength {\marginparwidth }{2cm}

\newcommand{\templates}{../lib}

% packages to be included
\input{\templates/packages.tex}
\presetkeys{todonotes}{inline}{}

% modifications to stick to new KIT style
\input{\templates/modifications.tex}

% marcos used throughout the slides
\input{\templates/makros_own.tex}


\title{Application of Optimization Algorithms for Channel Decoding}
\subtitle{\small Midterm Presentation}
%\author{Andreas Tsouchlos}
\author{\vspace{1.5mm} Andreas Tsouchlos}

\institute{Karlsruhe Institute of Technology (KIT), \\ Communications Engineering Lab (CEL) }


\AtBeginSection[]
{
  \begin{frame}[t]
		   \frametitle{\ifthenelse{\boolean{EnglishLanguage}}{Overview}{Übersicht}}
	   \tableofcontents[sectionstyle=show/shaded, subsectionstyle=show/show/shaded,subsubsectionstyle=hide]
  \end{frame}
}
\AtBeginSubsubsection[]{}
\AtBeginSubsection[]{}

\pgfplotsset{
    discard if/.style 2 args={
        x filter/.code={
            \edef\tempa{\thisrow{#1}}
            \edef\tempb{#2}
            \ifx\tempa\tempb
                \def\pgfmathresult{inf}
            \fi
        }
    },
    discard if not/.style 2 args={
        x filter/.code={
            \edef\tempa{\thisrow{#1}}
            \edef\tempb{#2}
            \ifx\tempa\tempb
            \else
                \def\pgfmathresult{inf}
            \fi
        }
    }
}


\begin{document}

    \newboolean{EnglishLanguage}
    \setboolean{EnglishLanguage}{True}

    \begin{frame}[plain]
        \maketitle
    \end{frame}

    \begin{frame}[t]
        \frametitle{Overview}
        \tableofcontents
    \end{frame}

    \setnextsection{0}
    \input{sections/theoretical_background.tex}
    \input{sections/decoding_algorithms.tex}
    \input{sections/examination_results.tex}
    \input{sections/forthcoming_examination.tex}
    
\end{document}
