showspaces=false, % show spaces adding particular underscores
showstringspaces=false, % underline spaces within strings
showtabs=false, % show tabs within strings adding particular underscores
-% frame=single, % adds a frame around the code
+% frame=single, % adds a frame around the code
frame={tb},
tabsize=2, % sets default tabsize to 2 spaces
caption=\lstname,
- captionpos=b, % sets the caption-position to bottom
-% captionpos=t, % sets the caption-position to top
+% captionpos=b, % sets the caption-position to bottom
+ captionpos=t, % sets the caption-position to top
breaklines=true, % sets automatic line breaking
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
escapeinside={\%*}{*)}, % if you want to add a comment within your code