Page LayoutKOMA-Script issue with DIV=calc

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
haozepangthegoat
Posts: 3
Joined: Sat Jun 15, 2024 4:56 pm

KOMA-Script issue with DIV=calc

Post by haozepangthegoat »

Hi ,
The following code:

Code: Select all

\documentclass[DIV=calc, headsepline, twocolumn]{scrartcl}
\usepackage{scrlayer-scrpage}
\usepackage{blindtext}
\KOMAoption{DIV}{last}
\begin{document}
\blinddocument
\end{document}
generates an warning from typearea:

Package typearea Warning: page content and margins higher than paper. This may result in page footer out of paper. You should decrease DIV, decrease foot height, or include footer into type area.

The effect on the pdf is that the footer being eatten. The sufficient condition for generating such issue is:

DIV=calc and headsepline, and twocolumn

Disabling any of the option, the issue will vanish. With the options discribed above, the calculated DIV is 42, which is way too large. Changing it to 28 would render the document correctly without significantly changing characters per line. I am new to KOMA-Script, so not sure if specifying DIV with factor is expected here.

Any help would be much appreciated,

Haoze
Last edited by Stefan Kottwitz on Tue Jun 18, 2024 11:03 am, edited 1 time in total.
Reason: code marked

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply