From 62e3debc6a72cf6312ab60d9605ebd4b3711b27f Mon Sep 17 00:00:00 2001 From: David Date: Fri, 29 Jan 2021 12:15:35 +0100 Subject: [PATCH] set default stretchability to 0.9\baselineskip --- moderncv.cls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/moderncv.cls b/moderncv.cls index 7521a44..2ec6a73 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -436,6 +436,9 @@ % by the user if needed. \@initializelength{\cvsectionstretchability} \@initializelength{\cvsubsectionstretchability} +% set the default stretchability. +\setlength{\cvsectionstretchability}{.9\baselineskip} +\setlength{\cvsubsectionstretchability}{.9\baselineskip} % must be between -100 and 9999. The higher the less likely a page break will occur. % This is where the page break should occur, so this number should not bee too high \NewDocumentCommand\withinstretchpenalty{}{0}