Comment by machinate

5 months ago

Easy is almost an understatement; it's Alt+Hyphen. [Edit: My bad that's en-dash, can't tell the difference in this monospaced text field. Em-dash you have to hold shift.]

I guess on Windows it's Alt+0,1,5,1 on a numpad. Or you copy+paste from Character Map.

To be pedantic: Opt-shift-hyphen for the em dash (longer one). Opt-hyphen only gets you an en dash.

  • …which is the appropriate character for ranges, i.e., page 1–2.

    I find it a bit sad that using proper typography is now frowned upon, but it seems that ship has sailed.

    • From the discussion with our head of communications (whose pedantry I approve of) US usage avoids spaces—like this—and should use an em-dash.

      But British usage – instead – uses spaces, so an en-dash or an em-dash is acceptable.

      3 replies →

  • One of the reasons I'm not on that page–I have a policy of using en dashes because I am lazy

Or you've had WinCompose installed for years and type Compose+hyphen+hyphen+hyphen. — is easy to type that way. The same works for Linux with a compose key enabled, WinCompose is a program to give Windows a compose key, and comes with default sequences including those found by default in most distro's XCompose list.

  • Big shout-out to WinCompose, it's the only way I found my keyboard usable while being bilingual :)