-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackages.tex
More file actions
68 lines (61 loc) · 1.69 KB
/
packages.tex
File metadata and controls
68 lines (61 loc) · 1.69 KB
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
\usepackage[]{algorithm2e}
\usepackage{cite}
\usepackage{calc}
\usepackage{minted}
\usepackage{fancyhdr}
\usepackage{lipsum}
\usepackage{color}
\usepackage{ragged2e}
\usepackage[inline]{enumitem}
\usepackage[dvipsnames]{xcolor}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\usepackage{tabu}
\usepackage{hyperref}
\usepackage{xepersian}
\usepackage{minted}
\usepackage[table]{xcolor}
% Define the MIPS assembly language lexer
\hypersetup{
colorlinks = true, %Colours links instead of ugly boxes
urlcolor = black, %Colour for external hyperlinks
linkcolor = black, %Colour of internal links
citecolor = red %Colour of citations
}
\usemintedstyle{trac}
\newminted[asm]{asm}{%
% Set the language to MIPS assembly
% (you can also use 'mips' instead of 'asm')
language=asm,
% Set the font size of the code
fontsize=\footnotesize,
% Set the background color of the code block
bgcolor=lightgray,
% Set the font family of the code
fontfamily=tt
}
\settextfont[BoldFont={XB Yas Bd}, ItalicFont={XB Yas It}, BoldItalicFont={XB Yas BdIt}, Extension = .ttf]{XB Yas}
\fancyhead[L]{\includegraphics[scale = 0.07]{images/Ferdowsi_University_of_Mashhad_Logo.png}}
\fancyhead[R]{\large \Course}
\fancyhead[C]{\Large \Subject}
\renewcommand{\headrulewidth}{0.5mm}
\pagestyle{fancy}
\setlength{\headheight}{32pt}
\setminted{
frame=lines,
framesep=2mm,
baselinestretch=1.0,
xrightmargin=0in,
xleftmargin=0in,
fontsize=\footnotesize,
linenos=false
}
% \makeatletter
% \newcommand{\chapterauthor}[1]{%
% {\parindent0pt\vspace*{-25pt}%
% \linespread{1.1}\large\scshape#1%
% \par\nobreak\vspace*{35pt}}
% \@afterheading%
% }
% \makeatother