%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% estilo y pie de pagina

\pagestyle{fancy}

\renewcommand{\footrulewidth}{0,5pt}

%\rfoot[Tesis Doctoral. Román Salmerón Gómez]{\thepage}
%\lfoot[\thepage ]{Tesis Doctoral. Román Salmerón Gómez }
%\cfoot{}

\rfoot[]{\thepage} \lfoot[\thepage]{} \cfoot{}

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    %

    \renewcommand{\baselinestretch}{1.25}

    \parskip = 0.5cm % genera un espacio de X mm entre los párrafos

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% márgenes
%
% \textwidth 400.0pt % establece el ancho del texto en cada página (por defecto es 14cm)
% \evensidemargin -20pt
% \oddsidemargin  +40pt % establece el margen izquierdo de la hoja (por defecto es 4.5cm)
%                       % \oddsidemargin = 0cm el margen queda en 2.5cm (si es positivo aumenta el margen y si es negativo disminuye)
% \marginparwidth -10pt
% \topmargin -10pt % establece el margen superior (por defecto es 3cm)
%                  % \topmargin -1cm sube el margen 1 cm hacia arriba
% \textheight 22cm % establece el largo del texto en cada página (por defecto es 19cm)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% otros comandos

%\renewcommand{\baselinestretch}{1.5} % genera el texto a espacio y medio
                                     % si se pone 2, lo hace a doble espacio

%\parindent = 0mm % elimina la sangría

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% cambio de la apariencia de los capítulos

\titleformat{\chapter}[display] % cambiamos el formato de los capítulos
{\bfseries\Huge} % por defecto se usarán caracteres de tamaño \Huge en negrita
{% contenido de la etiqueta
 \titlerule % línea horizontal
 \filleft % texto alineado a la derecha
 \Large\chaptertitlename\ % "Capítulo" o "Apéndice" en tamaño \Large en lugar de \Huge
 \Large\thechapter} % número de capítulo en tamaño \Large
{0mm} % espacio mínimo entre etiqueta y cuerpo
{\filright} % texto del cuerpo alineado a la derecha
[\vspace{0.5mm} \bigrule] % después del cuerpo, dejar espacio vertical y trazar línea horizontal gruesa
