6 ms·
I really like the idea of adding math support to Unicode via combining characters. It's more complicated than anything Unicode currently deals with, but not tha
by moultano 9y ago
I really like the idea of adding math support to Unicode via combining characters. It's more complicated than anything Unicode currently deals with, but not that much more complicated, and the idea of being able to put math into anything that currently accepts strings is just so enticing. We should treat math as it's own language, and rendering it as we would any other human language with an unusual way of laying out characters.
- cryptonector 9y agoHmmm, certainly Unicode ought to be able to represent mathematics as a script like any other. However, the complexity involved is non-trivial. To make things easier, whatever Unicode might do for math should have a mapping to and from TeX or MathAJAX. In any case, Unicode is rather complex as it is; I'm not sure I look forward to this extra level of complexity :(
- Bromskloss 9y agoIt's an interesting idea. At what point, though, do we draw the line between what a character set (like Unicode) should handle, and what should be handled by a higher-level layer? I'm thinking that things like boldness, italicisation, and super script aren't really the job for a character set.
- yorwba 9y agoUnicode already has 𝐛𝐨𝐥𝐝, 𝘪𝘵𝘢𝘭𝘪𝘤 and ˢᵘᵖᵉʳˢᶜʳⁱᵖᵗ variants of the Latin alphabet.
- colejohnson66 9y agoMaybe it’s just iOS, but the “bold” characters are serifed and the “superscript” one’s aren’t a consistent size between each other.
- yorwba 9y agoUnicode only defines the codepoints for characters, it doesn't require anyone to actually make them look good. Since those characters were specifically only included to represent mathematical texts where formatting needs to be preserved, it's unlikely anyone is spending much effort on making them look good as text. Regarding serifs: there are actually two variants of both bold and italic (and bold italic), one serifed and one not. Wikipedia has a chart of the different options here: https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symb...
- jcelerier 9y agoyuck https://i.imgur.com/EqKh7qC.png https://i.imgur.com/EqKh7qC.png
- Bromskloss 9y agoYes, and I'm not convinced that it is the right thing to do.
- cooper12 9y agoThe bold and italic characters actually belong to the Mathematical Alphanumeric Symbols [0] block, so they're strictly meant for math notation rather than general formatting. The superscripts are part of the Spacing Modifier Letters [1] block, which is used for IPA. You'll also sometimes find other formatting quirks that are deprecated in Unicode and meant for compatibility purposes. [0]: https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symb... [1]: https://en.wikipedia.org/wiki/Spacing_Modifier_Letters https://en.wikipedia.org/wiki/Spacing_Modifier_Letters
- moultano 9y agoI'd say if the formatting changes the meaning of the language, Unicode should support it. So if you are searching through text, any change to your query string that you would like to constrain the text that matches should be supported by Unicode. Unicode should at least support anything that affects the semantic equality of strings.
- Bromskloss 9y agoI'm thinking of Unicode as a character set, and that text exists on an abstraction level above characters.
- moultano 9y agoI was thinking that it's analogous to ก็็็็็็็็็็็็็็็็็็็็ where the character dictates how the surrounding characters are rendered.