News for hackers. Stuff that matters.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by Freak_NL on Thursday March 27, 2025 @06:13PM (#43498799)
That has nothing to do with being on a Mac. Em-dashes and the compose-key work fine on Linux, and Android has them under the '-' of the on-screen keyboard when long-pressed.

(Windows probably has some way, but those are rarely discoverable.)

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by tkzed49 on Thursday March 27, 2025 @07:33PM (#43499501)
I disagree, there is absolutely no easy way to do it on Windows. You can install a third party program that emulates the compose key but on macos it "just works". And I think that makes a difference for 95% of users
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by underwater on Friday March 28, 2025 @12:32AM (#43501563)
Install PowerToys, hold dash and then press space. This works for all the variants for any keyboard character.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by pests on Friday March 28, 2025 @01:47AM (#43501952)
Hit Windows+. click on the "Symbols" tab and they're right there under general punctuation.

Released back in 2019 for Windows 10.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by dboreham on Friday March 28, 2025 @09:20AM (#43505117)
I've always (well...for 20 years) done a Google search for "em-dash" then copy/paste the character off whatever result page come up. Word and other fancy editors always provided a popup pane where these characters could be clicked to insert.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by marcellus23 on Friday March 28, 2025 @10:48AM (#43506117)
It's a bit funny. On macOS en and em dashes can be natively typed with alt+- and alt+shift+-. The responses to your comment are apparently suggesting these methods are just as easy as that:

1. Install and configure this extra tool, which also by default enables a ton of other things you may not want, and may as well be a third-party tool even though it's technically built by Microsoft

2. Do a Google search and copy-paste (!)

3. Use a keyboard shortcut to bring up a symbol picker, then click on the tab containing the en and em dashes, then click to type them in

I mean, come on.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by tkzed49 on Friday March 28, 2025 @04:32PM (#43509570)
yeah, this is exactly my point haha. these are not at all the same
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by BalinKing on Thursday March 27, 2025 @06:17PM (#43498830)
That's true, I do use them a lot on iOS as well—similarly, it's a long-press on '-' to get an en or em dash.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by _flux on Friday March 28, 2025 @02:29PM (#43508583)
EURKEY layout in particular has them easily accessible.