fc1638731d607950fc5f1ec97418402b193dd056
[PFCLatex/.git] / PFC.tex
1 \documentclass[12pt,a4paper,oneside,spanish]{book}
2 \usepackage[spanish]{babel} %%%Incluimos el paquete Babel que sirve para separar correctamente las palabras de multitud de idiomas%%%
3 \usepackage[utf8]{inputenc} %Uso codificacion utf8 en todo el documento.
4 %Knuth's computer modern:
5 \usepackage{lmodern} %Use latin modern fonts. Type 1. It is needed if you want to embed your fonts in the generated PDF file.
6 \usepackage[T1]{fontenc} %Type 1 font encoding.
7
8 \usepackage{amsmath}%%%Macros AMS%%%
9 \usepackage{amsthm}%%%Macros AMS para teoremas%%%
10 \usepackage{amsfonts}%%%Permite usar fuentes AMS%%%
11 \usepackage{amssymb}%%%Para usar simbolos AMS%%%
12 \usepackage{shadow}
13 \usepackage{indentfirst}%%%Espaciado deprimera línea de cada párrafo%%%
14 \usepackage{fancyhdr}
15 \linespread{1.5}
16 \usepackage{graphicx}
17 \usepackage{appendix} %%%Permite un manejo sencillo de los apéndices. Permite también introducir subapendices.
18 \usepackage[colorlinks=true]{hyperref}
19 \usepackage{graphics}
20 \usepackage{anysize} % Soporte para el comando \marginsize
21 \usepackage{theorem}
22 \usepackage{float}
23 \marginsize{3cm}{2cm}{2.5cm}{2.5cm}%Permite manejar los márgenes de forma sencilla
24 \usepackage[Lenny]{fncychap}
25 \usepackage{url}
26 \usepackage[official]{eurosym} %euro currency official sign.
27 \pagestyle{fancy}
28 \addtolength{\footskip}{+3cm}
29 \usepackage{fancyhdr}%Para un encabezado especial más visual
30 \usepackage{extramarks}
31 \usepackage{tabularx}
32 \usepackage[table]{xcolor}%This package is needed in order to use colors in the Latex tables.
33 \usepackage{caption}%Excluding items from list of figures and list of tables.
34 \hypersetup
35 {
36     bookmarks=true,
37     pdfauthor={Gustavo Martin Morcuende},
38     pdfsubject={Ingeniero de Telecomunicacion, Proyecto Final de Carrera},
39     pdftitle={Geolocalización y publicidad: el mundo como tablón de anuncios},
40     pdfkeywords={LaTeX, PDF, UAH, móvil, anuncio, GPS, telefonía, Symfony, PostGIS, PostgreSQL},
41     colorlinks=black,
42     linkcolor=black,
43     citecolor=black,
44     filecolor=black,
45     urlcolor=black,
46 }
47
48 %-----------------------------------------------------------------------------------------------
49 %-----------------------------------------------------------------------------------------------
50 %%% Inicio del documento
51 \begin{document}
52
53 \input{Portada/Portada.tex}%Portada
54
55 \pagestyle{plain} %Estilo a usar en las primeras paginas.
56 %==============================================================
57 % Acta
58 %===============================================================
59 \include{Acta/Acta}
60 \cleardoublepage
61
62 %==============================================================
63 %Agradecimientos
64 %==============================================================
65 \input{Agradecimientos/Agradecimientos}
66 \cleardoublepage
67
68 %===============================================================
69 %Índices
70 %===============================================================
71 %Declaración de extensiones de figuras para el paquete graphicx
72 \DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png,.gif,.fig,.bmp}
73
74 \renewcommand\tablename{Tabla}
75 \renewcommand\listfigurename{Lista de Figuras}
76 \renewcommand\listtablename{Lista de Tablas}
77
78 \begingroup
79 \tableofcontents
80 \listoffigures
81 \listoftables
82 \endgroup
83
84 %==============================================================
85 %Resumenes
86 %==============================================================
87
88 %% Resumen en Castellano
89 \input{Resumen/Resumen}
90 \cleardoublepage
91 %% Resumen en Inglés
92 \input{Resumen/Abstract}
93 \cleardoublepage
94
95 %===============================================================
96 %Para el encabezado que se va a utilizar en todo el proyecto
97 %===============================================================
98 \pagestyle{fancy} %Estilo a usar en el resto del documento por defecto
99
100 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
101 \fancyhf{} \fancyhead[LE,RO]{\bfseries\thepage}
102 \fancyhead[LO]{\bfseries\rightmark}
103 \fancyhead[RE]{\bfseries\leftmark}
104 \setlength{\headheight}{15pt}
105 %=============================================================
106
107 %=============================================================
108 %Capítulos
109 %=============================================================
110
111 % Using bullets by default in the first level of lists.
112 \renewcommand{\labelitemi}{$\bullet$}
113
114 \include{capitulo1/capitulo1}
115 \include{capitulo2/capitulo2}
116 \include{capitulo3/capitulo3}
117 \include{capitulo4/capitulo4}
118 \include{capitulo5/capitulo5}
119
120 %============================================================
121 %   Apéndices
122 %============================================================
123 \renewcommand{\appendixtocname}{APÉNDICES}%Cambia el nombre de toc para apéndices
124 \renewcommand{\appendixpagename}{APÉNDICES}%Cambia el nombre para la página
125 \renewcommand{\appendixname}{APÉNDICE}
126 \appendix
127 \appendixpage
128 \addappheadtotoc
129 \input{Presupuesto/Presupuesto}
130
131 %------------------------------------------------------------
132 %          Bibliography
133 % See: http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html
134 %------------------------------------------------------------
135 \bibliographystyle{plain}
136 %Show the bibliography section in the table of contents
137 \addcontentsline{toc}{chapter}{Referencias}
138 \renewcommand{\bibname}{Referencias}
139 \bibliography{myrefs}
140 %-------------------------------------------------------------
141
142 \end{document}