summaryrefslogtreecommitdiff
path: root/style/style.tex
blob: 2cbd0f2a0915197bbc75c011367a5986db03a760 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
\usepackage[T1]{fontenc}
\usepackage[inline]{enumitem}
\usepackage[dvipsnames]{xcolor}
\usepackage[many]{tcolorbox}
\tcbuselibrary{skins, breakable}
\usetikzlibrary{calc}

\usepackage{xspace,hyperref, lipsum, booktabs, caption, fancyhdr, footmisc, nomencl, rotating, setspace, subfigure,tocbibind, vmargin, watermark, graphicx, pifont, float, array, ipsum, circledsteps, inconsolata, listings}

\hypersetup {
	hidelinks=false,
	colorlinks=true,
	citecolor=Red,
	linkcolor=Red,
}
% Glossaries loads amsmath
\usepackage[acronym, toc]{glossaries}
\usepackage{cleveref}
\textwidth 15cm
\textheight 22cm
\parindent 10pt
\parskip 0pt
\oddsidemargin 2.5cm
\evensidemargin 2.5cm

\newcommand{\ie}{\emph{i.e.,}\xspace}
\newcommand{\eg}{\emph{e.g.,}\xspace}
\newcommand{\etc}{\emph{etc.}\xspace}
\newcommand{\etal}{\emph{et~al.}\xspace}
\newcommand{\todo}[1]{\textcolor{blue}{#1}}
\newcommand{\mysystem}{\emph{Sunfish}\xspace}

\newcommand\myCircled[1]{\scalebox{0.75}{\Circled[fill color=black,inner color=white]{{\sffamily#1}}}}

\newcommand\grayCircled[1]{\scalebox{0.75}{\Circled[fill color=gray,inner color=white]{{\sffamily#1}}}}

\newcommand{\code}[1]{\texttt{#1}}

\newcommand{\BibTeX}{\textsc{B\kern-0.1emi\kern-0.017emb}\kern-0.15em\TeX\xspace}

\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.2,0.2,0.2}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.94,0.9725,1}

\lstdefinestyle{mystyle}{
	backgroundcolor=\color{backcolour},
	commentstyle=\color{codegreen},
	keywordstyle=\color{magenta},
	numberstyle=\sffamily\tiny\color{codegray},
	stringstyle=\color{codepurple},
	basicstyle=\ttfamily\footnotesize,
	breakatwhitespace=false,
	breaklines=true,
	captionpos=b,
	keepspaces=true,
	numbers=left,
	numbersep=5pt,
	showspaces=false,
	showstringspaces=false,
	showtabs=false,
	tabsize=2,
}

\lstset{style=mystyle}



\definecolor{ChapterBackground}{HTML}{101010}
\definecolor{ChapterForeground}{HTML}{e93820}
\definecolor{CoverForeground}{HTML}{ee0000}

%borderline west = {0.5cm}{0pt}{yellow!50!black},
\newtcolorbox{mynote}{%
	enhanced,
	breakable,
	boxrule = 0.2mm,
	colback = yellow!60!white,
	colframe=yellow!60!black,
	sharp corners,
	rounded corners = southeast,
	arc is angular,
	arc = 3mm,
	drop fuzzy shadow=gray!90,
	leftrule=0.6cm,
	overlay unbroken = {%
			\path[fill = tcbcolback!80!black,draw=yellow!60!black]
			([yshift = 3mm]interior.south east) -- ++(-0.4,-0.1) -- ++(0.1,-0.2);

			\node[inner sep=0pt,xshift=.3cm, anchor=center]
			at ($ (frame.north west)!.5!(frame.south west) $) {\Huge \textbf{\textcolor{white}{!}}};
		},
}

\renewcommand\baselinestretch{1.2}