\documentclass[12pt,a4paper,oneside,spanish]{book}
\usepackage[spanish]{babel} %%%Incluimos el paquete Babel que sirve para separar correctamente las palabras de multitud de idiomas%%%
-\usepackage[utf8]{inputenc}
-\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc} %Uso codificacion utf8 en todo el documento.
+%Knuth's computer modern:
+\usepackage{lmodern} %Use latin modern fonts. Type 1. It is needed if you want to embed your fonts in the generated PDF file.
+\usepackage[T1]{fontenc} %Type 1 font encoding.
+
\usepackage{amsmath}%%%Macros AMS%%%
\usepackage{amsthm}%%%Macros AMS para teoremas%%%
\usepackage{amsfonts}%%%Permite usar fuentes AMS%%%
\marginsize{3cm}{2cm}{2.5cm}{2.5cm}%Permite manejar los márgenes de forma sencilla
\usepackage[Lenny]{fncychap}
\usepackage{url}
-\usepackage{eurofont}%Permite usar el símbolo de euro
+\usepackage[official]{eurosym} %euro currency official sign.
\pagestyle{fancy}
\addtolength{\footskip}{+3cm}
\usepackage{fancyhdr}%Para un encabezado especial más visual
\usepackage{extramarks}
+\usepackage{tabularx}
+\usepackage[table]{xcolor}%This package is needed in order to use colors in the Latex tables.
+\usepackage{caption}%Excluding items from list of figures and list of tables.
+\usepackage[bottom]{footmisc}
+\usepackage{lscape}
+\usepackage{listings}
+\hypersetup
+{
+ bookmarks=true,
+ pdfauthor={Gustavo Martin Morcuende},
+ pdfsubject={Ingeniero de Telecomunicacion, Proyecto Final de Carrera},
+ pdftitle={Geolocalización y publicidad: el mundo como tablón de anuncios},
+ pdfkeywords={LaTeX, PDF, UAH, móvil, anuncio, GPS, telefonía, Symfony, PostGIS, PostgreSQL},
+ colorlinks=black,
+ linkcolor=black,
+ citecolor=black,
+ filecolor=black,
+ urlcolor=black,
+}
-\author{Gustavo Martin Morcuende}
-\title{\textbf{\Huge{MEDIDA}}}
%-----------------------------------------------------------------------------------------------
%-----------------------------------------------------------------------------------------------
%%% Inicio del documento
\begin{document}
-\input{Portada/port.tex}%Portada
+\input{Portada/Portada.tex}%Portada
\pagestyle{plain} %Estilo a usar en las primeras paginas.
%==============================================================
\DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png,.gif,.fig,.bmp}
\renewcommand\tablename{Tabla}
+\renewcommand\lstlistingname{Listado}
\renewcommand\listfigurename{Lista de Figuras}
\renewcommand\listtablename{Lista de Tablas}
+\renewcommand*{\lstlistlistingname}{Listados de Código}
+\begingroup
\tableofcontents
\listoffigures
\listoftables
+\lstlistoflistings
+\endgroup
%==============================================================
%Resumenes
%Capítulos
%=============================================================
+% Using bullets by default in the first level of lists.
+\renewcommand{\labelitemi}{$\bullet$}
+
\include{capitulo1/capitulo1}
\include{capitulo2/capitulo2}
+\include{capitulo3/capitulo3}
+\include{capitulo4/capitulo4}
+\include{capitulo5/capitulo5}
+\include{capitulo6/capitulo6}
+\include{capitulo7/capitulo7}
+\include{capitulo8/capitulo8}
+
%============================================================
% Apéndices
%============================================================
-\renewcommand{\appendixtocname}{APÉNDICES}%Cambia el nombre de toc para apéndices
-\renewcommand{\appendixpagename}{APÉNDICES}%Cambia el nombre para la página
-\renewcommand{\appendixname}{APÉNDICE}
+\renewcommand{\appendixtocname}{Apéndices}%Cambia el nombre de toc para apéndices
+\renewcommand{\appendixpagename}{Apéndices}%Cambia el nombre para la página
+\renewcommand{\appendixname}{Apéndice}
\appendix
-\appendixpage
+\cleardoublepage
\addappheadtotoc
-\input{Presupuesto/Presupuesto}
+\appendixpage
+\include{manualUsuario/manualUsuario}
+\include{glosario/glosario}
%------------------------------------------------------------
-% Bibliografia
+% Bibliography
+% See: http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html
%------------------------------------------------------------
-\bibliographystyle{abbrv}
-\bibliography{bsample}
+\bibliographystyle{plain}
+%Show the bibliography section in the table of contents
+\addcontentsline{toc}{chapter}{Referencias}
+\renewcommand{\bibname}{Referencias}
+\bibliography{myrefs}
%-------------------------------------------------------------
\end{document}