Norwegian Bokmål typography rules · nb
Norsk bokmål
Norwegian Bokmål sets primary quotation marks as «…» and secondary quotation marks as ‘…’. A break in a sentence is written with an en dash (U+2013) with a space on each side; number and date ranges take an en dash (U+2013) with no surrounding spaces. Numbers bind to units such as % kr km with U+00A0.
Run polytypo with Norwegian Bokmål rules
Edit the text and polytypo typesets it with the nb locale, in your browser. The code under the form is the call that produces the result.
The call the form above is making, right now
Other locales, and all the options, are in the full playground.
Norwegian Bokmål typography at a glance #
| Tag | nb |
|---|---|
| Name | Norwegian Bokmål |
| Primary quotes | « U+00AB left-pointing double angle quotation mark … » U+00BB right-pointing double angle quotation mark |
| Secondary quotes | ‘ U+2018 left single quotation mark … ’ U+2019 right single quotation mark |
| Parenthetical dash | spaced en dash |
| Range dash | unspaced en dash |
| Rules with citations | quotes, dashes, ranges, ellipsis, hyphen, nbsp |
| Conformance cases | 36 |
Which locale tags resolve to Norwegian Bokmål? #
The locale option is resolved exactly, then by declared alias, then by dropping the region once; anything else throws POLYTYPO_UNKNOWN_LOCALE.
Declared alias: no → nb.
| Tag | How it resolves |
|---|---|
nb | registered locale |
nb-NO | region removed, then the registered locale |
no | declared alias |
no-NO | region removed, then a declared alias |
Which quotation marks does Norwegian Bokmål use? #
| Primary | « U+00AB left-pointing double angle quotation mark … » U+00BB right-pointing double angle quotation mark — no space inside the marks |
|---|---|
| Secondary | ‘ U+2018 left single quotation mark … ’ U+2019 right single quotation mark — no space inside the marks |
quotes
How are apostrophes set in Norwegian Bokmål? #
apostrophe
Which dashes does Norwegian Bokmål use for breaks and ranges? #
Parenthetical break (dash.parenthetical) | an en dash (U+2013) with a space on each side |
|---|---|
Between numbers and dates (dash.range) | an en dash (U+2013) with no surrounding spaces |
The dashes rule reads the parenthetical convention. The ranges rule reads the range convention and is on by default.
dashes
ranges
The ranges rule is on by default; rules: { ranges: false } switches it off.
options: rules: {"ranges": true}
options: rules: {"ranges": true}
How is the ellipsis set in Norwegian Bokmål? #
An ellipsis keeps its full form after ! and ?; this locale does not abbreviate it there.
ellipsis
How are hyphens handled in Norwegian Bokmål? #
The hyphen lists are empty for this locale, so the hyphen rule changes nothing.
Where does Norwegian Bokmål use no-break spaces? #
Characters that take U+00A0 before them (nbsp.beforePunctuation) | none |
|---|---|
Characters that take U+202F before them (nbsp.narrowBeforePunctuation) | none |
Short words after which the space becomes U+00A0, so the word is not left at the end of a line (nbsp.afterShortWords) | none |
Multi-token abbreviations whose internal spaces become U+00A0 (nbsp.abbreviations) | none |
Units and signs bound to the preceding number with U+00A0 when the author typed a space (nbsp.beforeUnits) | none |
Units and signs written with a space after the number: the space is bound with U+00A0, and inserted when missing (nbsp.spacedUnits) | % kr km kg cm °C |
Units and signs written closed up to the number: a space between them is removed (nbsp.closedUnits) | none |
Abbreviations bound to the following number with U+00A0 (nbsp.beforeNumber) | none |
Abbreviations bound to the following word with U+00A0 (nbsp.beforeWord) | none |
Symbols bound to the following number with U+00A0 (nbsp.afterSymbols) | none |
Initials (nbsp.initialBinding) | none — disabled: initials are never bound to the name that follows |
spaces
nbsp
How are symbols set in Norwegian Bokmål? #
symbols
How does Norwegian Bokmål text behave in text, HTML and Markdown modes? #
Each input is the locale's sample sentence followed by a code run, say("a -- b ..."). text mode sets the whole string as prose, code run included. In html and markdown mode the code run comes back byte for byte; only the prose is set.
Which sources define Norwegian Bokmål typography? #
6 citations in spec/locales/nb.json, grouped by the rule each one supports. A citation names the authority; the note records what the source does and does not settle.
ellipsis
- Språkrådet, «Mellomrom» («eller ...?», «Svarte f…!») and «Punktum» («Han er vel ikke …?») sprakradet.no
abbreviatedAfterTerminal = false: the terminal mark follows the dots in every example, so no source reduces the dots after ? or !. Spacing around the dots (a space before them when a word is omitted, none when letters are omitted) depends on what is omitted and is not encoded. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.
ranges
- Språkrådet, «Tankestrek»: «Streken svarer i slike tilfeller til fra ... til, mellom ... og» and «Her skal det ikke være mellomrom på hver side av tankestreken» (1. mai–10. september, årene 1349–54, kapitlene 2–10, 2–0); «Mellomrom»: «Det skal ikkje vere mellomrom føre og etter tankestrekar som viser tidsrom, avstandar» (opningstid: 9–19) sprakradet.no
dash.range = en-tight (U+2013, no spaces). Unlike Danish, Norwegian writes the range with the dash, not the hyphen. The abbreviated second member (1349–54) is Språkrådet's own example; the ranges rule's digit-run guards decide which of the typed forms are converted (ranges.md §3.2). Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.
dashes
- Språkrådet, «Tankestrek» (Bokmål): «Tankestrek kan brukes ved innskudd og tilføyelse, med ett mellomrom («luft») på begge sider»; «Vi bruker kort tankestrek (–), ikke lang (—)»; «Tankestreken (–) er lengre enn bindestreken (-)»; «Mellomrom»: «Det skal vere mellomrom føre (og etter) ein tankestrek ved innskot og i liknande funksjonar» sprakradet.no
dash.parenthetical = en-spaced (U+0020 U+2013 U+0020). The spacing and the short dash are stated; the page names Alt+0150 (Windows-1252 0x96 = U+2013) and rejects the long dash U+2014, so an em dash is normalised to the en dash by citation. The dialogue dash (replikkstrek) is not encoded. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.
hyphen
- Språkrådet, «Bindestrek»: «Også der førsteleddet er et siffer e.l., skal ordet skrives med bindestrek» (2.-prioritetslån, 50-årsdag, A4-format); «Sammensetninger med en forkortelse eller en enkelt bokstav som førsteledd skal ha bindestrek» (e-post, EU-motstander) sprakradet.no
All three lists are empty: the page says when a hyphen is written, not where a line must not break. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.
quotes
- Språkrådet, «Hermeteikn» (Godt og korrekt språk › Tegn); språkspørsmål «Hermeteikn, kva slags?» and «Sitat i sitat» (last updated 1 January 2024): «Dei to formene for hermeteikn som er vanlegast i norsk, er doble ″komma″ oppe og doble «vinkelteikn». Dei blir rekna som like rette»; «Eit sitat inni eit anna sitat bør helst markerast med enkle hermeteikn»; «Enkle vinklar er mindre brukt, men […] kan gjerne brukast»; «Komma skal setjast utanfor, anten det opphavleg høyrer til sitatet eller ikkje» sprakradet.no
PICK-AND-PIN: «…» (U+00AB open, U+00BB close) with ‘…’ (U+2018, U+2019) inside. Språkrådet calls the doubled-comma form and the guillemet form equally correct, lists «…» first and as usual in books and newspapers, and reports, as far as it knows («Så vidt vi veit»), that Standard Norge and Microsoft agreed to make the guillemets the computer default; the doubled-comma form (”…” or “…”, U+201D or U+201C opening) is the equally correct rival and is normalised to the pinned pair. The »…« (U+00BB opening) reading in the issue is the Danish form and is not attested in any Språkrådet page read. Secondary: «Sitat i sitat» names single marks as the preferred inner level and uses ‘…’ in its examples; the Hermeteikn page also lists ’…’ (U+2019 both sides), which «Hermeteikn, kva slags?» calls the traditional Norwegian form («9 9 er det tradisjonelle i norsk») and the FAQ allows ‹…› (U+2039, U+203A), so the choice among the three single forms is a pin; ‘…’ is pinned because it is the form of the FAQ's own examples (including its gåsaugo ‘hermeteikn’) and keeps the opening and closing marks distinct. innerSpace none: no example has a space between a mark and the text. punctuationPlacement none: the comma goes outside, while the full stop and a question or exclamation mark go inside only when they belong to the quotation, so placement depends on meaning. ACCEPTED GAP: «Sitat i sitat» recommends a thin space (U+2009) between a double and a single mark that touch; the schema cannot express it, and an authored U+2009 is left untouched. elisionIdioms and elisionClitics empty: not addressed. Six of the nine pages read are in Nynorsk (Tankestrek, Punktum and Bindestrek are in Bokmål); Språkrådet publishes these rules on its common pages without a separate rule for the other written standard. Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.
nbsp
- Språkrådet, «Mellomrom»: «Det skal vere mellomrom mellom tal og (forkorta) nemningar anten nemninga står framfor talet eller etter det» (10 kr, 5,68 kg, 10 %, +5 °C, § 10); språkspørsmål «Prosentteikn og mellomrom» (last updated 1 January 2024): «Det rette er 25 %» and «Bruk gjerne det som heiter hardt eller fast mellomrom, så skil ikkje talet og teiknet lag ved linjeskift»; «Kronebeløp: rekkjefølgje, komma og strek»: «I vanleg tekst er 500 kr (eller helst 500 kroner) i utgangspunktet det beste» and «Etter kr skal det ikkje stå punktum»; «Punktum»: f.eks., m.a.o., m.m. written without an inner space sprakradet.no
(1) spacedUnits = % kr km kg cm °C: the space between number and unit is stated; a hard space is stated only for %, and the others take the same pin (as in `da`). 10 kr, 5,68 kg and +5 °C are exemplified; km and cm rest on the general rule for abbreviated designations. kr is listed without a full stop: «Kronebeløp» states «Etter kr skal det ikkje stå punktum, bortsett frå til slutt i setningar». A bare ° is written closed up in the source («5°»), so only the °C form is listed. Single-letter and common-word units (m, l, min) are excluded (nbsp.md §3.7). (2) closedUnits empty. (3) abbreviations empty: Norwegian abbreviations carry no inner space, so there is nothing to bind. (4) afterSymbols empty: «§ 10» and «$ 10» are written with a space, but no source says it is non-breaking. beforePunctuation, narrowBeforePunctuation, afterShortWords, beforeUnits, beforeNumber, beforeWord empty and initialBinding none: not addressed. Not expressible and so not covered: grouping of thousands with a space («3 562 987 675») and the prefix form «kr 500,–» and the whole-krone dash (Tankestrek: «Tankestrek kan brukes for å angi hele kronebeløp»). Read 2026-11-15 via a text-extraction reader; direct fetch returned HTTP 403.
Is something missing or wrong in the Norwegian Bokmål rules? #
Have something to add or discuss about Norwegian Bokmål typography? Open a thread in GitHub Discussions and name the locale (nb), or read the existing threads. A rule changes only with a cited source, so bring one if you have it.