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}