Keeping paragraphs together on a single page

Good morning. How can I force two paragraphs to always stay together on the same page? For example, if the first paragraph is a section title and the second one is the section’s content, I do not want the title to be the last line on a page and the section text to appear on the following page. Thanks in advance.

Hi @fameros and welcome to the forum.

There is a command for forcing two paragraphs to stay together. You can insert a <no-break-here> tag from the menu (Format -> Break -> No page break); after inserting it, you will see on the ribbon a drop-down menu by means of which you will be able to choose which paragraphs (I think paragraphs, even if the menu says line, but I may have not tested enough) must be on the same page, id est the current and previous or the current and next.

Please ask if you can’t find the command or the drop-down menu.

Apart that, I looked briefly inside the definition of one of the sectioning tags, and the tag for no page break is part of it.

G.

Thank you so much, that’s exactly what I was looking for.