This is the code for the cover of my thesis:
\documentclass[a4paper]{report}
\usepackage[top=3cm, bottom=3.5cm, outer=4cm, inner=4cm, marginparsep=0.7cm, marginparwidth=1.5cm]{geometry}
\usepackage{changepage,xparse}
\NewDocumentEnvironment{indented}{mo}
{\IfValueTF{#2}
{\begin{adjustwidth}{#1}{#2}}
{\begin{adjustwidth}{#1}{#1}}
}
{\end{adjustwidth}}
\begin{document}
{\makeatletter\def\Gm@Dvratio{1:1}\makeatother
\begin{center}
\rule{2.5cm}{2cm} \\
{\fontsize{16pt}{2em}\selectfont
Università degli Studi di Milano-Bicocca \\[-.5em]
\hrulefill\par\noindent
Corso di Laurea in Matematica \\
}
\vskip0pt plus .75fil
{\fontsize{16pt}{2em}\selectfont Tesi di Laurea} \\
\vskip0pt plus 2fil
{\fontsize{30pt}{1em}\selectfont
Orbite periodiche \\[.5em]
di flussi Hamiltoniani \\[.5em]
su ipersuperfici convesse
}
\end{center}
\vskip0pt plus 2fil
{\fontsize{16pt}{1.5em}\selectfont
Candidato \\
MickG \\
Number \\
\setbox3\vbox{\fontsize{16pt}{1em}\selectfont A}
\setbox1\vbox{\fontsize{16pt}{1.5em}\selectfont Candidato \\
MickG \\
Number \\[-2.5\ht3]}
\vspace{-\ht1}
\dimen3=\textwidth
\advance\dimen3-5cm
\begin{indented}{\dimen3}[0cm]
Relatore \\
Prof. RP
\end{indented}
\vfil
\begin{center}
\hrulefill\par\noindent
\fontsize{12pt}{1em}\selectfont
Anno Accademico 2014-2015
\end{center}
\thispagestyle{empty}
} \hspace{0cm}\\\clearpage
}
\addtocounter{page}{-1}
\hspace{0cm}\\\clearpage
\end{document}
OK, the alignment of Relatore with Candidato could be done better with a tabular, but it works fine in the actual thesis and I don't really want to change the code. Anyway it's not the point here. What I cannot do is get the bottom margin to be the same as the top one. As you can see, there is far more whitespace on the bottom than on the top. How do I get Anno Accademico further down? Thinking it was due to geometry, I opened the code, and I found \Gm@Dvratio, so I tried setting it to 1:1 on the cover and leaving it 2:3 as normal on the other pages. But to no avail, as you can see here. So what is the right way to do this?
Edit
Whoops! Here is the image of the typeset code:
Update
It seems that parameter is completely useless: Tried making that \def global (i.e. removing the braces around it and the page) and no result.




\fontsizeis changed,\parshould be *before* the closing brace bounding the scope of the size change. – egreg Sep 20 '15 at 21:46\\s in30ptto\par\noindents and the line spacing issue seems to have vanished. I think I'll ask a separate question about this tomorrow. Goodnight :). – MickG Sep 20 '15 at 21:51\parjust before the brace, as you said. – MickG Sep 20 '15 at 21:59