-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
executable file
·160 lines (124 loc) · 4.52 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
% Template Tesi in Fisica, ispirato al template "Tesi di laurea - Università di Pisa" di Simone Schirinzi (https://www.overleaf.com/latex/templates/tesi-di-laurea-universita-di-pisa/rwdcqtqwftpg).
% Carattere dimensione 12
%\documentclass[12pt]{report}
% Per la stampa fronte-retro sostituire con:
\documentclass[12pt, twoside]{report}
% Margini (4cm a sx, 2.5cm a dx, 2.5cm in alto, 2.5cm in basso)
\usepackage[top=2.5cm, bottom=2.5cm, left=4cm, right=2.5cm, centering, head=21.75 pt]{geometry}
% Per la stampa fronte-retro sostituire con:
% \usepackage[top=2.5cm, bottom=2.5cm, inner=4cm, outer=4cm, right=2.5cm, centering]{geometry}
% Interlinea
\linespread{1.5}
% Librerie utili
\usepackage{amsmath} % AMS Math Package
\usepackage{amsthm} % Theorem Formatting
\usepackage{subfig}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{amssymb}
\usepackage{enumitem}
\usepackage{physics} %for bra ket notation
\usepackage[italian]{babel} % applicazione regole di scrittura per la lingua italiana
\usepackage[utf8]{inputenc} % codifica UTF-8
\usepackage{scrlayer-scrpage} % stili pagina per il frontespizio
\ifoot[]{}
\cfoot[]{}
\ofoot[\pagemark]{\pagemark}
\pagestyle{scrplain}
%\usepackage{mathptmx} % font Times New Roman (simile)
\usepackage{graphicx} % inserimento di immagini
\usepackage{csquotes} % per le citazioni "in blocco"
\usepackage[backend=biber, sorting=none, ]{biblatex} % bibliografia con pacchetto biblatex (https://ctan.org/pkg/biblatex?lang=en)
\appto{\bibsetup}{\raggedright}
\addbibresource{bibliography.bib}
\usepackage{titlesec} % per la formattazione dei titoli delle sezioni, capitoli etc.
\usepackage{float} % per il posizionamento delle immagini
\usepackage{nicefrac}
\usepackage{listings} % per il codice di programmazione
% Fonte https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings. Per la lista di sintassi riconosciute.
\renewcommand{\lstlistingname}{Code}% Listing -> Codice
\usepackage{xcolor} % stile del codice
\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
\definecolor{mymauve}{rgb}{0.58,0,0.82}
\definecolor{darkgray}{rgb}{.4,.4,.4}
\definecolor{navy}{HTML}{000080}
\definecolor{purple}{rgb}{0.65, 0.12, 0.82}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\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}
\usepackage{hyperref} %link pdf
% Formato delle intestazioni
\titleformat{\chapter}[block]
{\normalfont\LARGE\bfseries}{\thechapter.}{0.5em}{\LARGE}
\titlespacing*{\chapter}{0pt}{-20pt}{25pt}
\begin{document}
% Frontespizio
\begin{titlepage}
\begin{center}
{\LARGE{Università degli Studi di Milano-Bicocca \\}}
{\small{Dipartimento di Fisica}}\\
{\small{Corso di Laurea Triennale}}
\end{center}
\begin{figure}[H]
\centering
\includegraphics[width=0.4\textwidth]{logo.png}
\end{figure}
\begin{center}
{\Large { Solunzione numerica dell'equazione di Schr\"odinger}}
\end{center}
\vspace{2cm}
\begin{minipage}[t]{0.47\textwidth}
{\large{\bf Relatore:\\ Carlo Oleari}}
%\vspace{0.5cm}
%{\large{\bf \\Correlatore:\\ Nome Cognome}}
\end{minipage}\hfill\begin{minipage}[t]{0.47\textwidth}\raggedleft
{\large{\bf Candidato: \\Luca Falzoni\\ }}
\end{minipage}
\vspace{25mm}
\centering{\large{\bf ANNO ACCADEMICO 2021/2022 }}
\end{titlepage}
% Fine frontespizio
\tableofcontents
\thispagestyle{empty}
%\listoffigures
\thispagestyle{empty}
\clearpage
\setcounter{page}{1}
\addtocontents{toc}{\protect\thispagestyle{empty}}
\addcontentsline{toc}{chapter}{Introduzione} % Capitolo non numerato
\input{introduzione.tex}
\clearpage
\input{Teoria.tex}
\input{Validazione.tex}
\input{Applicazioni.tex}
\input{Interfaccia.tex}
\clearpage
\addcontentsline{toc}{chapter}{Conclusioni} % Capitolo non numerato
\input{conclusioni.tex}
\input{Ringraziamenti.tex}
\printbibliography
\nocite{*}
\end{document}