Apple Intelligence now features Image Playground, Genmoji, Writing Tools enhancements, seamless support for ChatGPT, and visual intelligence.

Apple Intelligence has also begun language expansion with localized English support for Australia, Canada, Ireland, New Zealand, South Africa, and the U.K. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Type a non-breaking hyphen using Magic Keyboard

I used to use a key stroke short cut combination to insert a non-breaking hyphen. I'm using a Magic Keyboard w touch ID. I realize I can insert one with the Character Viewer but would rather type it out (not w Unicode: UTF)


I'm able to make a non-breaking space with Option-Space can't remember what I did for the NB hyphen. Perhaps it's no longer a thing??


Sonoma 14.4.1


Posted on May 14, 2024 6:04 PM

Reply
Question marked as Top-ranking reply

Posted on May 14, 2024 8:34 PM

Open the character viewer (⌘^␠) and search for the non-breaking hyphen (U+2011), and insert that into some text somewhere, such as into a text shortcut you’re creating.


U+2021 is usually also ⌥2011, when Unicode hex input is enabled as an input source. (There was a now-fixed bug here.)


Here’s the non‑breaking hyphen in use.

6 replies
Question marked as Top-ranking reply

May 14, 2024 8:34 PM in response to Wonderwall1234

Open the character viewer (⌘^␠) and search for the non-breaking hyphen (U+2011), and insert that into some text somewhere, such as into a text shortcut you’re creating.


U+2021 is usually also ⌥2011, when Unicode hex input is enabled as an input source. (There was a now-fixed bug here.)


Here’s the non‑breaking hyphen in use.

May 15, 2024 2:39 AM in response to Wonderwall1234

Wonderwall1234 wrote:


I'm able to make a non-breaking space with Option-Space can't remember what I did for the NB hyphen.

If you are talking about Word or LibreOffice, I think it is Command Shift Hyphen.


For other apps, you usually need to do something else, as mentioned by others. A text replacement might work:


Replace text and punctuation in documents on Mac - Apple Support




May 14, 2024 8:13 PM in response to Wonderwall1234

Wonderwall1234 wrote:

I used to use a key stroke short cut combination to insert a non-breaking hyphen. I'm using a Magic Keyboard w touch ID. I realize I can insert one with the Character Viewer but would rather type it out (not w Unicode: UTF)

I'm able to make a non-breaking space with Option-Space can't remember what I did for the NB hyphen. Perhaps it's no longer a thing??

Sonoma 14.4.1


Not sure what that is exactly "non-breaking hyphen"


Shift Option — (this would be an "em dash")


Option – (this would be an "en dash")




examples in a .rtfd format:






ref: The en dash is approximately the length of the letter N, and the em dash the length of the letter M

https://www.scribbr.com/language-rules/dashes/

May 15, 2024 11:25 AM in response to Wonderwall1234

Thanks everyone for your help. In the end this is such a small thing that I've now spent too much time on...


Looking like I'll need to create/modify shortcut as suggested by MrHoffman, OR use Character Viewer or Keyboard Shortcuts, or Insert > Symbols depending on app. Found same issue here https://www.reddit.com/r/mac/comments/19a8mw9/word_for_mac_update_keyboard_shortcut_issue/


To confirm some things:


en/em dashes working fine with:

En Dash (–) Option+Hyphen 

Em Dash (—) Shift+Option+Hyphen


Here's an example of a non-breaking hyphen — if I want the 'check-in' to stay together on the same line, in the example below, I'd use a non-breaking hyphen vs a hyphen.


Mac InDesign, these work for me: 

non-breaking spaces (option+command+x) 

non-breaking hyphens (option+command+-) 


Mac 365 PPT/Word, non-breaking space works:

non-breaking space (option+space) 

but

non-breaking hyphen in Word, see below — Up Arrow... interesting but doesn't help, I also don't have a Numpad



This mentions keyboard conflicts on mac https://support.microsoft.com/en-us/office/keyboard-shortcuts-in-word-95ef89dd-7142-4b50-afb2-f762f663ceb2#PickTab=macOS

May 15, 2024 12:17 PM in response to Wonderwall1234

Wonderwall1234 wrote:


Mac 365 PPT/Word, non-breaking space works:

but
non-breaking hyphen in Word, see below — Up Arrow... interesting but doesn't help, I also don't have a Numpad

Don't you have a up arrow just below right shift?


In any case you can change that shortcut to the standard Command Shift - by clicking on the button called Keyboard Shortcuts at the bottom of that Window. My Word window has Command Shift - for the no break hyphen and it does produce that.








Type a non-breaking hyphen using Magic Keyboard

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.