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

Preventing units from being "broken" to the next line

+0
−0

I'm having trouble with keeping "units" on the same line, or together. For example, g C m-2 (grams of carbon per square meter) often gets broken between the "-" and "2". I realize it's possible to use non-breaking spaces, but this doesn't help in this situation because there aren't spaces between "-" and "2". Any ideas?

I'm using Microsoft Word 2007 on a PC (and mac). Apologies if this is not an appropriate question for this site.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

This post was sourced from https://writers.stackexchange.com/q/10849. It is licensed under CC BY-SA 3.0.

0 comment threads

1 answer

+0
−0

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 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 for Windows, Press CTRL+SHIFT+HYPHEN. On Word for Mac 2010, press command-shift-dash or Insert > Symbol > Advanced Symbol.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »