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}
36 pdfauthor={Gustavo Martin Morcuende},
37 pdfsubject={Ingeniero de Telecomunicacion, Proyecto Final de Carrera},
38 pdftitle={Geolocalización y publicidad: el mundo como tablón de anuncios},
39 pdfkeywords={LaTeX, PDF, UAH, móvil, anuncio, GPS, telefonía, Symfony, PostGIS, PostgreSQL},
47 %-----------------------------------------------------------------------------------------------
48 %-----------------------------------------------------------------------------------------------
49 %%% Inicio del documento
52 \input{Portada/Portada.tex}%Portada
54 \pagestyle{plain} %Estilo a usar en las primeras paginas.
55 %==============================================================
57 %===============================================================
61 %==============================================================
63 %==============================================================
64 \input{Agradecimientos/Agradecimientos}
67 %===============================================================
69 %===============================================================
70 %Declaración de extensiones de figuras para el paquete graphicx
71 \DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png,.gif,.fig,.bmp}
73 \renewcommand\tablename{Tabla}
74 \renewcommand\listfigurename{Lista de Figuras}
75 \renewcommand\listtablename{Lista de Tablas}
83 %==============================================================
85 %==============================================================
87 %% Resumen en Castellano
88 \input{Resumen/Resumen}
91 \input{Resumen/Abstract}
94 %===============================================================
95 %Para el encabezado que se va a utilizar en todo el proyecto
96 %===============================================================
97 \pagestyle{fancy} %Estilo a usar en el resto del documento por defecto
99 \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
100 \fancyhf{} \fancyhead[LE,RO]{\bfseries\thepage}
101 \fancyhead[LO]{\bfseries\rightmark}
102 \fancyhead[RE]{\bfseries\leftmark}
103 \setlength{\headheight}{15pt}
104 %=============================================================
106 %=============================================================
108 %=============================================================
110 % Using bullets by default in the first level of lists.
111 \renewcommand{\labelitemi}{$\bullet$}
113 \include{capitulo1/capitulo1}
114 \include{capitulo2/capitulo2}
115 \include{capitulo3/capitulo3}
116 \include{capitulo4/capitulo4}
118 %============================================================
120 %============================================================
121 \renewcommand{\appendixtocname}{APÉNDICES}%Cambia el nombre de toc para apéndices
122 \renewcommand{\appendixpagename}{APÉNDICES}%Cambia el nombre para la página
123 \renewcommand{\appendixname}{APÉNDICE}
127 \input{Presupuesto/Presupuesto}
129 %------------------------------------------------------------
131 % See: http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html
132 %------------------------------------------------------------
133 \bibliographystyle{plain}
134 %Show the bibliography section in the table of contents
135 \addcontentsline{toc}{chapter}{Referencias}
136 \renewcommand{\bibname}{Referencias}
137 \bibliography{myrefs}
138 %-------------------------------------------------------------