[Tex/LaTex] UNAM thesis title page (portada tesis UNAM)

thesistitles

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)
For more information, see the Wikipedia entry for UNAM.

Best Answer

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}
    {\scshape  Facultad de Ciencias}
\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

UNAM thesis title page

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}
        {\scshape  Facultad de Ciencias}
    \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

enter image description here

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

Related Question