Faq/Writer/147

How to make a series of indivisible characters?
Hyphenation (hyphen deferred to the next line for words that are too long to fit at the end of a line) can be enabled or disabled on demand.

This is a property that one can define in the paragraph style (Text Flow tab). This functionality, which can be disabled, is designed for lexical words.

Insert a Word Joiner
How do you prevent hyphenation at the end of the line for character series like m3/s, C++ or Notepad++?

You need to insert a Word Joiner (No-width no break before LibreOffice 7.2) between the two + characters in the case of C++ for example. Word Joiner means that the characters on both sides will be bound and the inserted character will remain invisible.

This is one of the formatting marks available through the menu.

The insertion of this formatting mark does not have a shortcut key by default. You can assign a shortcut key combination to it.

Assign a shortcut key combination to a Word Joiner

 * go to menu;
 * Insert category;
 * Word Joiner function;
 * pick a shortcut combination that is not already used in the Shortcut Keys list;
 * click on Modify; and
 * click on OK.