Coder Social home page Coder Social logo

En-dash for number ranges about typeset HOT 3 OPEN

davidmerfield avatar davidmerfield commented on August 20, 2024
En-dash for number ranges

from typeset.

Comments (3)

samhenrigold avatar samhenrigold commented on August 20, 2024 1

I’ve been referencing this blog post a lot lately, thin spaces with an en-dash looks nice. https://clagnut.com/blog/2419

from typeset.

danielhaim1 avatar danielhaim1 commented on August 20, 2024

That sounds interesting, I would like to investigate this further. Found some very nice notes here too, I'm adding some others below:

Dash in Dates & Numbers

  • Between times: 1200–1600
  • Between times: 6 am–8 am
  • Between days: Monday–Friday
  • Between dates: 12–15 October
  • Between months: June–August
  • Between years: 1967–1969

Dash in any range:

  • Pages 2–4
  • 100–150 people

Do's and Don'ts

Don't use "From" or "To"

Don't use the word "from" or "to" if you're using a dash to show a range.
If you're not using a dash, then you can use "from" and "to." Don't mix these conventions.

  • Correct: Lunch break is 1200–1300.
  • Correct: Lunch break is from 1200 to 1300.
  • Incorrect: Lunch break is from 1200–1300.

Another example:

  • Incorrect: Nelson Mandela was president of South Africa from 1994–1999.
  • Correct: Nelson Mandela was president of South Africa from 1994 to 1999.
  • Incorrect: Homer eats between 60–75 donuts per month.
  • Correct: Homer eats between 60 and 75 donuts per month.

from typeset.

danielhaim1 avatar danielhaim1 commented on August 20, 2024

That's a great resource. How can I help implement this?

from typeset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.