Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Unicode variation selectors (mainly for calligraphic vs script style) #2235

Open
xworld21 opened this issue Oct 13, 2023 · 1 comment · May be fixed by #2244
Open

add Unicode variation selectors (mainly for calligraphic vs script style) #2235

xworld21 opened this issue Oct 13, 2023 · 1 comment · May be fixed by #2244

Comments

@xworld21
Copy link
Contributor

Unicode supports adding a variation selector (characters U+FE00, U+FE01) to switch between "chancery" and "roundhand" script style:
https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols#Glyph_variants
https://www.unicode.org/charts/PDF/U2100.pdf (last page)
So LaTeXML could emit the appropriate selector to distinguish \mathcal from \mathscr. Other symbols support variation selectors, e.g. \emptyset and \varnothing can also be distinguished via the same mechanism.

Most fonts do not support the variation selector, and neither does MathJax, but variation selectors are supposed to be ignored, so there shouldn't be unintended side effects.

I'll submit a parallel issue to MathJax to hear if they can implement support for the Unicode selector in their MathML input.

@xworld21
Copy link
Contributor Author

PS: actually MathJax already has an open issue about it tagged as 'accepted' and 'v4', so they seem willing to go for it.

@dginev dginev added this to the LaTeXML-0.9 milestone Oct 18, 2023
@xworld21 xworld21 linked a pull request Oct 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants