1% Contents of listings-setup.tex
2\usepackage{xcolor}
3\usepackage{fontspec}
4
5\lstset {
6 basicstyle=\ttfamily,
7 numbers=left,
8 keywordstyle=\color[rgb]{0.13,0.29,0.53}\bfseries,
9 stringstyle=\color[rgb]{0.31,0.60,0.02},
10 commentstyle=\color[rgb]{0.56,0.35,0.01}\itshape,
11 numberstyle=\footnotesize,
12 stepnumber=1,
13 numbersep=5pt,
14 backgroundcolor=\color[RGB]{248,248,248},
15 showspaces=false,
16 showstringspaces=false,
17 showtabs=false,
18 tabsize=2,
19 captionpos=b,
20 breaklines=true,
21 breakatwhitespace=true,
22 breakautoindent=true,
23 escapeinside={\%*}{*)},
24 linewidth=\textwidth,
25 basewidth=0.5em,
26 }