-
Notifications
You must be signed in to change notification settings - Fork 1
/
tesi.tex
67 lines (54 loc) · 1.92 KB
/
tesi.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
\documentclass[12pt,a4paper,titlepage]{book}
\usepackage[lighttt]{lmodern}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[headheight=15.5pt]{geometry}
\usepackage{graphicx}
\usepackage[hidelinks]{hyperref}
% configurazione e macro per documento multilingua
\usepackage[english,italian]{babel}
\newcommand\eng[1]{\foreignlanguage{english}{#1}}
\newcommand\eeng[1]{\foreignlanguage{english}{\emph{#1}}}
% configurazione bibliografia e citazioni
\usepackage[autolang=hyphen,style=numeric-comp]{biblatex}
\addbibresource{tesi.bib}
\usepackage[autostyle,italian=quotes]{csquotes}
% personalizzazione testatine e relative marche
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\uppercase{\thechapter.~#1}}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}
% personalizzazione titoli di capitoli/sezioni
\usepackage{titlesec}
\titleformat{\chapter}[hang]{\Huge\bfseries}{\thechapter.}{1em}{}
\setlength{\parindent}{0pt}
\setlength{\parskip}{0.5\baselineskip plus1pt minus1pt}
% personalizzazione indice
\usepackage{tocloft}
\renewcommand{\cftdot}{}
% personalizzazione liste
\usepackage{enumitem}
\setlist{itemsep=0pt, topsep=1ex, parsep=1ex}
% personalizzazione didascalie figure
\usepackage[justification=centering]{caption}
\usepackage{lipsum} % cancellami
% ============================================================================
\begin{document}
\frontmatter
\pagestyle{plain}
\include{content/frontespizio}
\clearpage{\pagestyle{empty}\cleardoublepage}
\tableofcontents
\cleardoublepage
\include{content/ringraziamenti}
\cleardoublepage
\include{content/abstract}
\clearpage{\pagestyle{empty}\cleardoublepage}
\mainmatter
\pagestyle{fancy}
\include{content/c1}\clearpage{\pagestyle{plain}\cleardoublepage}
\appendix
\include{content/a1}\clearpage{\pagestyle{plain}\cleardoublepage}
\backmatter
\pagestyle{plain}\printbibliography[heading=bibintoc] % bibliografia senza testatine
\end{document}