• starman2112@sh.itjust.works
    link
    fedilink
    arrow-up
    26
    ·
    28 天前

    I’m too pedantic to let this slide. An em-dash — is a single dash, the width of an m. An en-dash – is a single dash the width of an n

    • trxxruraxvr@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      28 天前

      If we’re going to be pedantic, the em is a unit of width that depends on the font, but not necessarily the with off an m. Some texts apparently used to define it as the width of the capital M, but this definition is obsolete. source

    • Tess@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      6
      ·
      28 天前

      So that’s where the name comes from. I never would’ve guessed it was something this straightforward :)

    • ___@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      28 天前

      On that note, are em dashes and en dashes identical in monospace fonts, if every letter is the same width?

      Edit: I tested this on a few monospace fonts, and they have a character for en dashes but not em dashes

      • forestbeasts@pawb.social
        link
        fedilink
        arrow-up
        2
        ·
        28 天前

        Very, very similar, yes. It can be annoying!

        We’ve got our browser set to use a monospace font for everything, everywhere, including all websites. It’s awesome for seeing if you’ve accidentally typed two spaces. Not so great for checking to make sure you’re using the right kind of dash!

        – Frost

        (also Lemmy, because it’s annoying, is going to turn my double - here into an en/em dash (not 100% sure which). In this case, I DO in fact mean a double -, dangit.)