%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Includes for Seminar template                                                %
% v1.0 Lasse Einig - einig@informatik.uni-hamburg.de                           %
% Do not edit                                                                  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\IEEEoverridecommandlockouts
\overrideIEEEmargins

\def\ITRpaperversion{1.1}

\usepackage[T1]{fontenc}% Font encoding
\usepackage[utf8]{inputenc}% Required for Umlauts
\usepackage{lmodern}% Required for special letters
\usepackage[english]{babel}% Set language to English

\usepackage{url}% Display urls
\usepackage{textcomp}% Additional text elements
\usepackage{xcolor}% Color support
\usepackage{graphicx}% Add image support
\usepackage{amsmath}% Additional math support
\usepackage{listingsutf8}% Format program code
\usepackage{balance}% Balance the last page
\usepackage{titleps}
\lstset{%
  inputencoding=utf8/latin1,
  backgroundcolor=\color{white},
  basicstyle=\footnotesize\ttfamily,
  breakatwhitespace=false,
  breaklines=true,
  captionpos=b,
  commentstyle=\color{blue},
  deletekeywords={...},
  escapeinside={\%*}{*)},
  extendedchars=true,
  frame=single,
  keepspaces=true,
  keywordstyle=\color{black},
  language=TeX,
  otherkeywords={*,...},
  numbers=left,
  numbersep=5pt,
  numberstyle=\tiny\color{gray},
  rulecolor=\color{black!25},
  showspaces=false,
  showstringspaces=false,
  showtabs=false,
  stepnumber=1,
  stringstyle=\color{gray},
  tabsize=2,
  title=\lstname,
	belowskip=-1em
}
\usepackage{mdframed}
\newmdenv[
  topline=false,
  bottomline=false,
  skipabove=\topsep,
  skipbelow=\topsep
]{siderules}

\newpagestyle{ITRpaper}[\small]{
  \headrule
  \sethead{}{}{Intelligent Robotics Seminar 2023/24}%\thechapter. \chaptertitle}{}{\thesection. \sectiontitle}
  \footrule
  \setfoot{\paperauthor}{\usepage}{\ITRpaperversion}%
}