structure.tex: fixing \lstdefinestyle{mystyle}{}

This commit is contained in:
chhan11 2017-05-30 19:50:42 +02:00
parent 0e1e99bf62
commit 3d92eedc62
1 changed files with 20 additions and 13 deletions

View File

@ -5,7 +5,7 @@
\usepackage{geometry}
\usepackage{listings}
\usepackage{color}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
\usepackage{graphicx}
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib}
\usepackage{float}
@ -82,22 +82,29 @@
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
language=TeX,
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen}\ttfamily,
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
basicstyle=\scriptsize\ttfamily,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=4
showtabs=false,
tabsize=4,
abovecaptionskip=5em,
aboveskip=3em,
belowcaptionskip=5em,
belowskip=3em,
upquote=true,
numbersep=8pt,
rulecolor=\color{black},
}