I'm trying to create the cover page for my thesis in LaTeX using titlepage, but I got some trouble. The title page has to follow some fixed rules imposed by my college, so I don't have any chance for customization.

This is what I produced...



    \includegraphics[scale=0.55]{Immagini/Sigillo.pdf} \\[3cm]

        % Title
        {\myfont \huge \color{pantone} \fontsize{20pt}{1em} MapReduce Graph Algorithms}

        % Bottom of the page
        {\myfont \bfseries \color{pantone} \fontsize{10pt}{1em} Facoltà di Ingegneria dell'Informazione, Informatica e Statistica} \\
        {\myfont \bfseries \color{pantone} \fontsize{10pt}{1em} Corso di Laurea in Informatica}                                    \\
        {\myfont \fontsize{10pt}{1em} First Name Last Name}                                                                            \\
        {\myfont \fontsize{10pt}{1em} ID Number XXXXXXX}                                                                       \\ \\ \\
        {\myfont \fontsize{10pt}{1em} Advisor}                                                                                \\
        {\myfont \fontsize{10pt}{1em} Prof First Name Last Name}                                                                     \\ \\
        {\myfont \fontsize{10pt}{1em} Academic Year 2013/2014}                                                                   \\

...and this is the result page.

The left margin needs to be aligned with the S of the "Sapienza" logo. I have two problems with this code:

  1. I got two Underfull hbox warnings: the first one occurs on the \includegraphic line, and the second one on the \vfill instruction.
  2. I don't understand why the two coloured lines at the bottom of the page seem to be slightly right-indented with respect to the following lines.

Is there anyone that can give me some help?

Thanks in advance!

  • 2
    Use frontespizio instead. The option suftesi looks very much like your desired output.
    – DG'
    Dec 6, 2013 at 11:39
  • @DG' Well, I've deliberately avoided that package because it doesn't work for online compilers, which I'm using.
    – Driu
    Dec 6, 2013 at 13:47
  • 2
    Which online compiler do you use? If frontespizio not installed, you can just upload the frontespizio.sty file to your project and you should be fine.
    – Christoph
    Dec 6, 2013 at 14:34
  • @Christoph The package is not missing, but it produces an intermediate file which I have to compile separately to make the frontespizio appear. The problem is just this intermediate file, which I cannot manage through ShareLaTeX, the online compiler I'm using...
    – Driu
    Dec 6, 2013 at 14:54
  • 1
    Please make your code compilable (if possible), or at least complete it with \documentclass{...}, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.
    – DG'
    Dec 6, 2013 at 18:48

1 Answer 1


A titlepage and its margins are a constant pain for LaTeX users. But a titlepage is somehow static, the only moment you really need to care is when submitting the actual document.

Playing around with different margins in one document is possible, but somehow a pain and isn't really worth the trouble for a titlepage, though a titlepage is the first thing a reader will see.

Let's give it the appropriate attention and give it an extra document.


        {\huge\color{pantone}MapReduce Graph Algorithms\par}

        {\bfseries\color{pantone}Facolt\`a di Ingegneria dell'Informazione, Informatica e Statistica} \par

        {\bfseries\color{pantone}Corso di Laurea in Informatica}\par\vspace{\baselineskip}
        {First Name Last Name}\par
        {ID Number XXXXXXX}\par
        {Prof First Name Last Name}\par\vspace{\baselineskip}
        {Academic Year 2013/2014}\par

Using package pdfpages, we can include the generated titlepage within the document.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .