I'm trying to ad a bit of vertical space at the beginning of a page. Here is a MWE:
\documentclass[a4paper,footsepline, headsepline]{scrartcl}
\usepackage[automark]{scrlayer-scrpage}
\begin{document}
\vspace{0mm}%
\section{Header}
\end{document}
After a bit of searching i found another question about the same problem. The culprit there is the the \topsep that gets added. The solution was to disable interlineskip with either \offinterlineskip or \nointerlineskip.
The problem hereby is that macro is a global toggle and disables it globally.
Now my question is: Can i somehow only disable it locally for this one spacing? I don't want to accidentally break something else in the process and want to have the most idiomatic way to do it just for that one vspace.
Edit: Title wording
\offinterlineskipis global\nointerlinskipjust affects the next box – David Carlisle Mar 29 '22 at 11:51\offinterlineskipis local in plain TeX and it seems that it is defined equivalently in latex.ltx. It is used for example in tables: locally in given\vboxbut affects all lines. – wipet Mar 29 '22 at 11:57\vspace*won't change anything. – AcademicCoder Mar 29 '22 at 12:05\vspace*{-\topskip}?? – David Carlisle Mar 29 '22 at 13:07\nointerlineskip)\offinterlineskipaffects all following boxes, and if used as you show at the top level of the document would affect the rest of the document. – David Carlisle Mar 29 '22 at 13:13\vspace*{-\topskip + <fixed sep>}is the way to go here in my case. – AcademicCoder Mar 29 '22 at 13:25\offinterlineskip,\nointerlineskip,\setlength{\topskip}{0pt}(or any combination) with\vspace*{0pt}produced no vertical space above the section. Even with not setting\topskipto 0pt and haveing a\vspace*{-\topskip}didn't got rid of the space ... i am clueless – AcademicCoder Mar 29 '22 at 14:47