Hyphen, en dash, em dash: a quick cheat sheet (and how do you type them?)
Writing this up for our team because these get mixed up constantly:
- Hyphen (-): joins words, like well-known or re-enter
- En dash (–): ranges and connections, like pages 10–20 or the London–Paris train
- Em dash (—): a break in a sentence, a bit stronger than a comma
Style guides differ on whether the em dash gets spaces around it, so pick one and be consistent. On a Mac, Option+hyphen gives an en dash and Option+Shift+hyphen gives an em dash.
How do you type them on Windows or Linux? And does your team use spaced or unspaced em dashes?
Comments · 3
On a Mac, option plus hyphen gives an en dash and shift-option-hyphen gives an em dash. On Windows, Alt codes 0150 and 0151. The en dash is for ranges, like 10-20.
In HTML,
–and—work if you can't type them. Handy for templates where the editor strips special characters.As a book person, I'd add that publishers differ on spaces around the em dash. Choose a style and stick to it.