Albanian typography rules · sq
Shqip
Albanian 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; no single range convention is verified, so none is substituted. Numbers bind to units such as km kg cm with U+00A0.
Run polytypo with Albanian rules
Edit the text and polytypo typesets it with the sq 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.
Albanian typography at a glance #
| Tag | sq |
|---|---|
| Name | Albanian |
| Primary quotes | “ U+201C left double quotation mark … ” U+201D right double quotation mark |
| Secondary quotes | ‘ U+2018 left single quotation mark … ’ U+2019 right single quotation mark |
| Parenthetical dash | spaced en dash |
| Range dash | no dash substitution |
| Rules with citations | quotes, dashes, ranges, ellipsis, hyphen, nbsp |
| Conformance cases | 30 |
Which locale tags resolve to Albanian? #
The locale option is resolved exactly, then by declared alias, then by dropping the region once; anything else throws POLYTYPO_UNKNOWN_LOCALE.
| Tag | How it resolves |
|---|---|
sq | registered locale |
sq-AL | region removed, then the registered locale |
sq-XK | region removed, then the registered locale |
Which quotation marks does Albanian use? #
| Primary | “ U+201C left double quotation mark … ” U+201D right double 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 Albanian? #
apostrophe
Which dashes does Albanian 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) | 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
How is the ellipsis set in Albanian? #
An ellipsis keeps its full form after ! and ?; this locale does not abbreviate it there.
ellipsis
How are hyphens handled in Albanian? #
The hyphen lists are empty for this locale, so the hyphen rule changes nothing.
Where does Albanian 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) | km kg cm dm ha km² |
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) | § |
Initials (nbsp.initialBinding) | none — disabled: initials are never bound to the name that follows |
spaces
nbsp
How are symbols set in Albanian? #
symbols
How does Albanian 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 Albanian typography? #
6 citations in spec/locales/sq.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
- Akademia e Shkencave e Shqipërisë, «Rregullat e pikësimit në gjuhën shqipe» (2002), ch. 7: «Shumëpikëshi është shenjë pikësimi e përbërë prej tri pikash të njëpasnjëshme»; §175: «… tre pikat vijnë menjëherë pas shkronjës së fundit»; §140 example «të mykura?...» archive.org
abbreviatedAfterTerminal = false: the example keeps three dots after a question mark. Read 2026-11-16 from archive.org page images of the scan.
ranges
- Akademia e Shkencave e RP të Shqipërisë, Instituti i Gjuhësisë dhe i Letërsisë, «Drejtshkrimi i gjuhës shqipe» (Tiranë 1973), §69 b): «Shkruhen me vizë të gjatë në mes tyre: … numërorët që shënojnë caqet e një hapësire kohore: periudha 1939—1944»; §68 a): approximate quantities take a hyphen, «10-15 vjet», «5-6 ditë»; §68 i): «27-51, 25-09» www.klasaletersi.com
dash.range = none. The source asks for a long dash in time spans and for a hyphen in approximate quantities and number groups of the same shape («5-6 ditë», «27-51»); the ranges rule reads only code points and cannot tell them apart, so converting would break the second norm. Read 2026-11-16 from the scan.
dashes
- Akademia e Shkencave e Shqipërisë, «Rregullat e pikësimit në gjuhën shqipe» (2002), §165: «Viza përdoret për të veçuar fjalitë e ndërkallura»; §175: «Vizat paraprihen dhe ndiqen gjithmonë nga një hapësirë e bardhë: tekst – fjali e ndërkallur – tekst» archive.org
dash.parenthetical = en-spaced (U+0020 U+2013 U+0020). The spacing is normative. The code point is PICK-AND-PIN: both sources call the dash «viza e gjatë» (2002 §163 and p. 109; 1973 §69), which sets it against the hyphen, «vizë lidhëse», and does not name en or em; the 2002 rules print it short throughout (heading «10. VIZA (–)») and the 1973 Drejtshkrimi prints it long. U+2013 is pinned. Read 2026-11-16 from archive.org page images of the scan.
hyphen
- Akademia e Shkencave e RP të Shqipërisë, «Drejtshkrimi i gjuhës shqipe» (1973), §99 b): ordinal suffixes after Arabic numerals and endings written with a hyphen are not divided at line end («Kongresi i 6-të», «SMT-ja, PTT-së, TEC-it») www.klasaletersi.com
All three lists are empty: the constraint cannot be expressed, because a hyphen-rule suffix must follow a letter while here it follows a digit or an open set of abbreviations. The source is not silent. Read 2026-11-16 from the scan.
quotes
- Akademia e Shkencave e Shqipërisë, Instituti i Gjuhësisë dhe i Letërsisë, «Rregullat e pikësimit në gjuhën shqipe» (Shkenca, Tiranë 2002), ch. 8 «Thonjëzat», footnote p. 88: «Thonjëzat mund të realizohen grafikisht në dy forma që nuk paraqesin ndonjë ndryshim në përdorim. Thonjëzat e larta (“ ”) të quajtura dhe angleze, janë më të zakonshme në kompjuter. Thonjëzat e ulta (« ») të quajtura edhe franceze janë më pak të përdorshme»; §150 Shënim 2: «Duhet të përdoren edhe thonjëzat njëshe, në qoftë se përdoren thonjëzat brenda një teksti të mbyllur në thonjëza»; §175: «Nuk lihen hapësira të bardha midis thonjëzave dhe tekstit të futur brenda tyre»; §145 Shënim 2 and §150 Shënim 1 (full stop inside only when the quoted part is a syntactically independent sentence) archive.org
PICK-AND-PIN: “…” (U+201C, U+201D) with ‘…’ (U+2018, U+2019) inside. The source calls both forms equal in use and names the high marks the more common on a computer; every example in §§145–153 uses them. «…» (U+00AB, U+00BB) is the permitted, less used form, and the 1973 Drejtshkrimi uses it in its examples. »…« is not attested in any source read. innerSpace none. punctuationPlacement none: placement follows meaning, per §145 Shënim 2 and §150 Shënim 1. elisionIdioms and elisionClitics empty: not addressed. Read 2026-11-16 from archive.org page images of the scan.
nbsp
- Akademia e Shkencave e RP të Shqipërisë, «Drejtshkrimi i gjuhës shqipe» (1973), §99 ç): «Nuk ndahen në fund të rreshtit: … shkurtimet e njësive të masave dhe shenjat e përqindjes e të përmijës nga shifra që u prin: … 35 cm, 50 dm, 40 km, 28 800 km², 90 ha, 3 m³, 200 g, 35 kg, 70 kv, 2 l; 100%, 112%, 30‰»; §99 d): «shenja e paragrafit dhe numri e shkronja që vijnë pas saj … : § 12»; note on p. 132: «Shenjat % (për qind) dhe ‰ (për mijë) mund të përdoren vetëm pas një numri të shënuar me shifra: 5%, 90%, 80‰» www.klasaletersi.com
beforeUnits = km kg cm dm ha km²; afterSymbols = §. That a measure abbreviation does not break from the number before it is normative (§99 ç)); the units are therefore bound with U+00A0 where a space is already written. Whether the separator must be inserted or deleted is not stated: the examples print measures spaced and % ‰ closed up, which is typesetting, not a rule, so spacedUnits and closedUnits are empty and % ‰ are not listed. Single-letter units (g, l) and m³ are excluded (nbsp.md §3.7); kv is not listed. Currency (€, lekë) and °C are not addressed. beforePunctuation, abbreviations and the other lists are empty, initialBinding is none. Read 2026-11-16 from the scan.
Is something missing or wrong in the Albanian rules? #
Have something to add or discuss about Albanian typography? Open a thread in GitHub Discussions and name the locale (sq), or read the existing threads. A rule changes only with a cited source, so bring one if you have it.