%****************************************************************************************************
% Modelo criado por Vinícius Barros Rodrigues (viniciusbrbio@gmail.com) e Verônica Saraiva Fialho
% Versão 1.2
% Dezembro 2017
% Disponível em: https://github.com/ViniciusBRodrigues/TeseUFVLatex
%****************************************************************************************************
% Pacotes necessários -- verifique se todos estão inslados em seu sistema
%****************************************************************************************************
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[brazilian,brazil]{babel}
\usepackage[a4paper,left=4cm,right=3cm,bottom=2.5cm,top=2.8cm]{geometry}
\usepackage{fancyhdr,setspace,float,graphicx,lscape,array,longtable,colortbl,amsmath,amssymb,booktabs,multirow,hyperref,pdfpages,tocloft,titlesec,lipsum,natbib,standalone,lineno,textcomp,footmisc,color,framed,xspace,xcolor}
\usepackage[sectionbib]{chapterbib}
\renewcommand\cftloftitlefont{\Large\bfseries\hfill}
\renewcommand\cftlottitlefont{\Large\bfseries\hfill}
\renewcommand\cfttoctitlefont{\Large\bfseries\hfill}
\titleformat{\chapter}[display]
{\vspace*{-0.7cm}\bfseries\Huge}
{\filleft{\chaptertitlename}\Huge~\thechapter}
{1ex}
{\titlerule
\vspace{2ex}%
\filright}
[]
\renewcommand{\headrulewidth}{0pt}
\usepackage{xcolor}
\hypersetup{
    colorlinks,
    linkcolor={red!50!black},
    citecolor={blue!50!black},
    urlcolor={blue!80!black}
}
\setlength{\headheight}{14.50pt} 
%****************************************************************************************************
% Seleção da fonte Palladio
\usepackage[sc]{mathpazo}
\linespread{1.05}
\usepackage[T1]{fontenc}
%****************************************************************************************************
\input{dados}
\input{res_abs}
%****************************************************************************************************
\begin{document}
%****************************************************************************************************
% Edite cada um dos seguintes arquivos na pasta ``preambulo''
%****************************************************************************************************

\input{preambulo/capa}

\input{preambulo/aprovacao}

\input{preambulo/dedicatoria}

\input{preambulo/epigrafe}

\input{preambulo/agradecimentos}

%****************************************************************************************************
% Sumário -- não modificar
\normalsize
\tableofcontents
\newpage
\listoffigures
\addcontentsline{toc}{section}{\listfigurename}
\newpage
\listoftables
\addcontentsline{toc}{section}{\listtablename}
%****************************************************************************************************

\input{preambulo/resumo}

\input{preambulo/abstract}

\clearpage

%****************************************************************************************************
% Preencher o título da tasese e seu nome abaixo (opcional). Se não quiser, basta comentar com %.
%****************************************************************************************************
\fancyhead[RO,L]{\titulo}
\fancyfoot[CO,R]{\nome}


%****************************************************************************************************
% Não modificar
%****************************************************************************************************
\pagenumbering{arabic}
\setcounter{page}{1}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyfoot[L,RO]{\thepage}
\fancyfoot[LO,C]{Capítulo \thechapter}


%****************************************************************************************************
% Edite cada um dos seguintes arquivos na pasta "capitulos"
% Apenas comente ou descomente de acordo com o que precisar
%****************************************************************************************************

\include{capitulos/cap01/introduction}

\include{capitulos/cap02/cap02}

\include{capitulos/cap03/cap03}

% se necessário acrescente outros capítulos, por exemplo:
% \input{capitulos/cap04/cap04}

%****************************************************************************************************
% Análises estatísticas em pdf
% Descomente e coloque o nome do seu arquivo
%\includepdf[pages=-]{nome_do_arquivo.pdf}
%****************************************************************************************************
  
\end{document}
