タイトルページが垂直方向に中央揃えになっていません

タイトルページが垂直方向に中央揃えになっていません

タイトルページが垂直方向に中央揃えされていないことに気付きました。、、、\vfillおよびを試しました。\vspace{\fill}\vspace*\usepackage{titling}

\documentclass[12pt, oneside]{article}

         \usepackage{graphicx}

\usepackage{geometry}
\geometry{a4paper}
\usepackage{float}
\usepackage[american]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[onehalfspacing]{setspace}

\begin{document}

\begin{titlepage}
\begin{center}

\begin{huge}
name of university \\
\end{huge}

\begin{figure}[H]
\centering
\includegraphics[width=0.5\textwidth]{Unilogo}
\end{figure}

\vspace{1cm}
{\Large name of institute} \\
\vspace{5mm}
Research focus \textit{research name} \\
Project \textit{project name} \\
\vspace{2cm}
\begin{large}
\textbf{title of thesis} \\
\end{large}
\vspace{5mm}
Master thesis in Biomedical Sciences \\
Submitted on Date \\
\vspace{1cm}
name \\
Matriculation number: \\
\vspace{2.5cm}
\begin{tabular}{rl}
{\bfseries Supervisors} & name and name\\
{\bfseries Examiners} & name and name \\
\end{tabular}

\end{center}
\end{titlepage}

\end{document}

答え1

次のようなマークアップがある場合

Submitted on Date \\
\vspace{1cm}
name 

を含む行の後に垂直スペースが追加されますがname、これは意図したものではないと思われます。

外部テーブルの使用は避け\\、必ず前に空白行を入れてください。\vspace

Submitted on Date

\vspace{1cm}
name 

2 行のテキストの間にスペースがある出力を生成します。

サイズ変更などを行う場合は、\hugeグループの終わりの前に必ず空白行を残してください。そうしないと、通常サイズのベースラインに巨大なテキストが設定されます。

タイトルページ内では使用せずfigure、グラフィックのみを含めます。

垂直方向に中央揃えするには\vspace*{\fill}

ここに画像の説明を入力してください

\documentclass[12pt, oneside]{article}
\usepackage{geometry}
\geometry{a4paper}
\usepackage{float}
\usepackage[american]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[onehalfspacing]{setspace}
\usepackage{graphicx}
\begin{document}

\begin{titlepage}
\vspace*{\fill}
\begin{center}

\begin{huge}
name of university

\end{huge}


\includegraphics[width=0.5\textwidth]{example-image}


\vspace{1cm}
{\Large name of institute

}

\vspace{5mm}
Research focus \textit{research name} \\
Project \textit{project name}

\vspace{1.5cm}

\begin{large}
\textbf{title of thesis}

\end{large}

\vspace{5mm}
Master thesis in Biomedical Sciences \\
Submitted on Date 

\vspace{1cm}
name \\
Matriculation number:

\vspace{1.5cm}
\begin{tabular}{rl}
{\bfseries Supervisors} & name and name\\
{\bfseries Examiners} & name and name \\
\end{tabular}

\end{center}
\vspace*{\fill}
\end{titlepage}

\end{document}

関連情報