incorporate comments from the code review on the original PR #57

This commit is contained in:
LLdaniel 2025-02-02 11:51:07 +01:00
commit a4445849d2
3 changed files with 15 additions and 3 deletions

View file

@ -937,7 +937,7 @@ If \Latex breaks pages just after \code{\\section} or \code{\\subsection} comman
\setlength{\cvsubsectionstretchability}{100pt}
\end{lstlisting}
These two lengths tell \Latex how much extra length it needs after \code{\\section} and \code{\\subsection} commands.
By default, \Moderncv sets both lengths to \code{0.9\\baselineskip}.
By default, \Moderncv sets both lengths to \code{0pt} by default.
This should solve orphaned \code{\\section} and \code{\\subsection} commands that are used alone for most users.
However, \Latex does not check for content.