Skip to content

Instantly share code, notes, and snippets.

@kebman
Last active November 23, 2022 02:08
Show Gist options
  • Save kebman/dbf71097b9ae2b0354e283deec6b52e3 to your computer and use it in GitHub Desktop.
Save kebman/dbf71097b9ae2b0354e283deec6b52e3 to your computer and use it in GitHub Desktop.
User settings for Unicode Math for em dash, en dash and special quotation marks used in English, Norwegian, French and Swedish.
{
"symbols": {
"emdash": "\u2014", // —
"endash": "\u2013", // –
"laquo": "\u00AB", // «
"raquo": "\u00BB", // »
"ldquo": "\u201C", // “
"rdquo":"\u201D", // ”
"lsquo": "\u2018", // ‘
"rsquo": "\u2019", // ’
"ellipsis": "\u2026", // …
"copyright": "\u00A9", // ©
"x-mark": "\u2717", // ✗ a.k.a. UnicodeMath "\ballotx"
"btc": "\u20bf", // ₿
"trademark": "\u2122", // ™
"registered": "\u00AE", // ®
// Some Norse letters
"Eth": "\u00D0", // Ð
"eth": "\u00F0", // ð
"Thorn": "\u00DE", // Þ
"thorn": "\u00FE", // þ
"Oogonek": "\u01ea", // Ǫ ⇒ "Norse Ø" or long o
"oogonek": "\u01eb", // ǫ
// Some Old English letters
"ye": "\u0121", // ġ ⇒ ye/yi/j/dz
"Ye": "\u0120", // Ġ
"wynn": "\u01BF", // ƿ
"Wynn": "\u01F7", // Ƿ
// long wovels represented by macron diacritic
"longa": "\u0101", // ā
"longA": "\u0100", // Ā
"longe": "\u0113", // ē
"longE": "\u0112", // Ē
"longi": "\u012B", // ī
"longI": "\u012A", // Ī
"longo": "\u014D", // ō
"longO": "\u014C", // Ō
"longu": "\u016B", // ū
"longU": "\u016A", // Ū
// C-cedilla
"Cedilla": "\u00C7", // Ç
"cedilla": "\u00E7", // ç
"oelig": "\u0153", // œ
"Oelig": "\u0152", // Œ
// Scandinavian letters
"Auml": "\u00C4", // Ä
"auml": "\u00E4", // ä
"Ouml": "\u00D6", // Ö
"ouml": "\u00F6", // ö
"Oslash": "\u00D8", // Ø
"oslash": "\u00F8", // ø
"Aring": "\u00C5", // Å
"aring": "\u00E5", // å
"Aelig": "\u00C6", // Æ
"aelig": "\u00E6", // æ
},
"synonyms": {
"lq": "laquo",
"rq": "raquo",
"ls": "lsquo",
"rs": "rsquo",
"apostrophe": "rsquo",
"rd": "rdquo",
"ld": "ldquo",
"mdash": "emdash",
"md": "emdash",
"em": "emdash",
"ndash": "endash",
"en": "endash",
"el": "ellipsis",
"Dh": "Eth",
"dh": "eth",
"Th": "Thorn",
"th": "thorn",
"Ø": "Oogonek",
"ø": "oogonek",
"xmark": "x-mark",
"mith": "Planckconst",
"tm": "trademark",
"inf":"infty",
"infinity":"infty",
"plusminus":"pm",
"done":"check",
"W": "Wynn",
"w": "wynn",
"G": "Ye",
"g": "ye",
"ae": "aelig",
"Ae": "Aelig",
"aa": "aring",
"Aa": "Aring",
"Oe": "Oslash",
"oe": "oslash",
"Au": "Auml",
"au": "auml",
"Ou": "Ouml",
"ou": "Ouml",
}
}
@kebman
Copy link
Author

kebman commented Nov 23, 2022

A language focussed update with long vowels (as represented by a macron diacritic above them) and some Old English characters. And the cedilla. Previously Norse characters was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment