If your text is automatically hyphenated and certain hyphenated words look ugly, or if you want specific words never to be hyphenated you can switch off hyphenation for those words:
Choose LibreOffice - PreferencesTools - Options - Languages and Locales - Writing Aids
Select a dictionary in the User-defined dictionary list, and then click Edit.
If the list is empty, click New to create a dictionary.
In the Word box, type the word you want to exclude from hyphenation, followed by an equal sign (=), for example, "pretentious=".
Click New, and then click Close.
To quickly exclude a word from hyphenation, select the word, choose Format - Character, click the Font tab, and select "None" in the Language box.
Some words contain special characters that LibreOffice treats as a hyphen. If you do not want such words to be hyphenated, you can insert a special code that prevents hyphenation at the position where the special code is inserted. Proceed as follows:
Position the cursor at the place where no hyphenation should occur.
The inserted formatting mark will be shown in gray. To remove it, simply place the cursor over the formatting mark and press the Del key.