\usepackage{listings}
\usepackage{graphicx}
\usepackage{float}
+\usepackage{tabu}
\usepackage{tabularx}
+\usepackage{longtable}
+\usepackage{amsfonts}
+\newcommand{\xmark}{\texttt{\textbf{x}}}
\lstset{%
- basicstyle=\footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
frame=single, % adds a frame around the code