\usepackage[dvipsnames]{xcolor}
\usepackage{acronym}					% acronym list and writing acronyms full length exactly once
% \usepackage{amsfonts}
\usepackage{amsmath}					%\align
\usepackage{amssymb}					%\leftrightsquigarrow,\rightsquigarrow
\usepackage{amsopn}						%\DeclareMathOperator,\qopname
\usepackage{amsthm}						%Theorems
%% algorithm needs to be after hyperref
%\usepackage{ae} 							% Umbruch von Woertern mit Umlauten
\usepackage[english]{babel}
%\usepackage[ngerman]{babel} 					% benutzt globales ngerman
\usepackage{bbold}
\usepackage{booktabs}
\usepackage{cancel}
\usepackage{caption}
\usepackage{color}						%\colorbox
\usepackage{dsfont}						%\mathds
\usepackage{draftwatermark}
\SetWatermarkLightness{0.95} % default: 0.8
\usepackage{epigraph}
% \usepackage{euler}  					% euler: uni, eucal: baake, ohne: standard
\usepackage{eucal}						% euler calligraphy
\usepackage{float} 						% fuer die [H]-Option (genau hier!) bei Bildern
% \usepackage{floatflt} 				% fuer floating figures (vom text umschlossene bilder)
\usepackage[T1]{fontenc}
\usepackage{graphicx}					%Bilder einbinden
\usepackage{icomma}
\usepackage{ifthen}
\usepackage[utf8x]{inputenc}	%Zeichensatz
% \usepackage{latexsym}					%\leadsto
% \usepackage{lscape}						% landscape, rotates content, but not page
\usepackage{pdflscape}						% shows page in pdf as landscape
\usepackage{listings}				% wysiwyg code
\usepackage{layout}
\usepackage{makeidx}					% Indexerstellung
% \usepackage{marvosym}					% spez zeichen (kutline)
\usepackage{mathtools}
\usepackage{multirow}
\usepackage{nicefrac}
\usepackage[numbers,square,sort&compress]{natbib}
\usepackage{patchcmd}
%\usepackage[draft]{pdfpages}
\usepackage{pdfpages}
\usepackage{pifont}
%\usepackage{pst-all}					% PSTricks-Grafikerstellung
%\usepackage{pstricks}
%\usepackage{qtree}						% baum
% \usepackage[active]{srcltx}		% dvi -> tex zeile
% \usepackage{pdfsync}					% pdf -> tex zeile
\usepackage{rotating}
\usepackage[onehalfspacing]{setspace}
% \usepackage{stmaryrd}
% \usepackage{subfigure}				%obsolete, use subfig or caption instead
%\usepackage{subfig}
\usepackage{subcaption}
\usepackage{tabularx}					% tabellen mit definierter breite
% \usepackage{teubner}
\usepackage{textcomp}
\usepackage{times}
\usepackage[colorinlistoftodos,prependcaption]{todonotes}
\usepackage[ugly]{units}			% \unit[Wert]{Einheit}
% \usepackage{varioref} 				% schlaue referenzen: \vref{key} \vpageref[text]{key} \vrefrange, \vpagerefrange
\usepackage{verbatim} % \begin{comment} \end{comment}
\usepackage{wrapfig}
% \usepackage{wasysym}
\usepackage{xspace}						% intelligent \makro_ whitespace
\usepackage{xargs}                      % use more than one optional parameter in new commands

% ###### Caption ######
\captionsetup{margin=0.5cm, indention=0.5cm, font=small, labelfont=bf, format=plain,singlelinecheck=true,skip=3pt}
% [] options: global (table, figure) -> subfloat (subtable, subfigure)
\captionsetup[subfigure]{labelfont=md, margin=0pt, parskip=0pt, hangindent=0pt, indention=0.62cm, singlelinecheck=true} %removed captionskip=4pt
\captionsetup[table]{position=above,parskip=0pt,singlelinecheck=true,skip=2pt} %removed captionskip=4pt
\captionsetup[subtable]{position=bottom,labelfont=md,margin=0pt,parskip=0pt, hangindent=0pt, indention=0pt, singlelinecheck=true, captionskip=2pt}
% keywords: position=top,

% \usepackage{listings} % fuer pretty printing von Quellcode
%   \renewcommand{\lstlistlistingname}{Algorithmenverzeichnis}
%   \renewcommand{\lstlistingname}{Algorithmus}
% \lstset{basicstyle=\small,language=C++,tabsize=2,breaklines=true,breakautoindent=true,frame=tb,
% literate={!=}{{$\neq$}}1 {>=}{{$\geq$}}1 {<=}{{$\leq$}}1 {:=}{{$\gets$}}1}

% http://mirror.switch.ch/ftp/mirror/tex/macros/latex/contrib/hyperref/doc/manual.html
\usepackage[pdftitle={Evaluation of the Performance of Randomized FFD Control Grids - Master Thesis},pdfauthor={Stefan Dresselhaus},
bookmarks,colorlinks,citecolor=black,urlcolor=black,menucolor=black,linkcolor=black,pdfview=FitH,pdfpagelayout=TwoPageRight,bookmarksopen=true,bookmarksopenlevel=1]{hyperref}

%%%% Algorithm / algorithmic
\usepackage{algorithm}				% see below
\usepackage[noend]{algorithmic}% \usepackage{algorithmic}
\renewcommand{\algorithmiccomment}[1]{//\emph{#1}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}
\renewcommand{\algorithmicrequire}{\textbf{Input:}} % Given:
% \algsetup{indent=2em}
