fc8091d78afb26f2cd321efae9aeb4e972e050c5
[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 \usepackage[bottom]{footmisc}
35 \hypersetup
36 {
37     bookmarks=true,
38     pdfauthor={Gustavo Martin Morcuende},
39     pdfsubject={Ingeniero de Telecomunicacion, Proyecto Final de Carrera},
40     pdftitle={Geolocalización y publicidad: el mundo como tablón de anuncios},
41     pdfkeywords={LaTeX, PDF, UAH, móvil, anuncio, GPS, telefonía, Symfony, PostGIS, PostgreSQL},
42     colorlinks=black,
43     linkcolor=black,
44     citecolor=black,
45     filecolor=black,
46     urlcolor=black,
47 }
48
49 %-----------------------------------------------------------------------------------------------
50 %-----------------------------------------------------------------------------------------------
51 %%% Inicio del documento
52 \begin{document}
53
54 \input{Portada/Portada.tex}%Portada
55
56 \pagestyle{plain} %Estilo a usar en las primeras paginas.
57 %==============================================================
58 % Acta
59 %===============================================================
60 \include{Acta/Acta}
61 \cleardoublepage
62
63 %==============================================================
64 %Agradecimientos
65 %==============================================================
66 \input{Agradecimientos/Agradecimientos}
67 \cleardoublepage
68
69 %===============================================================
70 %Índices
71 %===============================================================
72 %Declaración de extensiones de figuras para el paquete graphicx
73 \DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png,.gif,.fig,.bmp}
74
75 \renewcommand\tablename{Tabla}
76 \renewcommand\listfigurename{Lista de Figuras}
77 \renewcommand\listtablename{Lista de Tablas}
78
79 \begingroup
80 \tableofcontents
81 \listoffigures
82 \listoftables
83 \endgroup
84
85 %==============================================================
86 %Resumenes
87 %==============================================================
88
89 %% Resumen en Castellano
90 \input{Resumen/Resumen}
91 \cleardoublepage
92 %% Resumen en Inglés
93 \input{Resumen/Abstract}
94 \cleardoublepage
95
96 %===============================================================
97 %Para el encabezado que se va a utilizar en todo el proyecto
98 %===============================================================
99 \pagestyle{fancy} %Estilo a usar en el resto del documento por defecto
100
101 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
102 \fancyhf{} \fancyhead[LE,RO]{\bfseries\thepage}
103 \fancyhead[LO]{\bfseries\rightmark}
104 \fancyhead[RE]{\bfseries\leftmark}
105 \setlength{\headheight}{15pt}
106 %=============================================================
107
108 %=============================================================
109 %Capítulos
110 %=============================================================
111
112 % Using bullets by default in the first level of lists.
113 \renewcommand{\labelitemi}{$\bullet$}
114
115 \include{capitulo1/capitulo1}
116 \include{capitulo2/capitulo2}
117 \include{capitulo3/capitulo3}
118 \include{capitulo4/capitulo4}
119 \include{capitulo5/capitulo5}
120
121 %============================================================
122 %   Apéndices
123 %============================================================
124 \renewcommand{\appendixtocname}{APÉNDICES}%Cambia el nombre de toc para apéndices
125 \renewcommand{\appendixpagename}{APÉNDICES}%Cambia el nombre para la página
126 \renewcommand{\appendixname}{APÉNDICE}
127 \appendix
128 \appendixpage
129 \addappheadtotoc
130 \input{Presupuesto/Presupuesto}
131
132 %------------------------------------------------------------
133 %          Bibliography
134 % See: http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html
135 %------------------------------------------------------------
136 \bibliographystyle{plain}
137 %Show the bibliography section in the table of contents
138 \addcontentsline{toc}{chapter}{Referencias}
139 \renewcommand{\bibname}{Referencias}
140 \bibliography{myrefs}
141 %-------------------------------------------------------------
142
143 \end{document}