during my optimization process I found something spurious I cannot explain to myself and which I would like to understand. So with \fontsize
you set the fontsize and the baselineskip. However the behaviour of the second paramater is a bit unclear to me, because if you reduce it too much, at a certain point the baselineskip gets bigger again. Let me show you my example:
\documentclass[landscape]{article}
\usepackage[margin=1cm]{geometry}
\usepackage{lipsum,multicol}
\begin{document}
\begin{multicols}{4}
\fontsize{10}{11}\selectfont
\lipsum[1]
\columnbreak
\fontsize{10}{10}\selectfont
\lipsum[1]
\columnbreak
\fontsize{10}{9}\selectfont
\lipsum[1]
\columnbreak
\fontsize{10}{8}\selectfont
\lipsum[1]
\columnbreak
\end{multicols}
\end{document}
If you compile this, your result will be looking like this:
Now from the first to the third column it seems logic, that the baselineskip is reduced and hence less space is needed vertically to typeset. But with the third column, even though the baselineskip is reduced even further, it needs more vertical space overall. It is strange however, that for example from line 11 to 12 (starting with tus and lum), the spacing seems to be narrower than in column 3, while in a lot of line the spacing is bigger. Changing the baselineskip to lower values down to 0 does not modify the vertical alignment further.
What is the purpose of this behaviour and is it intended? I cannot see a benefit of this and I am a bit confused.
\fontsize
isn't really involved here other than it sets\baselineskip
, this is the TeX-primitive behaviour of vertical mode.