Written by Allen Wyatt (last updated September 19, 2020)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365
As discussed in other issues of WordTips, en dashes and em dashes are "sticky" with the word that they follow and cannot be made sticky with the word that follows the dash. Thus, if you have two words separated by an em dash, and the combination appears near the end of a line, Word will wrap from one line to the next right after the em dash; you cannot force Word to keep both words and their connecting dash on the same line.
There is one workaround you can use, however. Let's assume that you have two words (first and second) separated by an em dash, as in first—second. If you want these to always be together, follow these steps:
The result is that the field now shows your two words separated by an em dash. The results of the field always appear on a single line, so the words and their dash will always be together. This approach works regardless of the type of dash between the two words.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9488) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Sticking with the Dashes.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
Some people really like the ability to drag and drop text as they edit. What do you do if the ability is only available ...
Discover MoreThe AutoCorrect feature of Word will automatically capitalize the first letter of sentences as you type, unless the ...
Discover MoreType three periods in a row, and the AutoCorrect feature in Word kicks in to exchange that sequence for a special ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2020-11-23 13:19:31
@Susan,
That's a great tip. I made up a quick macro to insert the no-width non break character before and after any one character that follows the cursor. I assigned it to my Quick Access tool bar for, you know, quick access.
Sub NoBreak()
'
' NoBreak Macro
' Adds no-width/non-break character before and after a character to prevent the line from breaking on either side of the character.
'
Selection.InsertSymbol CharacterNumber:=8205, Unicode:=True, Bias:=0
Selection.MoveRight Unit:=wdCharacter, Count:=1
Selection.InsertSymbol CharacterNumber:=8205, Unicode:=True, Bias:=0
End Sub
2020-09-19 14:09:15
Susan
Another option is to take advantage of the “No-Width Non Break” found by navigating to Insert > Symbol > More Symbols, Special Characters tab. There is no assigned shortcut key. This special character is a nonprinting formatting mark, so activate Show/Hide (Ctrl-*) if necessary.
[nb] = No-Width Non Break
first[nb]—[nb]second
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2023 Sharon Parq Associates, Inc.
Comments