You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
852 B
28 lines
852 B
4 years ago
|
\usepackage{color}
|
||
|
|
||
|
\definecolor{codegreen}{rgb}{0,0.6,0}
|
||
|
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
|
||
|
\definecolor{codepurple}{rgb}{0.58,0,0.82}
|
||
|
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
|
||
|
\definecolor{light-gray}{gray}{0.95}
|
||
|
|
||
|
\lstdefinestyle{mystyle}{
|
||
|
backgroundcolor=\color{light-gray},
|
||
|
commentstyle=\color{codegreen},
|
||
|
keywordstyle=\color{magenta},
|
||
|
numberstyle=\tiny\color{codegray},
|
||
|
stringstyle=\color{codepurple},
|
||
|
basicstyle=\footnotesize\ttfamily,
|
||
|
breakatwhitespace=false,
|
||
|
breaklines=true,
|
||
|
captionpos=b,
|
||
|
keepspaces=true,
|
||
|
numbers=none,
|
||
|
numbersep=5pt,
|
||
|
showspaces=false,
|
||
|
showstringspaces=false,
|
||
|
showtabs=false,
|
||
|
tabsize=2
|
||
|
}
|
||
|
|
||
|
\lstset{style=mystyle}
|