# UNAM thesis title page (portada tesis UNAM)

by dgcontreras   Last Updated January 14, 2018 00:23 AM

I am trying to write latex code to generate a title page for a UNAM's thesis, which has an unusual graphic design. It's hard to define the position of each element and get the desired result. It will be very much appreciated if somebody can share code to resolve this problem.

UNAM = Universidad Nacional Autónoma de México (Spanish),
National Autonomous University of Mexico (English)

Tags :

It took me time to write good code to generate a title page for a UNAM thesis and I think this could be very useful for somebody that is writing his/her thesis work in latex

The key to resolve the problem was to use the minipage environment. To use it correctly I found very useful Wikipedia's documentation : Latex/Boxes . The trick was to use this environment to make a grid for title page to correctly put each element of the title page for the thesis

The code I wrote was the following

\documentclass[a4paper]{book}
\usepackage{graphicx}

\begin{document}

\thispagestyle{empty}

\begin{minipage}[c][0.1\textheight][c]{0.2\textwidth}
\begin{center}
\includegraphics[width=2cm, height=2cm]{escudo}
\end{center}
\end{minipage}
\begin{minipage}[c][0.1\textheight][t]{0.65\textwidth}
\begin{center}
{\scshape Universidad Nacional Aut\'onoma de M\'exico}
\vspace{.3cm}
\hrule height2.5pt
\vspace{.1cm}
\hrule height1pt
\vspace{.3cm}
\end{center}
\end{minipage}

\begin{minipage}[c][0.6\textheight][t]{0.2\textwidth}
\begin{center}
\hskip2pt
\vrule width2.5pt height10cm
\hskip1mm
\vrule width1pt height10cm \\
\includegraphics[height=3cm]{escudoFC}
\end{center}
\end{minipage}
\begin{minipage}[c][0.6\textheight][t]{0.65\textwidth}
\begin{center}
{\Large \scshape {T\'itulo de la tesis}}

\vspace{2cm}

\makebox[5cm][c]{\LARGE TESIS}  \\[8pt]
QUE PARA OBTENER EL T\'iTULO DE:\\[5pt]
{\large \textbf{{t\'itulo}}}\\[40pt]
PRESENTA:\\[5pt]
\textbf{{Nombre del tesista}}

\vspace{1cm}

{\small DIRECTOR DEL TRABAJO:\\ {Nombre del director del trabajo}}

\vspace{0.5cm}

{Lugar,}{ }{Fecha}
\end{center}
\end{minipage}

\end{document}


This code produce the following output

To view the use of minipage environment to design the title page you can use the following code

\documentclass[a4paper]{book}
\usepackage{graphicx}

\begin{document}

\thispagestyle{empty}
% port
\fbox{
\begin{minipage}[c][0.1\textheight][c]{0.2\textwidth}
\begin{center}
\includegraphics[width=2cm, height=2cm]{escudo}
\end{center}
\end{minipage}
}
\fbox{
\begin{minipage}[c][0.1\textheight][t]{0.65\textwidth}
\begin{center}
{\scshape Universidad Nacional Aut\'onoma de M\'exico}
\vspace{.3cm}
\hrule height2.5pt
\vspace{.1cm}
\hrule height1pt
\vspace{.3cm}
\end{center}
\end{minipage}
}

\fbox{
\begin{minipage}[c][0.6\textheight][t]{0.2\textwidth}
\begin{center}
\hskip2pt
\vrule width2.5pt height10cm
\hskip1mm
\vrule width1pt height10cm \\
\includegraphics[height=3cm]{escudoFC}
\end{center}
\end{minipage}
}
\fbox{
\begin{minipage}[c][0.6\textheight][t]{0.65\textwidth}
\begin{center}
{\Large \scshape {T\'itulo de la tesis}}

\vspace{2cm}

\makebox[5cm][c]{\LARGE TESIS}  \\[8pt]
QUE PARA OBTENER EL T\'ITULO DE:\\[5pt]
{\large \textbf{{t\'itulo}}}\\[40pt]
PRESENTA:\\[5pt]
\textbf{{Nombre del tesista}}

\vspace{1cm}

{\small DIRECTOR DEL TRABAJO:\\ {Nombre del director del trabajo}}

\vspace{0.5cm}

{Lugar,}{ }{Fecha}
\end{center}
\end{minipage}
}

\end{document}


To produce the followint output

I hope this will be useful for somebody that writes his thesis work in latex

dgcontreras
March 20, 2015 21:34 PM

murpholinox
December 08, 2015 21:14 PM

Here it is! The LaTeX GitHub project for the National Autonomous University of Mexico Feel free to fork the repo to start diving in right into your thesis project!

Julio César Guzmán Villanueva
December 20, 2015 17:47 PM

First of all, I'm apologize so much for the delay about to propose a better way to create the cover for a UNAM thesis.

The delay was caused because I was tracking the link with the information that helped me to determine a better way to make a cover page. The searching of this link was essential, because it's important to be grateful when somebody share her/his time and work with the goal to help somebody else.

Well, the information for the question

Centered title page in twoside report

helped me to define a better cover. The approach suggested by schlamar in the previous link it's the following

1. Separate the creation of the cover.
2. Include the cover with pdfpages.

With the help of this approach, I define the following cover with a better size and presentation

\documentclass[
fontsize=11pt,
a4paper
]{scrbook}

\usepackage{bold-extra}
\usepackage[utf8]{inputenc}
\usepackage[a4paper,includeall,bindingoffset=0cm,margin=2cm,
marginparsep=0cm,marginparwidth=0cm]{geometry}
\usepackage{graphicx}

\begin{document}
\begin{titlepage}
\thispagestyle{empty}
\begin{minipage}[c][0.17\textheight][c]{0.25\textwidth}
\begin{center}
\includegraphics[width=3.5cm, height=3.5cm]{unam}
\end{center}
\end{minipage}
\begin{minipage}[c][0.17\textheight][t]{0.65\textwidth}
\begin{center}
\vspace{.3cm}
\textsc{\large Universidad Nacional Aut\'onoma de M\'exico}\\[0.5cm]
\vspace{.3cm}
\hrule height2.5pt
\vspace{.1cm}
\hrule height1pt
\vspace{.8cm}
\end{center}
\end{minipage}

\begin{minipage}[c][0.81\textheight][t]{0.25\textwidth}
\vspace*{5mm}
\begin{center}
\hskip2pt
\vrule width2.5pt height13cm
\hskip1mm
\vrule width1pt height13cm \\
\includegraphics[height=5cm]{escudoFC}
\end{center}
\end{minipage}
\begin{minipage}[c][0.81\textheight][t]{0.65\textwidth}
\begin{center}
\vspace{1cm}

{\Huge\scshape Title}\\[.2in]

\vspace{2cm}

\textsc{\LARGE TESIS}\\[0.5cm]
\textsc{\large que para obtener el t\'itulo de}\\[0.5cm]
\textsc{\large t\'itulo}\\[0.5cm]
\textsc{\large presenta}\\[0.5cm]
\textsc{\large \textbf{Nombre del tesista}}\\[2cm]

\vspace{0.5cm}

{\large\scshape Director del trabajo:\\[0.3cm] {Nombre del director del trabajo}}\\[.2in]

\vspace{0.5cm}

{Lugar,}{ }{Fecha}
\end{center}
\end{minipage}
\end{titlepage}
\end{document}


The following code it's a way of how to include the cover

\documentclass{book}

\usepackage{pdfpages}
\usepackage{lipsum}

\begin{document}
\includepdf{cover.pdf}

\chapter{Chapter 1}
\lipsum[1]

\end{document}


The following image compares the two cover pages proposed in this question, showing that the second approach it's better.

dgcontreras
January 13, 2018 23:57 PM