Menu

#94 enlargefirstpage=false is not really the opposite of enlargefirstpage=true

KOMA-Script 3.48
closed
2025-09-05
2025-09-05
Cabohah
No

Sometimes, e.g. in case of [wiki-de:HowTo_LetterLayer] it would be useful to have an option, that avoids decrease of \textheight depending on firstfootvpos. I've tried to use enlargefirstpage=false, but it seems the \enlargethispage is always used, if firstfootvpos is too small, even if variable firstfoot is empty. So in my example on https://tex.stackexchange.com/a/750649/277964 I've used option firstfoot=false, which seems to avoid the \enlargethispage. Note, that \enlargethispage{0pt} after \opening{…} seems not to help to avoid the usage of \enlargethispage. You can use my example there to see the difference. Just remove firstfoot=false and add \enlargethispage{0pt} before \lipsum[1-15].

Related

Wiki (Deutsch): HowTo_LetterLayer

Discussion

  • Markus Kohm

    Markus Kohm - 2025-09-05

    Interesting problem. I've added an additional option shrinkfirstpage (initially set to true). If you replace enlargefirstpage by shrinkfirstpage=false in penguinTeX's question, it already almost does, what he/she expect. "Almost", because if the missing vertical justification. If you replace hes/her \vspace{-9pt} by \vspace{-3.8pt} it should fit. But I would suggest to change refaftervskip by a similar value instead and remove the \vspace.

     
  • Markus Kohm

    Markus Kohm - 2025-09-05
    • status: open --> closed
     
  • Markus Kohm

    Markus Kohm - 2025-09-05

    Solved by implementation of new option shrinkfirstpage. → [r4219]

     
    👍
    1

    Related

    Commit: [r4219]


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.