libreoffice-writer

How to prevent line breaks (general)


I'm writing a text on C++. But often the line breaks after the first "+", so I get C+

+

This is just an example. How can I prevent line breaking of arbitrary parts in my odt doc?


Solution

  • There is no formatting option at the moment

    Use the Unicode Character U+2060. Insert it an every point the line breaks, but it shouldn't. It glues two parts together.

    Example for "C++" ( | represents the text cursor )