I am using LyX and try to avoid the occurence of short text sections at the end of a page which start with a chapter/section etc. Is it possible to add a preamble line which can tell LyX that if a section only has less than e.g. 3 lines in the bottom of a page, it should be moved to the next page?
The way I solve this at the moment is to wait until my report is finished and then add \newpage where this occurs, but it's starting to bug me since I have quite large reports and feel that I loose a bit of control over the documents structure.
Here's an example: MWE

