%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Masters/Doctoral Thesis
% LaTeX Template
% Version 1.43 (17/5/14)
%
% This template has been documentownloaded from:
% http://www.LaTeXTemplates.com
%
% Original authors:
% Steven Gunn
% http://users.ecs.soton.ac.uk/srg/softwaretools/do cument/templates/
% and
% Sunil Patel
% http://www.sunilpatel.co.uk/thesis-template/
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
% Note:
% Make sure to edit document variables in the Thesis.cls file
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[11pt, twoside ,openright]{Thesis}
\usepackage{graphicx}
\usepackage{placeins}
\usepackage{tabularx}
\usepackage{todonotes}
\usepackage{enumerate}
\usepackage{listings}
\usepackage{epsfig}
\usepackage{booktabs}
\usepackage{pifont}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{array}
\usepackage{multirow}
\usepackage[square, numbers, comma, sort&compress]{natbib}
\usepackage{booktabs,xcolor,siunitx}
\usepackage[spanish]{babel}
\usepackage{subfiles}
\usepackage{enumerate}
\title{\ttitle} % Defines the thesis title - don't touch this
\usepackage{bibentry}
\usepackage{subcaption}
\usepackage{color}
\usepackage{colortbl}
%\usepackage[acronym,nomain]{glossaries}
\usepackage{diagbox}
\usepackage{pdflscape}
\usepackage{hhline}
\usepackage{ifthen}
\DeclareFontShape{OT1}{cmr}{bx}{sc}{<-> cmbcsc10}{}
%\makeglossaries
%\include{Acronim}
\begin{document}
\frontmatter % Use roman page numbering style (i, ii, iii, iv...) for the pre-content pages
\setstretch{1.3} % Line spacing of 1.3
% Define the page headers using the FancyHdr package and set up for one-sided printing
\fancyhead{} % Clears all page headers and footers
\rhead{\thepage} % Sets the right side header to show the page number
\lhead{} % Clears the left side page header
\pagestyle{fancy} % Finally, use the "fancy" page style to implement the FancyHdr headers
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % New command to make the lines in the title page
\renewcommand{\listtablename}{Índice de tablas}
\renewcommand{\tablename}{Tabla}
% PDF meta-data
\hypersetup{pdftitle={\ttitle}}
\hypersetup{pdfsubject=\subjectname}
\hypersetup{pdfauthor=\authornames}
\hypersetup{pdfkeywords=\keywordnames}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\begin{center}
\begin{figure}[htbp]
\centering
\includegraphics[width=0.20\textwidth]{Figures/4-04-UTN-logo.jpg}
\label{fig:label}
\end{figure}
\textsc{\LARGE \univname}\\[1cm] % University name
\textsc{\Large Tesis de Especialización}\\[0.5cm] % Thesis type
\HRule \\[0.4cm] % Horizontal line
{\huge \bfseries \ttitle}\\[0.4cm] % Thesis title
\HRule \\[1.5cm] % Horizontal line
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Autor:}\\
\authornames
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Director:} \\
\supname
\end{flushright}
\end{minipage}\\[2cm]
\large \textit{Esta tesis cumple con los requisitos\\ para el grado de \degreename}\\[0.3cm] % University requirement text
\textit{}\\[0.4cm]
\begin{figure}[htbp]
\centering
\includegraphics[width=0.30\textwidth]{Figures/image-logo-gitia.png}
\label{fig:gitia-logo}
\end{figure}
\groupname\\\deptname\\[2cm] % Research group name and department name
{\large \today}\\ %Date
\end{center}
\end{titlepage}
%----------------------------------------------------------------------------------------
% ABSTRACT PAGE
%----------------------------------------------------------------------------------------
\addtotoc{Resumen} % Add the "Abstract" page entry to the Contents
\abstract{
%\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
\input{Prefacios/Abstract}
}
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% ACKNOWLEDGEMENTS
%----------------------------------------------------------------------------------------
%\setstretch{1.3} % Reset the line-spacing to 1.3 for body text (if it has changed)
\acknowledgements{
%\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
\input{Prefacios/Acknowledgements}
}
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES PAGES
%----------------------------------------------------------------------------------------
\pagestyle{fancy} % The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back
\lhead{\emph{Contenidos}} % Set the left side page header to "Contents"
\tableofcontents % Write out the Table of Contents
\lhead{\emph{Lista de Figuras}} % Set the left side page header to "List of Figures"
\listoffigures % Write out the List of Figures
\lhead{\emph{Lista de Tablas}} % Set the left side page header to "List of Tables"
\listoftables % Write out the List of Tables
%----------------------------------------------------------------------------------------
% DEDICATION
%----------------------------------------------------------------------------------------
%\setstretch{1.3} % Return the line spacing back to 1.3
\pagestyle{empty} % Page style needs to be empty for this page
\dedicatory{A mi familia.} % Dedication text
%----------------------------------------------------------------------------------------
% THESIS CONTENT - CHAPTERS
%----------------------------------------------------------------------------------------
\mainmatter % Begin numeric (1,2,3...) page numbering
\pagestyle{fancy} % Return the page headers back to the "fancy" style
% Include the chapters of the thesis as separate files from the Chapters folder
% Uncomment the lines as you write the chapters
\include{Chapters/ChapterTemplate}
%\include{Chapters/Chapter1}
%\include{Chapters/Chapter2}
%\include{Chapters/Chapter3}
%\include{Chapters/Chapter4}
%\include{Chapters/Chapter5}
%----------------------------------------------------------------------------------------
% THESIS CONTENT - APPENDICES
%----------------------------------------------------------------------------------------
%\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%\appendix % Cue to tell LaTeX that the following 'chapters' are Appendices
% Include the appendices of the thesis as separate files from the Appendices folder
% Uncomment the lines as you write the Appendices
%\input{Appendices/AppendixTemplate.tex}
%----------------------------------------------------------------------------------------
% ABBREVIATIONS
%----------------------------------------------------------------------------------------
% \clearpage % Start a new page
% \addcontentsline{toc}{chapter}{Abreviaciones}
% \lhead{\emph{Abreviaciones}} % Set the left side page header to "Abbreviations"
% \printglossary[title={Abreviaciones}, toctitle= {Abreviaciones}, type=\acronymtype, nonumberlist]
%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
\backmatter
\label{Bibliography}
\lhead{\emph{Bibliografía}} % Change the page header to say "Bibliography"
\bibliographystyle{plainnat}
\bibliography{Bibliography}
\end{document}