5
$\begingroup$

I found \[NonBreakingSpace] but I haven't found a non-breaking hyphen (I want to use them in text mode in notebooks). I must be missing something obvious.

$\endgroup$
  • 1
    $\begingroup$ Maybe you could use \[DiscretionaryHyphen]? $\endgroup$ – Carl Woll Sep 20 '18 at 20:48
  • $\begingroup$ Isn't a discretionary hyphen one that CAN and DOES break, under certain circumstances? If so, that is the opposite of what is requested. $\endgroup$ – David G. Stork Sep 20 '18 at 21:24
4
$\begingroup$

Guess you can do

\[NoBreak]\[Hyphen]\[NoBreak]

enter image description here

Those lines are the same except the first one has nobreaks:

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.