Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Writer: how to prevent line wrapping inside symbol?

Using LO 6.0.x under Linux Fedora 29

I'm working on a technical document explaining the use of some reserved symbols in a programming language, like ?[.

The sentence in which this 2-character symbol appears is justified such that the symbol is split as ?-Newline-[. I could of course change slightly the wording of the sentence to modify justification, but at next editing I could be caught by this spurious line wrapping again.

I tried to insert various "space" characters in range U+2000 to U+200F, in particular ZERO WIDTH SPACE, between the characters, even irrelevant (in this case) ZERO WIDTH JOINER, but I always get some visible gap in the pair.

Is there a way to inform Writer that a sequence of characters should never be split?

What I'm looking for is the exact opposite of soft hyphen. Note matter is made difficult by the fact my symbol is not composed of letters and it starts by a character usually taken as a punctuation.