[Tex/LaTex] Comma as decimal point leading to confusion


I'm writing a report in a language that uses decimal commas. In some cases that clashes with commas used for punctuation, causing hard to read text, e.g.:

for $x_i \in [-1,5, 1,5]$.

Is there a way to make this more readable?

Best Answer

If you're using the comma as decimal separator, then you should consider using the semi-colon for the interval separator, it will be more readable:

interval example


(Instead of typing 1{,}5, you can also use the icomma package as suggested by egreg or \num as suggested by Werner.)