-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathStile.sty
More file actions
executable file
·76 lines (72 loc) · 1.63 KB
/
Stile.sty
File metadata and controls
executable file
·76 lines (72 loc) · 1.63 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
69
70
71
72
73
74
75
76
% Nome del file: Stile.sty
% Percorso: /documenti/template/
% Autore: Vault-Tech
% Data creazione: 27.12.2015
% E-mail: vaulttech.swe@gmail.com
%
% PACCHETTI
%
\usepackage{courier}
\usepackage{listings}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{lastpage}
%
% IMPOSTAZIONI GENERALI PACCHETTO ``listings"
%
\lstset{
basicstyle=\ttfamily,
numbersep=5pt,
numberstyle=\tiny,
literate={à }{{\`a}}1 {è}{{\`e}}1,
extendedchars=true,
inputencoding=utf8x,
frame=single,
commentstyle=\textit,
keepspaces=true,
breaklines=true
}
%
% COPERTINA
%
\renewcommand{\maketitle}{
\begingroup
\centering
\includegraphics[scale=0.5]{Img/logo.png}\\
\vspace{4cm}
{\LARGE \PROGETTO}\\
\rule{12cm}{0.4pt}\\
\vspace{1cm}
{\Huge \TITOLO}\\
\rule{12cm}{0.4pt}\\
\vspace{2cm}
\vfill
\begin{table}[h]
\centering
\begin{tabular}{r|l}
\textbf{Nome del documento} & \NOME \\
\textbf{Versione} & \VERSIONE \\
\textbf{Data di approvazione} & \DATA \\
\textbf{Redazione} & \REDATTORE \\
\textbf{Verifica} & \VERIFICATORE \\
\textbf{Approvazione} & \RESPONSABILE \\
\textbf{Uso} & \USO \\
\textbf{Lista di distribuzione} & \DISTRIBUZIONE \\
\end{tabular}
\end{table}
\setcounter{page}{0}
\thispagestyle{empty}
\newpage
\clearpage
\setcounter{page}{1}
\endgroup
}
%
% HEADER E FOOTER
%
\pagestyle{fancy}
\lhead{\includegraphics[scale=0.1]{Img/logo.png}}
\lfoot{\TITOLO}
\cfoot{\href{mailto:vaulttech.swe@gmail.com}{vaulttech.swe@gmail.com}}
\rfoot{Pagina \thepage{} di \pageref{LastPage}}
\renewcommand{\footrulewidth}{0.4pt}