
답변1
제목 위에 정확히 한 지점의 공간을 원하는 경우 간격에 대한 더 깊은 제어가 필요합니다.
위 의 \vspace*{1pt}\begin{center}
표준 공백은 center
페이지 나누기 시 제거해서는 안 되는 항목이 앞에 있기 때문에 제거되지 않습니다(문서의 시작은 페이지 나누기로 계산됩니다). 따라서 총 1pt
플러스를 얻습니다 \topsep
.
반면에 실제로는 원하지 않고 center
제목만 중앙에 배치하는 것을 원할 수도 있습니다.
\documentclass{article}
\usepackage{showframe}
\begin{document}
\vspace*{1pt}% the space you want
\vspace{-\topskip}% remove the topskip
\begingroup\centering\Huge
Test text\par
\endgroup
\addvspace{\topsep}% or what you need
Some other text follows.
\end{document}
단지 \vspace*{1pt}
.