\recalctypearea looses text when used in twocolum mode
KOMA-Script is a bundle of versatile LaTeX classes and packages
Brought to you by:
kohm
The following document creates three pages and misses the last column (ending with ZZZ). Using \clearpage
before \recalctypearea
gives the expected result of four pages. Extending the text so that the last page has already started the second column works too.
\documentclass[DIV=14]{scrartcl}
\usepackage{lipsum}
\begin{document}
\twocolumn
\lipsum[1][1-4]\lipsum\lipsum[1-3]\lipsum* ZZZZ
%\clearpage
\recalctypearea
xxx
\end{document}
Diff:
Ooooh. Yes, the ugly problem, that
\newpage
with LaTeX's build in two-column mode does not result in a new page but only in a new column.I could replace the
\newpage
in\typearea
by a\clearpage
. But this would be less compatible. So maybe I should use either:or (currently used in [r3888]):
Thank you for the report.
Related
Commit: [r3888]
Last edit: Markus Kohm 2022-06-09
Fixed in [r3888].
Related
Commit: [r3888]