\documentclass[12pt,a4paper,oneside]{report}
\usepackage[spanish]{babel}
\selectlanguage{spanish}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{tabularx} % Para tablas de mas de una página
\usepackage{booktabs}
\usepackage{nicematrix}
\usepackage{verbatim}
\usepackage{calc}
\usepackage[refpages]{gloss}
\usepackage{float}
\usepackage{anysize}
\usepackage{bigstrut}
\usepackage{appendix}
%\usepackage{lscape}
\usepackage{pdflscape}
\usepackage{listings}
\usepackage{color}
\usepackage{setspace}
\usepackage{enumerate}
\usepackage{ragged2e}
\usepackage[utf8]{inputenc}
\usepackage{comment}
\usepackage{pslatex}
\usepackage{apacite}
\usepackage{fixltx2e}
\usepackage{caption}
\usepackage{setspace}
\captionsetup[table]{skip=10pt}
\usepackage{array}
%%%%%%%% Probando referencias
%\usepackage[a4paper]{geometry}
\usepackage[sectionbib]{natbib}
\usepackage{chapterbib}
%%%%%%%%%
\usepackage{lipsum}
\usepackage{fancyhdr}
\usepackage[hidelinks]{hyperref}
%\usepackage[backend=biber]{biblatex}
\bibliographystyle{apacite}
\newcommand{\thesisTitle}{TITULO}
\newcommand{\autor}{Nombre}
\newcommand{\asesor}{Asesor}
\newcommand{\thesisType}{Curso}
\usepackage{tocloft}
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}
\begin{document}
\renewcommand{\BOthers}[1]{et al.\hbox{}}
\renewcommand\bibname{Bibliografía}
%----------------------------------------------------------------------------------------
% CONFIGURACION
%----------------------------------------------------------------------------------------
\marginsize{3.0cm}{3.0cm}{3.0cm}{3.0cm}
\renewcommand*{\contentsname}{Tabla de contenidos}
\renewcommand*{\listtablename}{Índice de tablas}
\renewcommand*{\listfigurename}{Índice de figuras}
\renewcommand{\baselinestretch}{1.0}
\renewcommand{\appendixname}{Anexos}
\renewcommand{\appendixtocname}{Anexos}
\renewcommand{\appendixpagename}{Anexos}
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
\renewcommand*{\tablename}{Tabla}
\renewcommand*{\chaptername}{Capítulo}
\renewcommand*{\thechapter}{\Roman{chapter}}
\renewcommand{\thesection}{\arabic{chapter}.\arabic{section}}
\renewcommand{\figurename}{Figura}
\renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}}
\renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}}
%----------------------------------------------------------------------------------------
% Carátula
%----------------------------------------------------------------------------------------
\begin{titlepage}
\begin{center}
{\Large \bf PONTIFICIA UNIVERSIDAD CATÓLICA DEL PERÚ}\\
\vspace{8mm}
{\Large \bf Facultad de Ciencias e Ingeniería}\\
\vspace{1cm}
\includegraphics[height=5.5cm]{Imagenes/Logo pucp.jpg}
\vspace{1cm}
\Huge{\textbf{\thesisTitle}}
\vspace{1cm}
\Large{ {\thesisType} }\\[0.7cm]
\vspace{0.7cm}
\textbf{\autor} \\[3pt]
\vspace{1.2cm}
\large{\textbf{Nombre Asesor}}\\
\asesor\\
\vspace{0.75cm}
{Lima, \today}
\end{center}
\end{titlepage}
\pagenumbering{roman}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
%----------------------------------------------------------------------------------------
% Resumen
%----------------------------------------------------------------------------------------
\input{TFC1/resumen} %Se agrega el resumen
%----------------------------------------------------------------------------------------
% Agradecimientos
%----------------------------------------------------------------------------------------
%\chapter*{\centering \large Agradecimientos}
%\addcontentsline{toc}{chapter}{Agradecimientos}
%\markboth{Agradecimientos}{Agradecimientos}
%\justify
%{Escribir agradecimientos aquí}\\[0.5cm]
%----------------------------------------------------------------------------------------
% TABLA DE CONTENIDOS
%---------------------------------------------------------------------------------------
\cleardoublepage
\addcontentsline{toc}{chapter}{\contentsname}
\tableofcontents \newpage
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures \newpage
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables \newpage
\makegloss
\newpage
\pagenumbering{arabic}
\pagestyle{plain}
\rhead[]{\thepage}
% Se agregan cada uno de los capitulos
%----------------------------------------------------------------------------------------
% Capítulo 1
%----------------------------------------------------------------------------------------
\doublespacing
\input{TFC1/cap1}
%----------------------------------------------------------------------------------------
% Capítulo 2
%----------------------------------------------------------------------------------------
\input{TFC1/cap2}
%----------------------------------------------------------------------------------------
% Capítulo 3
%----------------------------------------------------------------------------------------
\input{TFC1/cap3}
%-----------------
% Capítulo 4
%-----------------
\input{TFC1/cap4}
%-----------------
% Conclusiones
%-----------------
\input{TFC1/conclusiones} %Se agregan las conclusiones
%----------------------------------------------------------------------------------------
% BIBLIOGRAFIA
%----------------------------------------------------------
%------------------------------
\newpage
\bibliography{TFC1/biblio} %Se agrega la bibliografia
%----------------------------------------------------------------------------------------
% Anexos
%----------------------------------------------------------------------------------------
\appendix
\renewcommand{\appendixname}{ANEXO}%
\chapter*{\appendixname}
\addcontentsline{toc}{chapter}{ANEXO}
\markboth{ANEXO}{ANEXO} % encabezado
\thispagestyle{empty}
\textbf{ANEXO 1}
\textbf{ANEXO 2}
\textbf{ANEXO 3}
\phantomsection
\end{document}