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.
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},
48 %-----------------------------------------------------------------------------------------------
49 %-----------------------------------------------------------------------------------------------
50 %%% Inicio del documento
53 \input{Portada/Portada.tex}%Portada
55 \pagestyle{plain} %Estilo a usar en las primeras paginas.
56 %==============================================================
58 %===============================================================
62 %==============================================================
64 %==============================================================
65 \input{Agradecimientos/Agradecimientos}
68 %===============================================================
70 %===============================================================
71 %Declaración de extensiones de figuras para el paquete graphicx
72 \DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png,.gif,.fig,.bmp}
74 \renewcommand\tablename{Tabla}
75 \renewcommand\listfigurename{Lista de Figuras}
76 \renewcommand\listtablename{Lista de Tablas}
84 %==============================================================
86 %==============================================================
88 %% Resumen en Castellano
89 \input{Resumen/Resumen}
92 \input{Resumen/Abstract}
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
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 %=============================================================
107 %=============================================================
109 %=============================================================
111 % Using bullets by default in the first level of lists.
112 \renewcommand{\labelitemi}{$\bullet$}
114 \include{capitulo1/capitulo1}
115 \include{capitulo2/capitulo2}
116 \include{capitulo3/capitulo3}
117 \include{capitulo4/capitulo4}
119 %============================================================
121 %============================================================
122 \renewcommand{\appendixtocname}{APÉNDICES}%Cambia el nombre de toc para apéndices
123 \renewcommand{\appendixpagename}{APÉNDICES}%Cambia el nombre para la página
124 \renewcommand{\appendixname}{APÉNDICE}
128 \input{Presupuesto/Presupuesto}
130 %------------------------------------------------------------
132 % See: http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html
133 %------------------------------------------------------------
134 \bibliographystyle{plain}
135 %Show the bibliography section in the table of contents
136 \addcontentsline{toc}{chapter}{Referencias}
137 \renewcommand{\bibname}{Referencias}
138 \bibliography{myrefs}
139 %-------------------------------------------------------------