I am implementing a document design and I noticed that I am struggling to get the right distance between a rule and two test paragraphs. I have created a document class based on on article class, but changing the title page among other things. The following picture should explain what I am trying to achieve:
My naive approach was to do the following
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\noindent \lipsum[1]
\vskip 10pt
\hrule height 1pt \relax
\vskip 10pt
\noindent \lipsum[2]
\end{document}
In the above example I was hoping to see 10pt difference between baseline of the title and the rule and 10pt difference between the rule and the authors line baseline. The actual numbers are bigger though. I think vskip is measuring from the top or bottom of a glyph appearing on the respective line, rather than from the baseline. Is it possible to set these distances with respect to baselines?


Abcdef \vskip 1ex \hrule height 0.1ex \vskip 1ex Abcdefproduce the expected skips, but the adding\usepackage{lipsum}\parskip10exin the preamble and\lipsum[1-10]at the end, force a stretch of the second vertical space without touch the chunk of code. Conclusion: Without a minimal working example (MWE) is almost always hard to understand the true problem and propose a good solution without a good crystall ball. – Fran Jan 08 '23 at 09:41