Writer: two styles, one line

Hello,

I have been trying to achieve having a heading and body text in the same line. This is a requirement for following the APA 7 style guidelines, specifically at heading levels 4 and 5.

My problem is that whenever I select text from the line and want to format it by double clicking on the style, the whole line changes. So far, when needed, I have been achieving this by direct formatting, but I’d rather do it the styles way.

I am on Debian and using the Flatpak Version: 25.2.3.2 (X86_64) / LibreOffice Community.

Thanks in advance for any and all help and pointers.

Inline headings were introduced for compatibility with Microsoft Office. It is still a bit of a workaround for entering them

  1. Write your body text paragraph
  2. Add a frame to the paragraph and type your heading inside it.
  3. Drag the anchor to the beginning of the body text paragraph if the frame has anchored itself to a different paragraph
  4. With the frame still selected, double click Inline Heading frame style

A bit of experimentation should find way that suits you. One might be to add your inline heading frame with a dummy heading to AutoText so you only have to replace the dummy text with the actual heading

Tha main problem is with the 4-5 level of the APA Style: The whole text of the paragraph will be apeared in the Table of Contents (if you need create a Contents list)
.
Otherwise you can achieve the “two styles for one paragraph” layout without direct (manual) formatting by using the Paragraph Styles and the Character Styles:
You can apply a Paragraph Style for the whole paragraph (with properties for the text and with properties for the paragraph), and you can apply one (or more then one ) Character Style for the parts of the text.
.
I suggest you to use consistently the “Text begins as a new paragraph.” layout for the 4-5 levels too.

Hi d249b! Be welcomed.

Try this extension