I'm writing a two column paper using the KOMA-Script scrartcl
class and the multicol
package. However, I start with a one column header, title and nomenclature section which take up most of my first page. In my MWE, this space is taken by the \rule
:
\documentclass[parskip=half]{scrartcl}
\usepackage{lipsum}
\usepackage{multicol}
\usepackage{bera}
\usepackage[charter]{mathdesign}
\RedeclareSectionCommand[
afterskip=1ex]{section}
\begin{document}
\rule{\textwidth}{15cm}
\begin{multicols}{2}
\section*{Section 1}
\lipsum[1-2]
\end{multicols}
\end{document}
As you can see, the paragraph is divided in a very unfortunate way, only the last line is pushed to the next page. At the same time, the white space after "Section 1" is very large, even though I have defined the value of afterskip
to only 1ex, which according to KOMA-Script documentation is the "official" way to deal with white space after section titles. The actually applied space is clearly larger than 1ex.
If I reduce the value even further (say to <0.1ex), at some point the first line of the paragraph "jumps" up and I get the desired behavior. But this is dependent on the fonts used and does not work for my preferred fonts.
I assume it is all just LaTeX' algorithm adjusting the white spaces to its criteria, but in this case it seems to make no sense.
UPDATE:
I have updated my MWE to include my fonts (Bera sans for sans, Charter for text body) since the problem seems to be font dependent.
In this updated case, even setting afterskip=1sp
and \raggedcolumn
doesn't help. I also feel a little bad about just setting afterskip
to the smallest possible number, since I don't want to effect all of my section titles. Is it really all just latex fumbling with the vertical spaces, or is there another parameter involved?