Plantilla para el manuscrito principal del MBD de ICAI
\documentclass[12pt, a4paper]{book}
\usepackage[utf8]{inputenc} % Set the utf8 input encoding
\usepackage[T1]{fontenc}
\usepackage[english]{babel} % Select your prefered language. Example: \usepackage[activeacute,spanish]{babel}
\usepackage{amsmath, amsfonts, amssymb} % Mathematical notation
\usepackage{fancyhdr} % Header and footer customization
\usepackage{titlesec} % Section printing customization
\usepackage{graphicx} % Graphics import and tools
\usepackage{geometry} % To modify the geometry of pages (margins and other lengths)
\usepackage{booktabs} % To create beautiful tables
\usepackage{hyperref} % "Advance" and easier referencing
\usepackage{listings} % To add and format code. See
\usepackage{xcolor} % Adds more colors to the available list
\usepackage[final]{pdfpages} % Includes pdfs directly, not as images
\usepackage{lipsum} % Dummy text to test the design
\usepackage{changepage}
\usepackage{xtab}
\usepackage[most]{tcolorbox} %To display boxes
\usepackage[shortlabels]{enumitem} %enumerate with letters
% Header and footer customization
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[R]{\thepage}
\renewcommand{\footrulewidth}{0.4pt}
\fancyfoot[L]{\footnotesize{\textit{Titulo del TFM}\\ \textbf{Autor del TFM}}}
\newenvironment{abstract}%
{\cleardoublepage \null \vfill \begin{center}%
\bfseries \abstractname \end{center}}%
{\vfill\null}
\begin{document}
\frontmatter
\pagestyle{empty}
\input{portada.tex}
\input{autorizacion.tex}
\input{digitalizacion.tex}
\input{portadaBW.tex}
\cleardoublepage
\input{resumen.tex}
\cleardoublepage
\input{abstract.tex}
\cleardoublepage
\input{dedicatoria.tex}
\cleardoublepage
\input{agradecimientos.tex}
\cleardoublepage
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{equation}{0}
\setcounter{footnote}{0}
\tableofcontents
\listoffigures
\listoftables
\lstlistoflistings
\cleardoublepage
\input{acronimos.tex}
\cleardoublepage
\input{simbolos.tex}
\mainmatter
\pagestyle{fancy}
\include{chapter1}
\cleardoublepage
\include{chapter2}
\appendix
\phantomsection
\addcontentsline{toc}{part}{Appendix}
\input{appendixA.tex}
\input{appendixB.tex}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliografía}
\bibliographystyle{plain}
\bibliography{bibliography}
\backmatter
\end{document}