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