{"course":{"slug":"design-foundations","title":"Design, before Any Software","url":"https://addaly.com/learn/design-foundations","level":"beginner","track":"create"},"lesson":{"slug":"numerals-and-punctuation","title":"Figures, dashes and the details nobody teaches","url":"https://addaly.com/learn/design-foundations/numerals-and-punctuation","position":31,"of":74,"minutes":8,"answer":"Use supported tabular figures for equal digit advances, choose lining or oldstyle forms separately, and use a locale-aware formatter and appropriate punctuation.","keyIdea":"Use supported tabular figures for equal digit advances, choose lining or oldstyle forms separately, and use a locale-aware formatter and appropriate punctuation."},"body":{"format":"markdown","text":"## The counter that jiggles\n\nA live timer counts down: 0:59, 0:58, 0:57. The digits shift left and right by a pixel or two on every tick, and the whole element twitches. A price column in a table has its digits almost but not quite aligned.\n\nProportional figures can have different advances, for example a narrower 1 than 0. A timer or numeric column can use **tabular figures**, which give the supported digits equal advances in the chosen font.\n\n```css\n.timer, .price-column { font-variant-numeric: tabular-nums; }\n```\n\nCheck that the font supports the feature. Compare two values with the same number of digits in the timer. Separators, digit-count changes and layout alignment can still affect total width.\n\n## Lining and oldstyle\n\n**Lining figures** share a common height near the capitals. **Oldstyle** or text figures have varied heights and may include forms that extend above or below the main digit height. Which digits do that depends on the font. This is a separate choice from equal or proportional advances.\n\nOldstyle figures sit more comfortably inside lowercase prose, because they have the same up-and-down profile as the letters around them. Lining figures stand out, which is right in a table, in an all-caps setting, or where a number is the point.\n\n```css\np { font-variant-numeric: oldstyle-nums; }\ntable { font-variant-numeric: lining-nums tabular-nums; }\n```\n\nCheck which variants the exact font supports, and inspect the result in the number system your readers will use. [W3C numeric variants](https://www.w3.org/TR/css-fonts-4/#font-variant-numeric-prop).\n\n## Dashes, and the three of them\n\n- **Hyphen** `-` joins some compounds and can mark word breaks.\n- **En dash** `–` can mark a range or connection, as in 1998–2004 or London–Delhi.\n- **Em dash** `—` can mark a sentence break. The actual width of either dash depends on the font.\n- **Minus sign** `−` marks negative values or subtraction, as in `−5°C`. It has its own character code.\n\nBritish practice typically uses a spaced en dash for the parenthetical break where American practice uses a closed-up em dash. Both are correct within their conventions; what is not correct is a hyphen standing in for either.\n\n## Quotes and primes\n\nCurly quotation marks, straight quotation marks, and prime symbols are distinct characters. Use prime and double prime, U+2032 and U+2033, for a measurement such as 5′ 11″ when those units are intended.\n\nA sign may use a straight quote in place of a double prime. For a typeset measurement, use the actual prime symbol. For a name such as O’Brien, check the apostrophe and the spelling supplied by the person.\n\n## Indian digit grouping\n\nWorth its own section for this audience, because getting it wrong is immediately visible to a large number of readers.\n\nThe en-IN example groups the last three digits and the preceding digits in pairs, as in 1,20,000 and 1,00,00,000. Pick the locale and numbering options for the readers and purpose of the display.\n\nThis is a formatting decision, not a font one, and JavaScript handles it:\n\n```js\nnew Intl.NumberFormat('en-IN').format(1200000)   // \"12,00,000\"\nnew Intl.NumberFormat('en-IN', {\n  style: 'currency', currency: 'INR'\n}).format(1200000)                                // \"₹12,00,000.00\"\n```\n\nA locale-aware formatter can handle grouping, decimal and currency conventions for its supported locales. Use the actual audience settings and compare the results with real amounts, including negative values. [Unicode CLDR numbers](https://unicode.org/reports/tr35/tr35-numbers.html).\n\n## Spaces that should not break\n\nSome pairs must not be split across a line: a number and its unit, an honorific and a name, a figure and its currency symbol.\n\n```html\n10&nbsp;kg    ₹1,200    Dr&nbsp;Sharma    Figure&nbsp;4\n```\n\nUse a nonbreaking space where a deliberate pair should stay on one line. A thin space provides a different visual width. A narrow nonbreaking space provides a narrow gap with a no-break behaviour. Check the font and line breaking in the target layout. [Unicode line breaking](https://unicode.org/reports/tr14/).\n\n## The ellipsis and the degree sign\n\nThree full stops in a row are not an ellipsis. The character … has its own spacing and will not break across a line. Likewise the degree sign ° is not a superscript o, and the multiplication sign × is not a lowercase x: 1920 × 1080 against 1920 x 1080 is a small difference that a designer's eye catches instantly.\n\nNone of this is decoration. Each of these details exists because somebody needed the distinction and the typewriter could not make it. The characters came back; most people just never found out."},"check":{"question":"A timer’s digits shift as it changes from 0:59 to 0:58. The team wants to keep the existing font, which has tabular figures. What setting addresses unequal digit advances?","options":[{"text":"Request oldstyle figures to make the digits follow lowercase proportions.","correct":false,"tempting":"Oldstyle changes vertical forms. It is independent of equal horizontal advances."},{"text":"Change the separator to a full stop while keeping the same numeric spacing.","correct":false,"tempting":"Changing the separator leaves the differing advances of the digits."},{"text":"Request tabular figures with font-variant-numeric: tabular-nums.","correct":true},{"text":"Use lining figures to align the tops of the digits and keep proportional widths.","correct":false,"tempting":"Lining describes height rather than equal widths."}]},"prev":{"slug":"case-italic-and-emphasis","title":"Capitals, italics and the cost of emphasis","url":"https://addaly.com/learn/design-foundations/case-italic-and-emphasis"},"next":{"slug":"typographic-colour","title":"The grey of a paragraph","url":"https://addaly.com/learn/design-foundations/typographic-colour"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Figures, dashes and the details nobody teaches', in Design, before Any Software. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/design-foundations/numerals-and-punctuation (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Figures, dashes and the details nobody teaches","courseTitle":"Design, before Any Software","module":{"index":3,"slug":"type-mechanically","title":"Type, mechanically"},"answer":null,"keyIdea":"Use supported tabular figures for equal digit advances, choose lining or oldstyle forms separately, and use a locale-aware formatter and appropriate punctuation.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"the-counter-that-jiggles","runs":[{"text":"The counter that jiggles"}]},{"t":"p","runs":[{"text":"A live timer counts down: 0:59, 0:58, 0:57. The digits shift left and right by a pixel or two on every tick, and the whole element twitches. A price column in a table has its digits almost but not quite aligned."}]},{"t":"p","runs":[{"text":"Proportional figures can have different advances, for example a narrower 1 than 0. A timer or numeric column can use "},{"text":"tabular figures","b":true},{"text":", which give the supported digits equal advances in the chosen font."}]},{"t":"code","lang":"css","label":"CSS","text":".timer, .price-column { font-variant-numeric: tabular-nums; }"},{"t":"p","runs":[{"text":"Check that the font supports the feature. Compare two values with the same number of digits in the timer. Separators, digit-count changes and layout alignment can still affect total width."}]},{"t":"h2","id":"lining-and-oldstyle","runs":[{"text":"Lining and oldstyle"}]},{"t":"p","runs":[{"text":"Lining figures","b":true},{"text":" share a common height near the capitals. "},{"text":"Oldstyle","b":true},{"text":" or text figures have varied heights and may include forms that extend above or below the main digit height. Which digits do that depends on the font. This is a separate choice from equal or proportional advances."}]},{"t":"p","runs":[{"text":"Oldstyle figures sit more comfortably inside lowercase prose, because they have the same up-and-down profile as the letters around them. Lining figures stand out, which is right in a table, in an all-caps setting, or where a number is the point."}]},{"t":"code","lang":"css","label":"CSS","text":"p { font-variant-numeric: oldstyle-nums; }\ntable { font-variant-numeric: lining-nums tabular-nums; }"},{"t":"p","runs":[{"text":"Check which variants the exact font supports, and inspect the result in the number system your readers will use. "},{"text":"W3C numeric variants","href":"https://www.w3.org/TR/css-fonts-4/#font-variant-numeric-prop"},{"text":"."}]},{"t":"h2","id":"dashes-and-the-three-of-them","runs":[{"text":"Dashes, and the three of them"}]},{"t":"ul","items":[[{"text":"Hyphen","b":true},{"text":" "},{"text":"-","code":true},{"text":" joins some compounds and can mark word breaks."}],[{"text":"En dash","b":true},{"text":" "},{"text":"–","code":true},{"text":" can mark a range or connection, as in 1998–2004 or London–Delhi."}],[{"text":"Em dash","b":true},{"text":" "},{"text":"—","code":true},{"text":" can mark a sentence break. The actual width of either dash depends on the font."}],[{"text":"Minus sign","b":true},{"text":" "},{"text":"−","code":true},{"text":" marks negative values or subtraction, as in "},{"text":"−5°C","code":true},{"text":". It has its own character code."}]]},{"t":"p","runs":[{"text":"British practice typically uses a spaced en dash for the parenthetical break where American practice uses a closed-up em dash. Both are correct within their conventions; what is not correct is a hyphen standing in for either."}]},{"t":"h2","id":"quotes-and-primes","runs":[{"text":"Quotes and primes"}]},{"t":"p","runs":[{"text":"Curly quotation marks, straight quotation marks, and prime symbols are distinct characters. Use prime and double prime, U+2032 and U+2033, for a measurement such as 5′ 11″ when those units are intended."}]},{"t":"p","runs":[{"text":"A sign may use a straight quote in place of a double prime. For a typeset measurement, use the actual prime symbol. For a name such as O’Brien, check the apostrophe and the spelling supplied by the person."}]},{"t":"h2","id":"indian-digit-grouping","runs":[{"text":"Indian digit grouping"}]},{"t":"p","runs":[{"text":"Worth its own section for this audience, because getting it wrong is immediately visible to a large number of readers."}]},{"t":"p","runs":[{"text":"The en-IN example groups the last three digits and the preceding digits in pairs, as in 1,20,000 and 1,00,00,000. Pick the locale and numbering options for the readers and purpose of the display."}]},{"t":"p","runs":[{"text":"This is a formatting decision, not a font one, and JavaScript handles it:"}]},{"t":"code","lang":"js","label":"JavaScript","text":"new Intl.NumberFormat('en-IN').format(1200000)   // \"12,00,000\"\nnew Intl.NumberFormat('en-IN', {\n  style: 'currency', currency: 'INR'\n}).format(1200000)                                // \"₹12,00,000.00\""},{"t":"p","runs":[{"text":"A locale-aware formatter can handle grouping, decimal and currency conventions for its supported locales. Use the actual audience settings and compare the results with real amounts, including negative values. "},{"text":"Unicode CLDR numbers","href":"https://unicode.org/reports/tr35/tr35-numbers.html"},{"text":"."}]},{"t":"h2","id":"spaces-that-should-not-break","runs":[{"text":"Spaces that should not break"}]},{"t":"p","runs":[{"text":"Some pairs must not be split across a line: a number and its unit, an honorific and a name, a figure and its currency symbol."}]},{"t":"code","lang":"html","label":"HTML","text":"10&nbsp;kg    ₹1,200    Dr&nbsp;Sharma    Figure&nbsp;4"},{"t":"p","runs":[{"text":"Use a nonbreaking space where a deliberate pair should stay on one line. A thin space provides a different visual width. A narrow nonbreaking space provides a narrow gap with a no-break behaviour. Check the font and line breaking in the target layout. "},{"text":"Unicode line breaking","href":"https://unicode.org/reports/tr14/"},{"text":"."}]},{"t":"h2","id":"the-ellipsis-and-the-degree-sign","runs":[{"text":"The ellipsis and the degree sign"}]},{"t":"p","runs":[{"text":"Three full stops in a row are not an ellipsis. The character … has its own spacing and will not break across a line. Likewise the degree sign ° is not a superscript o, and the multiplication sign × is not a lowercase x: 1920 × 1080 against 1920 x 1080 is a small difference that a designer’s eye catches instantly."}]},{"t":"p","runs":[{"text":"None of this is decoration. Each of these details exists because somebody needed the distinction and the typewriter could not make it. The characters came back; most people just never found out."}]}],"check":{"question":[{"text":"A timer’s digits shift as it changes from 0:59 to 0:58. The team wants to keep the existing font, which has tabular figures. What setting addresses unequal digit advances?"}],"options":[{"text":[{"text":"Request oldstyle figures to make the digits follow lowercase proportions."}],"correct":false,"tempting":[{"text":"Oldstyle changes vertical forms. It is independent of equal horizontal advances."}]},{"text":[{"text":"Change the separator to a full stop while keeping the same numeric spacing."}],"correct":false,"tempting":[{"text":"Changing the separator leaves the differing advances of the digits."}]},{"text":[{"text":"Request tabular figures with font-variant-numeric: tabular-nums."}],"correct":true,"tempting":null},{"text":[{"text":"Use lining figures to align the tops of the digits and keep proportional widths."}],"correct":false,"tempting":[{"text":"Lining describes height rather than equal widths."}]}],"order":[0,2,1,3],"why":null},"prev":{"slug":"case-italic-and-emphasis","title":"Capitals, italics and the cost of emphasis","minutes":8},"next":{"slug":"typographic-colour","title":"The grey of a paragraph","minutes":8}}}