# Negative \vspace* too small

\documentclass{article}

\begin{document}
\vspace*{-3em}
\rule{3em}{3em}
\end{document}


Why does the rule protrude into the text area?

As a comparison, this is how it looks without the \vspace:

And this is what I would have expected:

• \vspace*{-4em} Feb 2, 2019 at 12:46
• @HafidBoukhoulda no:-) Feb 2, 2019 at 13:43

You have to consider both \topskip and \lineskip.

\documentclass{article}