-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathThesis_Configurations.tex
123 lines (115 loc) · 4.55 KB
/
Thesis_Configurations.tex
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
%------------------------------------------------------------
\documentclass[a4paper,10pt,hyperref={pdfpagemode=FullScreen}]{report}
\usepackage{geometry}
\geometry{ a4paper, total={170mm,257mm}, left=10mm,right=10mm, top=20mm,bottom=15mm}
\usepackage[hang, small, bf, margin=20pt]{caption}%, tableposition=top
\setlength{\abovecaptionskip}{0pt}
\usepackage{makecell}%
\usepackage{graphicx}
\usepackage{subfigure}
\setlength{\parskip}{6pt}
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{definition}[theorem]{Definition}
\usepackage[numbers,sort&compress]{natbib}
%-------------------------------------------
\usepackage{hyperref}
\usepackage{multirow}
\hypersetup{
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue}
\setcounter{secnumdepth}{3}
% -------------------------------------------------------------
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering}{\thechapter}{20pt}{\Huge}
\newcommand{\cchapter}{\chapter}
\titleformat{\cchapter}[display]
{\normalfont\tiny\bfseries\centering}{\thecchapter}{12pt}{\tiny}
% add paragraph as subsubsubsection
\setcounter{secnumdepth}{3}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\usepackage{filecontents}
% -------------------------------------------------------------
\usepackage[dvipsnames, table]{xcolor}
\usepackage{mathtools}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\usepackage{amssymb}
\usepackage{booktabs} % for \toprule ...
\usepackage{collcell}
\usepackage{pgf}
\usepackage{setspace}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,arrows.meta,arrows,calc,intersections,matrix,positioning,patterns,decorations.text,matrix,chains,decorations.pathreplacing}
\tikzstyle{inputNode}=[draw,circle,minimum size=10pt,inner sep=0pt]
\tikzstyle{stateTransition}=[-stealth, thick]
\usepackage{bm}
\usepackage{relsize}
\usepackage{polyglossia}
\usepackage{footnote}
\usepackage{pgfplotstable}% loads pgfplots, tikz, graphicx
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% make the tables and the figures centered automatically
\makeatletter
\g@addto@macro\@floatboxreset\centering
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\colorlet{LightGreen}{green!25}%for figures
\colorlet{DarkGreen}{green!90}%for figures
\colorlet{LightBlue}{blue!40}%for figures
\colorlet{LightPurple}{red!20}%for figures
\colorlet{LightYellow}{yellow!30}%for figures
\colorlet{LightBlue1}{blue!20}%for figures
\colorlet{LightPurple1}{purple!40}%for figures
\definecolor{CodedBlue}{HTML}{375E97}
\definecolor{CodedOrange}{HTML}{FB6542}
\definecolor{CodedYellow}{HTML}{FFBB00}
\definecolor{CodedEmerald}{HTML}{265C00}%375E97
\definecolor{CodedDarkLemon}{HTML}{C6D166}%FB6542
\definecolor{CodedDarkGreen}{HTML}{3F681C}%739F3D
\definecolor{CodedGreen2}{HTML}{BBCF4A}
\definecolor{CodedLemon}{HTML}{E4EABC}
\definecolor{CodedPearGreen}{HTML}{7CAA2D}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% added the below part to reduce the spaces before and after figures and equations.
%% https://tex.stackexchange.com/questions/69662/how-to-globally-change-the-spacing-around-equations
\expandafter\def\expandafter\normalsize\expandafter{%
\normalsize
\setlength\abovedisplayskip{10pt}
\setlength\belowdisplayskip{10pt}
\setlength\abovedisplayshortskip{10pt}
\setlength\belowdisplayshortskip{10pt}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{listing_python_configuration.tex}
\usepackage{algpseudocode}
\usepackage{algorithm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fontspec}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{fourier}
\DeclareMathAlphabet{\mathcal}{OT1}{pzc}{m}{it}
\DeclareSymbolFont{letters}{OML}{cmm}{m}{it}
\usepackage{bidipoem}
\setmainlanguage{english}
\setotherlanguage{arabic}
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\setmainfont[Scale=0.925]{Heuristica}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{pgfplot_configurations.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pdfstringdefDisableCommands{\let\uppercase\relax}%ignore warning \uppercase is not supported when a string is expanded for bookmarks.
\newcommand{\abbrlabel}[1]{\makebox[3cm][l]{\textbf{#1}\ \dotfill}}
\newenvironment{abbreviations}{\begin{list}{}{\renewcommand{\makelabel}{\abbrlabel}}}{\end{list}}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master"
%%% TeX-engine: xetex
%%% End: