\documentclass[longdoc,colorback,linedtoc,parskip=half*,accentcolor=tud9d,12pt]{tudreport}

%%%%%%%%%%%%%%%%
%Some helpful packages and commands. Modify to your needs.
\usepackage[nottoc]{tocbibind}
\usepackage[english,ngerman]{babel}
\usepackage[utf8]{inputenc}

\usepackage{comment}
\usepackage{graphicx}
\graphicspath{ {graphics/} }

\usepackage{tabularx}
\usepackage{multirow}    
\usepackage{multicol}
\usepackage{rotating}
\usepackage{array}
\usepackage{url}
\usepackage[ngerman,pdfview=FitH,pdfstartview=FitV]{hyperref}
\usepackage[a-1b]{pdfx}
\usepackage{prettyref}
\usepackage{booktabs}
\usepackage{ccicons}  % for Creative Commons citation icons
\usepackage{ragged2e} % for tighter hyphenation
\usepackage{soul}
\usepackage{marginnote}
\usepackage{wrapfig}
\usepackage{blindtext}
\usepackage{csquotes}
\usepackage{lscape}

% llt: Define a global style for URLs, rather that the default one
\makeatletter
\def\url@leostyle{%
	\@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
\urlstyle{leo}

% farben
\definecolor{javared}{rgb}{0.6,0,0} % for strings
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc

\definecolor{sgblue}{rgb}{0.27,0.44,0.84}
\definecolor{sgyellow}{rgb}{0.97,0.97,0.64}
\definecolor{sgred}{rgb}{0.67,0.2,0.0}
\definecolor{sggray}{rgb}{0.4,0.4,0.4}
\definecolor{sggolden}{rgb}{0.97,0.80,0.3}

% quelltexte einbinden
\usepackage{listings}
\renewcommand{\lstlistlistingname}{List of Listings}
\lstset{numbers=left, 
	numberstyle=\tiny, 
	basicstyle=\footnotesize,
	keywordstyle=\color{javapurple}\bfseries,
	stringstyle=\color{javared},
	commentstyle=\color{javagreen},
	morecomment=[s][\color{javadocblue}]{/**}{*/},
	numbersep=10pt, 
	language=Java,
	frame=single
}
\lstset{prebreak=\raisebox{0ex}[0ex][0ex]{$\hookleftarrow$}}
\lstset{postbreak=\raisebox{0ex}[0ex][0ex]{$\hookrightarrow$ }}
\lstset{breaklines=true, breakatwhitespace=true}

\reversemarginpar
\newcommand\todo[1]{
	\marginnote{\hspace*{-2cm}\fcolorbox{sggolden}{sgyellow}{\textbf{\textcolor{sgred}{\textbf{!}}}}\hspace*{0.75cm}} \textsf{\scriptsize{\fcolorbox{sggolden}{sgyellow}{\textbf{\textcolor{red}{TODO}} \textcolor{sgred}{#1}}}}
}