latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
239 stars 28 forks source link

Natively support comma for decimal point #546

Open wspr opened 4 years ago

wspr commented 4 years ago

From Claudio via email:

For pdflatex usage there are least two packages that define the "intelligent" comma, icomma.sty and ncccomma.sty, that understand the role that the comma is playing in math mode, so that you can write, for example (the equivalent in another language than English) "the number $e=2,618\dots$ is the base of natural logarithms" and there is no ordinary punctuation space after the comma, as it would happen if the same thing is typeset while English is the current language.

I haven't done any testing to see check how those packages interact with unicode-math but I think it would make sense to roll that functionality into unicode-math itself.