Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

50%
+0 −0
Q&A Preventing units from being "broken" to the next line

I believe you need a nonbreaking hyphen. It'll keep the characters before and after it from breaking across lines. From Butterick's Practical Typography: Your word proces­sor as­sumes that any...

posted 10y ago by Neil‭  ·  last activity 5y ago by System‭

Answer
#3: Attribution notice added by user avatar System‭ · 2019-12-08T03:29:56Z (almost 5 years ago)
Source: https://writers.stackexchange.com/a/10850
License name: CC BY-SA 3.0
License URL: https://creativecommons.org/licenses/by-sa/3.0/
#2: Initial revision by (deleted user) · 2019-12-08T03:29:56Z (almost 5 years ago)
I believe you need a nonbreaking hyphen. It'll keep the characters before and after it from breaking across lines. From [Butterick's Practical Typography](http://practicaltypography.com/nonbreaking-hyphens.html):

> Your word proces­sor as­sumes that any hy­phen marks a safe place to flow the text onto a new line or page. Sim­i­lar to the non­break­ing space, the non­break­ing hy­phen looks iden­ti­cal to a hy­phen but will not be used as a place for a line break or page break.

[In Word 2007](https://office.microsoft.com/en-us/word-help/insert-a-hyphen-HA010096395.aspx#BM2) for Windows, Press CTRL+SHIFT+HYPHEN. On Word for Mac 2010, press command-shift-dash or Insert \> Symbol \> Advanced Symbol.

#1: Imported from external source by user avatar System‭ · 2014-04-29T19:21:26Z (over 10 years ago)
Original score: 4