小页面垂直对齐

小页面垂直对齐

我有一个问题,我正在使用以下设置作为标题页:

\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]
\emph{Adress:}\\
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}

如果我运行它,右列的“主管”行不会与“作者”对齐,而是与左列的中间对齐。但是,我希望它向上,与左列的第一项对齐。我该怎么做?

多谢

答案1

对两个minipages 使用可选参数:

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

它看起来应该是这样的

\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]
\emph{Adress:}\\
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}

相关内容