forked from Vashy/ASD-Notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasd-notes.tex
137 lines (101 loc) · 3.38 KB
/
asd-notes.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
\documentclass[12pt,a4paper]{article}
\usepackage[english,italian]{babel}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\hypersetup{
bookmarks=true, % show bookmarks bar?
% unicode=false, % non-Latin characters in Acrobat’s bookmarks
% pdftoolbar=true, % show Acrobat’s toolbar?
pdfmenubar=true, % show Acrobat’s menu?
% pdffitwindow=false, % window fit to page when opened
pdfstartview={FitH}, % fits the width of the page to the window
pdftitle={Note di Algoritmi}, % title
pdfauthor={Timoty Granziero}, % author
% pdfsubject={}, % subject of the document
% pdfcreator={Creator}, % creator of the document
% pdfproducer={Producer}, % producer of the document
% pdfkeywords={keyword1, key2, key3}, % list of keywords
% pdfnewwindow=true, % links in new PDF window
colorlinks=true, % false: boxed links; true: colored links
linkcolor=black, % color of internal links (change box color with linkbordercolor)
% citecolor=green, % color of links to bibliography
% filecolor=magenta, % color of file links
urlcolor=cyan % color of external links
}
\usepackage{graphicx} %img/media
%\usepackage[toc]{glossaries}
\usepackage{enumitem} %lists
\usepackage[perpage]{footmisc} %footnote, starting at 1 every page
%\usepackage{listings} %coding environment
\usepackage{mathtools} %math package
\usepackage{amssymb} % N, R ... symbols
%floor and ceil
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
%abs and norm
\DeclarePairedDelimiter\abs{\lvert}{\rvert}%
\DeclarePairedDelimiter\norm{\lVert}{\rVert}%
% Swap the definition of \abs* and \norm*, so that \abs
% and \norm resizes the size of the brackets, and the
% starred version does not.
\makeatletter
\let\oldabs\abs
\def\abs{\@ifstar{\oldabs}{\oldabs*}}
%
\let\oldnorm\norm
\def\norm{\@ifstar{\oldnorm}{\oldnorm*}}
\makeatother
\usepackage{fancyhdr} %header e footer
\usepackage{clrscode3e} %algorithms pseudocode
\RequirePackage{graphics} % needed for \scalebox command
\newcommand{\authorName}{Timoty Granziero}
%liste
\renewcommand{\labelitemi}{$\circ$}
\renewcommand{\labelitemii}{$\cdot$}
\renewcommand{\labelitemiii}{$\diamond$}
\renewcommand{\labelitemiv}{$\ast$}
\author{\authorName}
\date{\today}
\title{Appunti di Algoritmi}
%header/footer setup
\fancyhf{}
\fancyhead[R]{\small\scshape\nouppercase{\leftmark}}
\fancyhead[LO]{\small\scshape\nouppercase{\rightmark}}
\fancyhead[L,RO]{\small\thepage}
\lhead{\rightmark}
\rhead{\nouppercase{\leftmark}}
\cfoot{\thepage}
%\lfoot{\authorName}
\pagestyle{fancy}
%\input{glossary.tex}
%\makeglossaries
\begin{document}
\begin{titlepage}
\centering
\includegraphics[width=0.50\textwidth]{img/logo_unipd_color.png}\par\vspace{1cm} %logo
{\LARGE\bfseries Appunti di Algoritmi e Strutture Dati \par}
\vspace{1cm}
{\Large\bfseries a.a. 2017/2018 \par}
\vspace{1cm}
Autore: \par
{\bfseries \authorName \par}
\vspace{1cm}
Repository: \par
\url{https://github.com/Vashy/ASD-Notes}
\vfill
% Bottom of the page
{\large \today\par}
\end{titlepage}
\newpage
\tableofcontents
\frenchspacing
\newpage
\input{rel/lez_28_02.tex} \newpage
\input{rel/lez_02_03.tex}
\input{rel/lez_07_03.tex}
\input{rel/lez_08_03.tex}
\input{rel/lez_09_03.tex}
%glossaries
%\glsaddall
%\printglossaries
\end{document}