Note: the red lines have the same length.

\documentclass{minimal}
\usepackage[showframe,paperwidth=4cm,paperheight=4cm,margin=1cm]{geometry}
\begin{document}
%
\vspace*{\fill}%
\fbox{test}%
\vspace*{\fill}%
%
\end{document}
|
Note: the red lines have the same length.
|
|||
|
|
|
I think the difference you observed came from the
|
|||
|
I got the solution.
|
|||
|
|