-
Notifications
You must be signed in to change notification settings - Fork 0
/
mystyle.sty
36 lines (30 loc) · 824 Bytes
/
mystyle.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
\ProvidesPackage{mystyle}
\usepackage{listings}
\usepackage[dvipsnames]{xcolor}
\usepackage{dsfont}
\usepackage{float}
\usepackage{amsmath, amssymb}
\definecolor{UTTeal}{RGB}{0,95,134}
\lstdefinestyle{custompy}{
belowcaptionskip=1\baselineskip,
breaklines=true,
frame=L,
xleftmargin=\parindent,
language=Python,
showstringspaces=false,
basicstyle=\footnotesize\ttfamily,
keywordstyle=\bfseries\color{BurntOrange},
commentstyle=\itshape\color{purple!40!black},
identifierstyle=\color{UTTeal},
stringstyle=\color{orange},
}
\lstdefinestyle{customasm}{
belowcaptionskip=1\baselineskip,
frame=L,
xleftmargin=\parindent,
language=[x86masm]Assembler,
basicstyle=\footnotesize\ttfamily,
commentstyle=\itshape\color{purple!40!black},
}
\lstset{style=custompy}
\newcommand{\reals}{\mathds{R}}