←back to thread

650 points Stratoscope | 8 comments | | HN request time: 1.855s | source | bottom
Show context
mmooss ◴[] No.43499567[source]
Here's an easy, if not always precise way to remember:

* Hyphens connect things, such as compound words: double-decker, cut-and-dried, 212-555-5555.

* EN dashes make a range between things: Boston–San Francisco flight, 10–20 years: both connect not only the endpoints, but define that all the space between is included. (Compare the last usage with the phone number example under Hyphens.)

* EM dashes break things, such as sentences or thoughts: 'What the—!'; A paragraph should express one idea—but rules are made to be broken.

Unicode has the original ASCII hyphen-minus (U+002d), as well as a dedicated hyphen (U+2010), other functional hyphens such as soft and non-breaking hyphens, and a dedicated minus sign (U+2212), and some variations of minus such as subscript, superscript, etc.

There's also the figure dash "‒" (U+2012), essentally a hyphen-minus that's the same width as numbers and used aesthetically for typsetting, afaik. And don't overlook two-em-dashes "⸺" and three-em-dashes "⸻" and horizontal bars "―", the latter used like quotation marks!

replies(12): >>43499795 #>>43500096 #>>43500276 #>>43500389 #>>43500958 #>>43501074 #>>43502495 #>>43503176 #>>43504564 #>>43507109 #>>43512927 #>>43570687 #
lxgr ◴[] No.43500276[source]
> EM dashes break things, such as sentences or thoughts

Some style guides recommend "space, en dash, space" for this, and I prefer that myself – mainly because some software doesn't treat em dashes correctly as word separators for double click selection purposes.

For example, I'm pretty sure that at least some Kindle models would highlight both the word before and after the em dash when selecting one of them, which makes using the dictionary very annoying.

replies(7): >>43500598 #>>43501460 #>>43501482 #>>43501556 #>>43501772 #>>43503947 #>>43503958 #
1. mmooss ◴[] No.43501482[source]
The AP Style Manual, a/the leading source for US journalism at least, says

  <word> <space> <dash> <space> <word>
Outside of journalism, usually there is no padding, only,

  <word> <dash> <word>
I'm with you: For searches, the spaces make the words easier to parse. Those rules predate computers, I would guess.
replies(2): >>43501525 #>>43501561 #
2. lxgr ◴[] No.43501525[source]
> <word> <dash> <word>

That one I’d usually parse as a hyphen, as in e.g. well-known. “Word space dash space word” is much clearer, in my view.

> The AP Style Manual, a/the leading source for US journalism

One of the things I can easily get away with by not being a US journalist :)

replies(1): >>43502215 #
3. mattl ◴[] No.43501561[source]
Chicago Manual of Style has no spaces, so there’s some variation at least.
replies(1): >>43501741 #
4. mmooss ◴[] No.43501741[source]
CMOS is not journalism, so it's not variation from the GP?
replies(1): >>43501936 #
5. mattl ◴[] No.43501936{3}[source]
A wider number of people use either of them. Every place I’ve used used CMOS which I now use with others.
replies(1): >>43502338 #
6. stouset ◴[] No.43502215[source]
It’s quite hard to mistake an em dash for a hyphen in a proportional font.

self-fulfilling

self—fulfilling

One of these looks very, very wrong.

replies(1): >>43502255 #
7. johnisgood ◴[] No.43502255{3}[source]
I agree, although I still prefer spaces between —.
8. ghaff ◴[] No.43502338{4}[source]
Company I used to work for used AP for things like press releases and, I think, official blog posts and Chicago plus a couple different tech style guides for everything else.

Basically, we didn’t like some things in AP but we wanted to make it easy for journalists to copy/paste.