Skip to main content
Legend
January 31, 2024
Answered

Is there a way to avoid wrapping in "special" words?

  • January 31, 2024
  • 1 reply
  • 586 views

Hello!

By "special" I mean two situations like these I came across today:

1. At the end of a text line in block set text there is an e-mail address with a two-letter domain, such as .de. I changed it to .com and now it wraps after the dot. The mail address is considered as one word, but not by Indesign. This is also no hyphenation topic, so I couldn't find anything to make the word not wrap, except for tricks like lowering the character width or the tracking.

2. There is a single directory name like TEMP at the beginning of a text. In order to make it clearer that this is a directory, I changed it to \TEMP. Indesign would wrap the backslash into the previous line. This is also not hyphenation.

 

How to avoid the wrapping here? Is there a simple way?

This topic has been closed for replies.
Correct answer jmlevy

Select the text (either the email address or \TEMP) and apply “No Break” on it. And better, create a character style with this only attribute.

1 reply

jmlevy
Community Expert
jmlevyCommunity ExpertCorrect answer
Community Expert
January 31, 2024

Select the text (either the email address or \TEMP) and apply “No Break” on it. And better, create a character style with this only attribute.

Doc MaikAuthor
Legend
January 31, 2024

Ouch! I never really noticed the quick actions menu. I had looked into the Type menu to find nothing like this. As far as I see it, there is also no button in the top button menu (both layers).

jmlevy
Community Expert
Community Expert
January 31, 2024

I never use the quick actions menu. You can find the “No break” command in the control panel option menu, at the very right end of the control panel.