# Vertical Alignment of Minipage

I have a question, I'm using the following setup for a title page:

\begin{titlepage}
\begin{center}
\textsc{\LARGE University Name}\\[1.5cm]
\textsc{\Large Bachelor thesis}\\[2cm]
{ \huge \bfseries Title of the thesis}\\[3cm]
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
Me\\[0.5cm]
\emph{Student ID:}\\
mine\\[0.5cm]
mine\\[0.5cm]
\emph{Email:}\\
mine
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
mine
\end{flushright}
\end{minipage}
\vfill
{\large \date{15. Juni 2011}}
\end{center}
\end{titlepage}


If I run it, the "supervisor" line of the right column does not align with "Author", but rather with the middle of the left column. However, I would like it to be up, with the first item of the left column. How do I do this?

Thanks a lot

-
Welcome to tex.sx! As @Gonzalo's answer pointed out, your problem has actually nothing to do with the titlepage environment (Removing \begin{titlepage} and \end{titlepage} won't do anything about it). You might want to change your question title to something like "Vertical alignment of minipage" and tag it accordingly. For some more basic information on minipages take a look at the Not So Short Introduction to LaTeX2e (Section 6.6), which is a great reference and introduction to all sorts of things. – doncherry Jun 12 '11 at 20:26
I was trying to accomplish something similar (top-aligning the content of two minipages). In my case, the left minipage contained a figure and I was able to solve the problem by putting a \vspace{0pt} at the top of both minipages and using the [t] option. – rhaertel80 Jul 11 '13 at 23:29

Use the optional argument for the two minipages:

\begin{minipage}[t]{0.4\textwidth}


here's how it should look

\documentclass{report}

\begin{document}

\begin{titlepage}
\begin{center}
\textsc{\LARGE University Name}\\[1.5cm]
\textsc{\Large Bachelor thesis}\\[2cm]
{ \huge \bfseries Title of the thesis}\\[3cm]
\begin{minipage}[t]{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
Me\\[0.5cm]
\emph{Student ID:}\\
mine\\[0.5cm]
mine\\[0.5cm]
\emph{Email:}\\
mine
\end{flushleft}
\end{minipage}
\begin{minipage}[t]{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
mine
\end{flushright}
\end{minipage}
\vfill
{\large \date{15. Juni 2011}}
\end{center}
\end{titlepage}

\end{document}


-
Using [t] as an argument actually shifts the lign up a bit, does not align it with the first line of the left minipage. – podemos Jun 12 '11 at 20:48
@podemos: really? It works for me, see my edited example. If you are getting something different, please add to your question a minimal working example illustrating the problem. – Gonzalo Medina Jun 12 '11 at 21:03
+1. This is exactly the kind of problem that led to the development of those optional arguments to minipage. – David Hammen Jun 12 '11 at 21:36