From 5a6ab6961498abf94e60125e25ee5f48df33f112 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 e57cec2..0a631a0 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -447,6 +447,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}