Hello,
I’m writing a technical document in Writer, which has pre-formatted sections of text in it. Most of these are a couple of lines of either assembly or C programming code. For these sections I have created a separate style which sets a mono-spaced font as well as tabs to make the formatting of the code look correct.
The only issue I’m having is that each line of code ends in a newline, which then acts as an end of the section. A 10 line code section is interpreted by Writer as 10 one-line sections, which means that the orphan/widow control does not kick in.
What can I do to make the code sections adhere to the orphan/widow control settings for the style I’m using?