Locales

Catalan typography rules · ca

Català

Catalan sets primary quotation marks as «…» and secondary quotation marks as “…”. A break in a sentence is written with an em dash (U+2014) written as a pair, with a space outside the pair and none inside it; no single range convention is verified, so none is substituted. Numbers bind to units such as % ‰ °C with U+00A0.

Updated · spec 1.33.0

Run polytypo with Catalan rules

Edit the text and polytypo typesets it with the ca locale, in your browser. The code under the form is the call that produces the result.

Runs in your browser. Nothing you paste is sent anywhere.

The call the form above is making, right now

Other locales, and all the options, are in the full playground.

Catalan typography at a glance #

Tagca
NameCatalan
Primary quotes« U+00AB left-pointing double angle quotation mark … » U+00BB right-pointing double angle quotation mark
Secondary quotes“ U+201C left double quotation mark … ” U+201D right double quotation mark
Parenthetical dashpaired em dash
Range dashno dash substitution
Rules with citationsquotes, dashes, ranges, ellipsis, hyphen, nbsp
Conformance cases37

Which locale tags resolve to Catalan? #

The locale option is resolved exactly, then by declared alias, then by dropping the region once; anything else throws POLYTYPO_UNKNOWN_LOCALE.

TagHow it resolves
caregistered locale

Which quotation marks does Catalan 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+201C left double quotation mark … ” U+201D right double quotation mark — no space inside the marks

Elision clitics

Word fragments that stand against an apostrophe at the edge of an inline span; a narrow mark next to one is not paired as a quotation.

Before the apostrophel d m t s n
After the apostrophenone

quotes

ca-quotes-primary
Va dir "estic cansat" i va marxar.
Va dir «estic cansat» i va marxar.
ca-quotes-nested
Va escriure: "Em va dir 'arribo de seguida' i va desaparèixer."
Va escriure: «Em va dir “arribo de seguida” i va desaparèixer.»
ca-quotes-inner-space-deleted
Va dir « estic cansat » i va marxar.
Va dir «estic cansat» i va marxar.

How are apostrophes set in Catalan? #

apostrophe

ca-apostrophe-elision
Aquesta és l'escola d'en Pere i m'agrada.
Aquesta és l’escola d’en Pere i m’agrada.
ca-apostrophe-reduced-forms
Dóna-me'n un i porta-'ls.
Dóna-me’n un i porta-’ls.
ca-apostrophe-before-span-quote
Parla d'"estabornir" sovint.
Parla d’«estabornir» sovint.

Which dashes does Catalan use for breaks and ranges? #

Parenthetical break (dash.parenthetical)an em dash (U+2014) written as a pair, with a space outside the pair and none inside it
Between numbers and dates (dash.range)no substitution: the locale has no verified convention, so the rule writes nothing

The dashes rule reads the parenthetical convention. The ranges rule reads the range convention and is on by default.

dashes

ca-dashes-paired-spaced-hyphens
El llibre - publicat abans de la guerra - és bo.
El llibre —publicat abans de la guerra— és bo.
ca-dashes-paired-double-hyphen
Vam caminar -- gairebé 3 km -- i era tancat.
Vam caminar —gairebé 3 km— i era tancat.
ca-dashes-spaced-hyphens-between-places
De la plaça de Catalunya - plaça de la Bonanova - i tornem.
De la plaça de Catalunya —plaça de la Bonanova— i tornem.

How is the ellipsis set in Catalan? #

An ellipsis keeps its full form after ! and ?; this locale does not abbreviate it there.

ellipsis

ca-ellipsis-three-dots
Doncs... no ho sé.
Doncs… no ho sé.
ca-ellipsis-not-abbreviated-after-terminal
De veritat?..
De veritat?…

How are hyphens handled in Catalan? #

The hyphen lists are empty for this locale, so the hyphen rule changes nothing.

Where does Catalan 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)p. ex. M. I. Sr. M. I. Sra. M. H. Sr. M. H. Sra. S. A. R.
Units and signs bound to the preceding number with U+00A0 when the author typed a space (nbsp.beforeUnits)% ‰ °C km kg
Units and signs written with a space after the number: the space is bound with U+00A0, and inserted when missing (nbsp.spacedUnits)none
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)chain — a sequence of two or more adjacent initials is bound; a lone initial next to an ordinary capitalised word is left alone

spaces

ca-spaces-before-punctuation-deleted
Què vols ? Vine : veuràs ; no cal dir res !
Què vols? Vine: veuràs; no cal dir res!

nbsp

ca-nbsp-percent
El 80 % dels alumnes ho va aprovar.
El 80 % dels alumnes ho va aprovar.
ca-nbsp-per-mille
Un 13 ‰ del total.
Un 13 ‰ del total.
ca-nbsp-celsius
Fa −15 °C a la nit.
Fa −15 °C a la nit.

How are symbols set in Catalan? #

symbols

ca-symbols-copyright-and-dimensions
Copyright (c) 2026, mida 40x60 cm
Copyright © 2026, mida 40×60 cm

How does Catalan 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.

text
Ella va preguntar: "No és aquesta la botiga de l'amic que anomenen 'la de la cantonada'?" ... Vam caminar - gairebé 3 km - i era tancada. Copyright (c) 2026, format 40x60 cm. say("a -- b ...")
Ella va preguntar: «No és aquesta la botiga de l’amic que anomenen “la de la cantonada”?» … Vam caminar —gairebé 3 km— i era tancada. Copyright © 2026, format 40×60 cm. say(«a -- b …»)
html
<p>Ella va preguntar: "No és aquesta la botiga de l'amic que anomenen 'la de la cantonada'?" ... Vam caminar - gairebé 3 km - i era tancada. Copyright (c) 2026, format 40x60 cm.</p> <pre><code>say("a -- b ...")</code></pre>
<p>Ella va preguntar: «No és aquesta la botiga de l’amic que anomenen “la de la cantonada”?» … Vam caminar —gairebé 3 km— i era tancada. Copyright © 2026, format 40×60 cm.</p> <pre><code>say("a -- b ...")</code></pre>
markdown
Ella va preguntar: "No és aquesta la botiga de l'amic que anomenen 'la de la cantonada'?" ... Vam caminar - gairebé 3 km - i era tancada. Copyright (c) 2026, format 40x60 cm. `say("a -- b ...")`
Ella va preguntar: «No és aquesta la botiga de l’amic que anomenen “la de la cantonada”?» … Vam caminar —gairebé 3 km— i era tancada. Copyright © 2026, format 40×60 cm. `say("a -- b ...")`

Which sources define Catalan typography? #

8 citations in spec/locales/ca.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

  • Manual d'estil (IEC), cap. VII §6, p. 194: «Els punts suspensius són únicament tres»; «hi ha un caràcter que conté aquests tres punts, i és recomanable de fer-lo servir» estil.iec.cat

    Consultat el 2026-11-23.

ranges

  • Manual d'estil (IEC), cap. VII §9.2.2 a), p. 213: el guionet uneix «dues xifres correlatives i també xifres que comprenen els nombres intermedis»: «p. 153-174»; «el curs 1990-1991» estil.iec.cat

    range = "none": el signe és U+002D, el que l'autor ja escriu. Consultat el 2026-11-23.

dashes

  • Manual d'estil (IEC), cap. VII §8, p. 206: «El guió […] consisteix en una ratlla horitzontal de la llargada equivalent a un quadratí o una mica més. En un incís, el primer guió s'escriu enganxat a la primera lletra del mot que el segueix, i el segon, enganxat a l'última lletra del mot que el precedeix» estil.iec.cat

    em-paired (U+2014). Cost acceptat: el Manual d'estil VII §9.2 admet un guionet amb espais entre elements de diverses paraules («plaça de Catalunya - plaça de la Bonanova»), que la regla de guions pot llegir com a incís; es fixa amb un fixture. Un incís amb un sol guió (§8.6 b) queda sense convertir. Consultat el 2026-11-23.

hyphen

  • Institut d'Estudis Catalans, Ortografia catalana (2017), §3.2.1, p. 101: «La partició a final de ratlla se sol fer aprofitant els guionets existents (gira-|sol, tornem-|hi)» aplicacions.llengua.gencat.cat

    Les tres llistes queden buides: el català no segueix la convenció russa. Consultat el 2026-11-23.

quotes

  • Mestres, Costa, Oliva, Fité, Manual d'estil (IEC, 5a ed. en línia 2019; paginació 4a ed.), cap. VII §10, p. 215: «En català se n'utilitzen tradicionalment tres tipus: les cometes baixes o llatines (« »), les cometes altes o angleses […] i les cometes simples […]. Mantenen una relació de jerarquia […]: cometes baixes, cometes altes i cometes simples»; §1.5, p. 171: «Els signes dobles es col·loquen immediatament abans del mot que precedeixen i immediatament després del mot que segueixen» estil.iec.cat

    Manual d'estil editat per l'IEC, no obra normativa: l'Ortografia catalana no té capítol de puntuació, i Optimot i la GIEC no han pogut ser consultats. Es fixa (pick-and-pin) aquest manual com a autoritat de puntuació. L'espai fi de §1.5.1 hi és marcat «~» (menys bo). punctuationPlacement = "none": §10.6 a) posa coma, punt i coma, punt i dos punts FORA de les cometes de tancament (usos no citacionals); les citacions (§13.5) no s'han llegit. El tercer nivell (‘ ’) no és expressable en l'esquema. Consultat el 2026-11-23.

  • Institut d'Estudis Catalans, Ortografia catalana (2017), §4.1.1, pp. 105-106: «L'apòstrof és un signe ortogràfic consistent en una coma volada (’)»; formes elidides l', n', s', d', m', t'; formes reduïdes «'m, 'ns, 't, 'l, 'ls, 's i 'n» aplicacions.llengua.gencat.cat

    elisionClitics.before = l, d, m, t, s, n. El conjunt tancat de formes reduïdes (after) és a l'Ortografia però no s'hi ha trobat cap cas atestat en contacte amb un límit de span, de manera que after queda buit (com en-US). Contacte amb límit de span atestat al Manual d'estil VII §14.2.5-14.2.6 («d'El Temps», «d'«El Quadrat d'Or»»). Consultat el 2026-11-23.

nbsp

  • Manual d'estil (IEC), cap. VI §14.1: «Les abreviatures compostes, especialment les dels tractaments i les dels noms de persona, no s'han de separar» («* M. I. || Sra.», «* J. || V. Foix», «~ J. V. || Foix»); §14.3: «No podem separar les quantitats dels símbols que acompanyen» («* 50 || %», «* 850 || kg») estil.iec.cat

    L'espai entre nombre i símbol només és atestat en exemples (cap. XII §4.1 g-i: «80 %», «13 ‰», «−15 °C»), per tant beforeUnits i no spacedUnits. «°» sol va enganxat («43° 50′ 30″»). initialBinding "chain" és una tria (pick-and-pin) com en es: una inicial sola davant del cognom no hi és exemplificada. beforeNumber, beforeWord, afterShortWords i afterSymbols queden buits: el manual no els tracta. Consultat el 2026-11-23.

  • Manual d'estil (IEC), cap. VII §1.5, p. 171: els signes senzills «es col·loquen immediatament després de l'última lletra del mot al qual s'ajunten»; §1.5.1: l'espai fi és un «costum […] adquirit per imitació d'altres llengües» estil.iec.cat

    beforePunctuation i narrowBeforePunctuation buits. Consultat el 2026-11-23.

Is something missing or wrong in the Catalan rules? #

Have something to add or discuss about Catalan typography? Open a thread in GitHub Discussions and name the locale (ca), or read the existing threads. A rule changes only with a cited source, so bring one if you have it.

Already using polytypo? Add our badge

Two lines: a script tag and a span. No per-embed network call. Pick a language and a theme, then copy the code into your footer or credits. Embedding notes cover Content Security Policy. Sites with the badge are listed on Sites using polytypo.

<script async src="https://polytypo.dev/badge.js"></script>
<span data-polytypo-lang="en" data-polytypo-theme="light"></span>

Search runs in your browser. Nothing is sent anywhere.