-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
63 lines (52 loc) · 1.44 KB
/
main.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
\documentclass[a4paper, 11pt]{scrartcl}
%% Language and font encodings
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
%% Sets page size and margins
\usepackage[a4paper,top=3cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}
%% Useful packages
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{float}
\usepackage{url}
\usepackage{listings}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\usepackage{authblk}
\lstdefinelanguage{F}{%
language = C,
morekeywords = {fract},
basicstyle=\ttfamily,
keywordstyle=\color{blue}\ttfamily,
stringstyle=\color{red}\ttfamily,
commentstyle=\color{gray}\ttfamily,
morecomment=[l][\color{magenta}]{\#}
}
\title{FAC - F Academic Compiler}
\author[1]{Mirko Bez}
\author[2]{Stefano Munari}
\affil[1]{\href{mailto:mirko.bez@studenti.unipd.it}{mirko.bez@studenti.unipd.it}}
\affil[2]{\href{mailto:stefano.munari.1@studenti.unipd.it}{stefano.munari.1@studenti.unipd.it}}
% Image directory
\graphicspath{{res/img/}}
% Set path for the sections
\makeatletter
\providecommand*{\input@path}{}
\g@addto@macro\input@path{{section/}}% append
\makeatother
\begin{document}
\maketitle
\tableofcontents
\listoffigures
\lstlistoflistings
\newpage
\input{introduction}
\input{lexer}
\input{parser}
\input{symbol-table}
\input{type-checking}
\input{three-address-code}
\input{target-code-generator}
\input{conclusion}
\input{bibliography}
\end{document}