在行前添加垂直空格

在行前添加垂直空格

我有以下代码:

\documentclass[12pt, a4paper] {article}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}


\begin{document}

\vspace*{1cm}
\begin{center}
\textbf{Text of Certification}\\
\end{center}
I hereby confirm that the Bachelor Thesis presented by me has been prepared independently, using no other sources, resources and other aids than those mentioned. All parts - literally or by their meaning - taken from published or non-published sources are credited as such. The Bachelor Thesis in its current or similar form has never been submitted as a graded assignment.\\
\noindent\makebox[3cm]{\hrulefill} \hfill\makebox[3cm]{\hrulefill}\\
\noindent\makebox[3cm][l]{Date} \hfill\makebox[3cm][l]{Signature}\\
\thispagestyle{empty}
\clearpage


\end{document}

这将产生以下输出:

在此处输入图片描述

我想将绘制的框向下拖动,以便为实际签名和日期留出更多空间。我\vspace再次尝试使用该命令,但遇到以下问题,代码如下:

\documentclass[12pt, a4paper] {article}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}


\begin{document}

\vspace*{1cm}
\begin{center}
\textbf{Text of Certification}\\
\end{center}
I hereby confirm that the Bachelor Thesis presented by me has been prepared independently, using no other sources, resources and other aids than those mentioned. All parts - literally or by their meaning - taken from published or non-published sources are credited as such. The Bachelor Thesis in its current or similar form has never been submitted as a graded assignment.\\
\vspace{2cm}
\noindent\makebox[3cm]{\hrulefill} \hfill\makebox[3cm]{\hrulefill}\\
\noindent\makebox[3cm][l]{Date} \hfill\makebox[3cm][l]{Signature}\\
\thispagestyle{empty}
\clearpage


\end{document}

我产生了以下输出:

在此处输入图片描述

所以我不确定为什么只有第二行 makeboxes 被拖下来。\vspace*{2cm}产生相同的输出。我当然希望水平线也进一步向下。

答案1

\documentclass[12pt, a4paper] {article}

\begin{document}
  \vspace*{1cm}
  \begin{center}
    \textbf{Text of Certification}\\
  \end{center}
  I hereby confirm that the Bachelor Thesis presented by me has been prepared independently, using no other sources, resources and other aids than those mentioned. All parts - literally or by their meaning - taken from published or non-published sources are credited as such. The Bachelor Thesis in its current or similar form has never been submitted as a graded assignment.

  \vspace{2cm}

  \noindent\makebox[3cm]{\hrulefill} \hfill\makebox[3cm]{\hrulefill}

  \noindent\makebox[3cm][l]{Date} \hfill\makebox[3cm][l]{Signature}

  \thispagestyle{empty}
  \clearpage
\end{document}

行前有空格

相关内容