* comma as decimal separator in maths mode
[not found] <bdcfdf69eeb87daef1b99b61ad571a7e1824ac70.camel.ref@yahoo.com>
@ 2019-09-14 6:34 ` Martin Althoff
2019-09-20 18:29 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Martin Althoff @ 2019-09-14 6:34 UTC (permalink / raw)
To: ConTeXt users
Hi ... I am outputting some numbers in maths mode that have a comma as decimal separator.
I get a big space after the comma, which I can prevent by writing $1{,}5$
Is there a less awkward way of getting the comma as a "real" decimal separator?
Thanks, Martin
\starttext
$1,5$
\math{1,5}
$1{,}5$
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: comma as decimal separator in maths mode
2019-09-14 6:34 ` comma as decimal separator in maths mode Martin Althoff
@ 2019-09-20 18:29 ` Wolfgang Schuster
2019-09-21 17:03 ` Henning Hraban Ramm
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2019-09-20 18:29 UTC (permalink / raw)
To: mailing list for ConTeXt users, Martin Althoff
Martin Althoff schrieb am 14.09.2019 um 08:34:
> Hi ... I am outputting some numbers in maths mode that have a comma as decimal separator.
>
> I get a big space after the comma, which I can prevent by writing $1{,}5$
>
> Is there a less awkward way of getting the comma as a "real" decimal separator?
\setupmathematics[autopunctuation=yes]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: comma as decimal separator in maths mode
2019-09-20 18:29 ` Wolfgang Schuster
@ 2019-09-21 17:03 ` Henning Hraban Ramm
0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2019-09-21 17:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 2019-09-20 um 20:29 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
>
> Martin Althoff schrieb am 14.09.2019 um 08:34:
>> Hi ... I am outputting some numbers in maths mode that have a comma as decimal separator.
>>
>> I get a big space after the comma, which I can prevent by writing $1{,}5$
>>
>> Is there a less awkward way of getting the comma as a "real" decimal separator?
> \setupmathematics[autopunctuation=yes]
Interesting. Is this language dependent?
(see also https://wiki.contextgarden.net/Command/setupmathematics)
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-21 17:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bdcfdf69eeb87daef1b99b61ad571a7e1824ac70.camel.ref@yahoo.com>
2019-09-14 6:34 ` comma as decimal separator in maths mode Martin Althoff
2019-09-20 18:29 ` Wolfgang Schuster
2019-09-21 17:03 ` Henning Hraban Ramm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).