> How can I automatically get a decimal comma instead of a decimal point in > math environments? > > I've tried > \AtBeginDocument{\def\extrasspanish{}} > > and even > \DeclareMathSymbol{,}{\mathpunct}{letters}{"3B} > \DeclareMathSymbol{.}{\mathord}{letters}{"3B} > \DeclareMathSymbol{\decimal}{\mathord}{letters}{"3A} > > but no success. > Any better ideas? I wish to have numbers converted automatically.
I should have added that I don't mind writing decimal points instead of decimal commas just as long as they are converted, OR I start writing decimal commas, but then I can't have any automatic conversion since I use commas in other situations as well (coordinates etc.) Any easy, beautiful solution to this problem?