-
Notifications
You must be signed in to change notification settings - Fork 0
/
proyecto.tex
219 lines (189 loc) · 5.91 KB
/
proyecto.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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
\documentclass[tikz,a4paper,11pt]{book}
%\documentclass[a4paper,twoside,11pt,titlepage]{book}
\usepackage{listings}
\usepackage[utf8]{inputenc}
\usepackage{csquotes}
\usepackage[spanish,es-noquoting]{babel}
\usepackage{forest}
\usepackage{xcolor}
\usepackage[export]{adjustbox}
\usepackage{caption}
\usepackage{float}
\usetikzlibrary{arrows.meta,shapes,positioning,trees}
% \usepackage[style=list, number=none]{glossary} %
%\usepackage{titlesec}
%\usepackage{pailatino}
\decimalpoint
\usepackage{dcolumn}
\newcolumntype{.}{D{.}{\esperiod}{-1}}
\makeatletter
\addto\shorthandsspanish{\let\esperiod\es@period@code}
\makeatother
%\usepackage[chapter]{algorithm}
\RequirePackage{verbatim}
%\RequirePackage[Glenn]{fncychap}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{afterpage}
\usepackage{longtable}
\usepackage[pdfborder={000}]{hyperref} %referencia
% ********************************************************************
% Re-usable information
% ********************************************************************
\newcommand{\myTitle}{Synapse Messenger\xspace}
\newcommand{\myDegree}{Grado en Ingeniería Informática\xspace}
\newcommand{\myName}{Marco Manuel Fernández Pranno\xspace}
\newcommand{\myProf}{Juan Julián Merelo Guervós\xspace}
\newcommand{\myFaculty}{Escuela Técnica Superior de Ingenierías Informática y de Telecomunicación\xspace}
\newcommand{\myFacultyShort}{E.T.S. de Ingenierías Informática y de Telecomunicación\xspace}
\newcommand{\myDepartment}{Departamento de Arquitectura y Tecnología de Computadores\xspace}
\newcommand{\myUni}{\protect{Universidad de Granada}\xspace}
\newcommand{\myLocation}{Granada\xspace}
\newcommand{\myTime}{\today\xspace}
\newcommand{\myVersion}{Version 1.0\xspace}
\newcommand{\innerxsep}{5mm}
\hypersetup{
pdfauthor = {\myName ([email protected])},
pdftitle = {\myTitle},
pdfsubject = {},
pdfkeywords = {Privacidad, anonimato, criptografía, aplicación web, protocolo Signal, TOR, Node, Websockets},
pdfcreator = {LaTeX con el paquete ....},
pdfproducer = {pdflatex}
}
%\hyphenation{}
%\usepackage{doxygen/doxygen}
%\usepackage{pdfpages}
\usepackage{url}
\usepackage{hyperref}
\usepackage{colortbl,longtable}
\usepackage[stable]{footmisc}
%\usepackage{index}
%\makeindex
%\usepackage[style=long, cols=2,border=plain,toc=true,number=none]{glossary}
% \makeglossary
% Definición de comandos que me son tiles:
%\renewcommand{\indexname}{Índice alfabético}
%\renewcommand{\glossaryname}{Glosario}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LO]{\leftmark}
\fancyhead[RE]{\rightmark}
\fancyhead[RO,LE]{\textbf{\thepage}}
\renewcommand{\chaptermark}[1]{\markboth{\textbf{#1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\textbf{\thesection. #1}}}
\setlength{\headheight}{1.5\headheight}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
%Definimos los tipos teorema, ejemplo y definición podremos usar estos tipos
%simplemente poniendo \begin{teorema} \end{teorema} ...
\newtheorem{teorema}{Teorema}[chapter]
\newtheorem{ejemplo}{Ejemplo}[chapter]
\newtheorem{definicion}{Definición}[chapter]
\definecolor{gray97}{gray}{.97}
\definecolor{gray75}{gray}{.75}
\definecolor{gray45}{gray}{.45}
\definecolor{gray30}{gray}{.94}
\lstset{ frame=Ltb,
framerule=0.5pt,
aboveskip=0.5cm,
framextopmargin=3pt,
framexbottommargin=3pt,
framexleftmargin=0.1cm,
framesep=0pt,
rulesep=.4pt,
backgroundcolor=\color{gray97},
rulesepcolor=\color{black},
%
stringstyle=\ttfamily,
showstringspaces = false,
basicstyle=\scriptsize\ttfamily,
commentstyle=\color{gray45},
keywordstyle=\bfseries,
%
numbers=left,
numbersep=6pt,
numberstyle=\tiny,
numberfirstline = false,
breaklines=true,
}
% minimizar fragmentado de listados
\lstnewenvironment{listing}[1][]
{\lstset{#1}\pagebreak[0]}{\pagebreak[0]}
\lstdefinestyle{CodigoC}
{
basicstyle=\scriptsize,
frame=single,
language=C,
numbers=left
}
\lstdefinestyle{CodigoC++}
{
basicstyle=\small,
frame=single,
backgroundcolor=\color{gray30},
language=C++,
numbers=left
}
\lstdefinestyle{Consola}
{basicstyle=\scriptsize\bf\ttfamily,
backgroundcolor=\color{gray30},
frame=single,
numbers=none
}
\newcommand{\bigrule}{\titlerule[0.5mm]}
%Para conseguir que en las páginas en blanco no ponga cabecerass
\makeatletter
\def\clearpage{%
\ifvmode
\ifnum \@dbltopnum =\m@ne
\ifdim \pagetotal <\topskip
\hbox{}
\fi
\fi
\fi
\newpage
\thispagestyle{empty}
\write\m@ne{}
\vbox{}
\penalty -\@Mi
}
\makeatother
% Estilo de grafico de la seccion de planificacion
\tikzset{
box/.style = {draw, text width=4cm, inner xsep=\innerxsep, font=\sffamily, rectangle, rounded corners=2pt, thin, align=center, fill=white, fill opacity=0.8, text opacity=1},
double/.style = {text width=8cm+\innerxsep*2+.25cm},
goal/.style = {box, fill=red!20, double},
activity/.style = {box, fill=blue!20},
task/.style = {box, fill=yellow!75},
}
\usepackage{pdfpages}
\begin{document}
\input{portada/portada}
\input{portada/portada_2}
\input{prefacios/prefacio}
%\frontmatter
\tableofcontents
\listoffigures
%\listoftables
%\mainmatter
%\setlength{\parskip}{5pt}
\input{secciones/objectivos}
\input{secciones/introduccion}
\input{secciones/estado_del_arte}
\input{secciones/servicio_mensajeria}
\input{secciones/planificacion}
\input{secciones/implementacion}
\input{secciones/conclusiones}
%
\nocite{*}
\bibliography{bibliografia}\addcontentsline{toc}{chapter}{Bibliografía}
\bibliographystyle{unsrt}
%
%\appendix
%\input{apendices/manual_usuario/manual_usuario}
%%\input{apendices/paper/paper}
%\input{glosario/entradas_glosario}
% \addcontentsline{toc}{chapter}{Glosario}
% \printglossary
\chapter*{}
\thispagestyle{empty}
\end{document}