[Tex/LaTex] suppress page break before chapter title in LyX

chapterslyxpage-breaking

I'm using LyX and need to have the chapters to start soon after the end of the previous chapter.

A LyX solution will be most appreciated.
Document class report and I am not to change the document class.

Best Answer

You can try going to Document --> Settings --> LaTeX Preamble, and add

\renewcommand\chapter{\par
                    \thispagestyle{plain}%
                    \global\@topnum\z@
                    \@afterindentfalse
                    \secdef\@chapter\@schapter}

(Normally one would need \makeatletter before and \makeatother after, see What do \makeatletter and \makeatother do?, but LyX adds this automatically, so it is not necessary.)