\documentclass[12pt,titlepage,twoside,openright]{book}
\usepackage{color}
\usepackage{pstricks, pst-node}
\usepackage{graphics,graphicx,graphpap}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage[ansinew]{inputenc}
\usepackage[spanish]{babel}
\usepackage{fancyhdr}
\pagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Plantilla elaborada por Alma Rocío Sagaceta Mejía (2010) y modificada por Julián Alberto Fresán Figueroa (2011-2020) %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Aqui se pueden agregar palabras que Latex separa de forma incorrecta al haber saltos de linea. Al escribir fa-mi-lia se le esta indicando que puede separar la palabra solo en los guiones
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hyphenation{Colores fa-mi-lia caracte-rizarlos}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% UAM-Logo %%%
%%% Por Ismael Velázquez Ramírez %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\uamlogo}[3][2pt]{
\psset{unit=#2,linewidth=#1 }
\psline*[linearc=.25,linecolor=#3](2.8,2)(2,2)(1.8,0)(2.8,2)(3.8,0)(3.6,2)(2,2)(1.8,0)
\psline*[linecolor=#3](0,0)(.8,0)(1.8,2)(1,2)(0,0)
\psline*[linecolor=#3](4.8,0)(3.8,2)(4.6,2)(5.6,0)(4.8,0)
\psline*[linearc=.25,linecolor=#3](3.8,0)(2.8,2)(3.6,2)(4.6,0)(3.8,0)
\psline*[linearc=.25,linecolor=#3](4.6,0)(3.8,0)(2.8,2)(3.6,2)(4.6,0)
\rput{180}(5.6,2){%
\psline*[linearc=.25,linecolor=white](2.8,2)(2,2)(1.8,0)(2.8,2)(3.8,0)(3.6,2)(2,2)(1.8,0)
\psline*[linearc=.25,linecolor=white](1,0)(1.8,0)(2.8,2)(2,2)(1,0)
\psline*[linearc=.25,linecolor=white](1.8,0)(1,0)(2,2)(2.8,2)(1.8,0)
\psline*[linearc=.25,linecolor=white](3.8,0)(2.8,2)(3.6,2)(4.6,0)(3.8,0)
\psline*[linearc=.25,linecolor=white](4.6,0)(3.8,0)(2.8,2)(3.6,2)(4.6,0)
\psline[linearc=.25,linecolor=#3](1,0)(2,2)(3.6,2)(4.6,0)
\psline[linecolor=#3](1,0)(1.8,0)
\psline[linearc=.25,linecolor=#3](4.6,0)(3.8,0)
\psline[linearc=.25,linecolor=#3](1.8,0)(2.8,2)(3.8,0)}
\psline*[linearc=.25,linecolor=#3](1,0)(1.8,0)(2.8,2)(2,2)(1,0)
\psline*[linearc=.25,linecolor=#3](1.8,0)(1,0)(2,2)(2.8,2)(1.8,0)}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Aqui se definen los entornos en español.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtheorem{teo}{Teorema}
\newtheorem{defi}{Definici\'on}
\newtheorem{coro}{Corolario}
%Ejemplo de uso:
%\begin{teo}[Teorema de Completitud]
%Sea...
%\end{teo}
\newcommand{\titulo}[1]{\def\eltitulo{#1}}
\newcommand{\carrera}[1]{\def\lacarrera{#1}}
\newcommand{\nombre}[1]{\def\elnombre{#1}} %* Del alumno
\newcommand{\director}[1]{\def\eldirector{#1}} %* De tesis
\newcommand{\fecha}[1]{\def\lafecha{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Se deben llenar los siguientes datos
%Estos datos apareceran en la portada y los encabezados
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\titulo{Nombre del Proyecto}
\nombre{\uppercase{Nombre del alumno}}
\carrera{Licenciatura en ...}
\director{\uppercase{Nombre del asesor(es)}}
\fecha{Mes y a\~no (de finalizaci\'on)}
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Portada
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\thispagestyle{empty}
\hskip-1.5cm
\begin{minipage}[c][5cm][s]{4cm}
\begin{center}
\rput(-2,.5){\uamlogo{.75}{black}}
\hskip2pt \vrule width2pt height16cm\hskip1mm
\vrule width1pt height16cm\\[10pt]
\end{center}
\end{minipage}\quad
%% Barra derecha - TÃÂtulos
\begin{minipage}[c][9.5cm][s]{10cm}
\begin{center}
% Barra superior
{\Large \scshape Universidad Aut\'onoma Metropolitana}
\vspace{.3cm}
\hrule height2pt
\vspace{.1cm}
\hrule height1pt
\vspace{.3cm}
% \scshape
{ UNIDAD CUAJIMALPA}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Poner aquí el título del trabajo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vspace{2cm}
{\Large \textsc{T\'Itulo del Proyecto}}
\vspace{2cm}
\makebox[8cm][c]{\Large Proyecto Terminal}\\[8pt]
\makebox[6cm]{QUE PRESENTA:}\\[3pt]
\elnombre\\
\vspace{.5cm}
{\textsc {\large \lacarrera}}\\[3pt]
\makebox[10cm]{Departamento de Matem\'aticas Aplicadas e Ingenier\'{i}a}\\[13pt]
\makebox[10cm]{Divisi\'on de Ciencias Naturales e Ingenier\'ia}\\[13pt]
\vspace{2cm}
{ Asesor y Responsable de la tesis:\\ \eldirector\\}
\vspace{2cm}
\begin{flushright}
\lafecha
\end{flushright}
\end{center}
\end{minipage}
\frontmatter{}
\pagestyle{plain}
\tableofcontents
\newpage
\listoffigures
\mainmatter{}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%
\markboth{\chaptername
\ \thechapter.\ #1}{}}
\fancyhead[RO,LE]{\bfseries \thepage}
\fancyfoot{}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1.5ex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Aquí se empieza a colocar la información del trabajo
% El documento deberá contener al menos los capítulos que aparecen a continuación.
% Cada capitulo puede tener secciones y subsecciones
% Las imágenes deben ser incluidas en formato .eps
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Resumen}
%Uno o dos párrafos de que se hizo en el proyecto terminal
\chapter{Introducci\'on}
%una o dos p\'aginas, escrita para ser comprensible por cualquier persona
\chapter{Conocimientos preliminares}
%En este capítulo deberán incluir todos los conocimientos necesarios para poder entender los temas que se trataron en el proyecto.
\chapter{Desarrollo del proyecto}
%En Este capítulo se incluirán los resultados obtenidos durante el proyecto
\chapter{Conclusiones y trabajo futuro}
%En este capítulo se incluirán las conclusiones y posibles líneas de trabajo que podrían surgir a partir de este proyecto
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% La bibliografía debe aparecer de manera homologada
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{thebibliography}{0}
%\bibitem{}
\end{thebibliography}
\end{document}