%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%	Plantilla para Memorias y Tesis, UTFSM, Chile
%	=============================================
%
% Autor:
%       Israel Figueroa <israel.figueroa@usm.cl>
%       Jaime C. Rubin-de-Celis <jaime@rubin-de-celis.com>
%
% Licencia:
%       Copyright (c) 2019, Israel Figueroa P.
%       GPLv3 License
%
% Nota:
%       Las imágenes son propiedad intelectual de la UTFSM.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[
	12pt,                       % Tamaño de fuente (11pt)
	letterpaper,	% Tamaño del papel (carta)
	twosidepaper
]{thesis_utfsm}

\usepackage{thesis_utfsm}   % Archivo de estilos 

\input{config}              % Configuración (Título, autor, etc.)
                            % Usted debe modificar este documento
                            % para actualizar la portada.

\makeatother                % Important! (Do not delete or move!)


% Generadores de texto aleatorio (se pueden eliminar)
\usepackage{blindtext}      % automated text generation
\usepackage{lipsum}         % automated text generation


%---------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%	Documento
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

\pagestyle{plain}           % Headers & Footers (Roman numbers)

%---------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%	Portada
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\insertFile{portada}        % Insertar archivo 'sections/portada.tex'.

%---------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%	Preámbulo (Front Matter)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter                % Important! (Do not delete or move!)

\dedicatoria{%
    \emph{\huge A mi familia \dots}

    \vspace*{2cm}[Puede ocupar este espacio para escribir una 
    dedicatoria (opcional). Revise el archivo maestro
    \inlinecode{memoria.tex}]
}%

\section*{(AGRADECIMIENTOS) [Título es opcional] }
\insertFile[empty]{agradecimientos} % Insertar 'sections/agradecimientos.tex'.


\section*{RESUMEN EJECUTIVO}
\insertFile[plain]{resumen}     % Insertar 'sections/resumen.tex'.


\section*{ABSTRACT}
\insertFile[plain]{abstract}    % Insertar 'sections/abstract.tex'.


%%% TABLA DE CONTENIDOS / FIGURAS / CUADROS
\begin{spacing}{1}      % Single space for TOC, LOF and LOT
    \tableofcontents\listoftables\listoffigures
\end{spacing}



%---------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%	Cuerpo Principal (Main Matter)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter             % Important! (Do not delete or move!)

\pagestyle{fancy}       % Headers & Footers (Arabic numbers)

% Incluir Capítulos
\input{contenido/capitulo01}
\input{contenido/capitulo02}
\input{contenido/capitulo03}
%...                    % Agregar aquí más capítulos
\nocite{jaimercz}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%	Bibliografía
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{spacing}{1}      % Single space for Bibliography
    \bibliographystyle{thesis_utfsm}    % Alternative 'apalike'
    \bibliography{bibliography}         % Archivo 'bibliography.bib'
\end{spacing}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%	Anexos (Opcional)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
\input{includes/anexo}
%...                  % Agregar más apéndices


\end{document}