
答案1
您要在第二條規則後面新增空格。在 vspace 之前使用一個空白行,以便將其新增至規則之間。
看到第一個vspace 在段落被分成行之後起作用,因此出現在第二條規則之後,yyy 之前,但在vspace 之前有一個空行,它被添加到該點,並且位於各行之間而不是zzz 之前。
%
\documentclass{article}
\begin{document}
%
xxx
\noindent\rule{\linewidth}{2pt}
\vspace{3.1cm}
\noindent\rule{\linewidth}{2pt}
yyy
\noindent\rule{\linewidth}{2pt}
\vspace{3.1cm}
\noindent\rule{\linewidth}{2pt}
zzz
\end{document}
%
\end{document}