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.
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%%%
13 \usepackage{indentfirst}%%%Espaciado deprimera línea de cada párrafo%%%
17 \usepackage{appendix} %%%Permite un manejo sencillo de los apéndices. Permite también introducir subapendices.
18 \usepackage[colorlinks=true]{hyperref}
20 \usepackage{anysize} % Soporte para el comando \marginsize
23 \marginsize{3cm}{2cm}{2.5cm}{2.5cm}%Permite manejar los márgenes de forma sencilla
24 \usepackage[Lenny]{fncychap}
26 \usepackage[official]{eurosym} %euro currency official sign.
28 \addtolength{\footskip}{+3cm}
29 \usepackage{fancyhdr}%Para un encabezado especial más visual
30 \usepackage{extramarks}
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}
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},
49 %-----------------------------------------------------------------------------------------------
50 %-----------------------------------------------------------------------------------------------
51 %%% Inicio del documento
54 \input{Portada/Portada.tex}%Portada
56 \pagestyle{plain} %Estilo a usar en las primeras paginas.
57 %==============================================================
59 %===============================================================
63 %==============================================================
65 %==============================================================
66 \input{Agradecimientos/Agradecimientos}
69 %===============================================================
71 %===============================================================
72 %Declaración de extensiones de figuras para el paquete graphicx
73 \DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png,.gif,.fig,.bmp}
75 \renewcommand\tablename{Tabla}
76 \renewcommand\listfigurename{Lista de Figuras}
77 \renewcommand\listtablename{Lista de Tablas}
85 %==============================================================
87 %==============================================================
89 %% Resumen en Castellano
90 \input{Resumen/Resumen}
93 \input{Resumen/Abstract}
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
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 %=============================================================
108 %=============================================================
110 %=============================================================
112 % Using bullets by default in the first level of lists.
113 \renewcommand{\labelitemi}{$\bullet$}
115 \include{capitulo1/capitulo1}
116 \include{capitulo2/capitulo2}
117 \include{capitulo3/capitulo3}
118 \include{capitulo4/capitulo4}
119 \include{capitulo5/capitulo5}
121 %============================================================
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}
130 \input{Presupuesto/Presupuesto}
132 %------------------------------------------------------------
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 %-------------------------------------------------------------