[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 2:42 PM, Alexandre Christe wrote: Hi Hans, Thanks for your answer. It helps a lot. Would there be a way to only add space when inline math is not followed by punctuation, i.e., when inline math is followed by a space? A. Christe Le 4 déc. 2023 à 14:08 +0100, Hans Hagen , a

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Alexandre Christe
Hi Hans, Thanks for your answer. It helps a lot. Would there be a way to only add space when inline math is not followed by punctuation, i.e., when inline math is followed by a space? A. Christe Le 4 déc. 2023 à 14:08 +0100, Hans Hagen , a écrit : > > \setupmathematics[textdistance=.25em plus

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 6:43 AM, Alexandre Christe wrote: Hi, Here’s a MWE: \setupinterlinespace[line=3ex] \definefontfeature[default][default][lnum=yes,tnum=yes] \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \setupmathematics[autopunctuation={all}] % math definitions

[NTG-context] Re: Inline math spacing

2023-12-03 Thread Alexandre Christe
Hi, Here’s a MWE: \setupinterlinespace[line=3ex] \definefontfeature[default][default][lnum=yes,tnum=yes] \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \setupmathematics[autopunctuation={all}] % math definitions \enablemathautospacing % more global %

[NTG-context] Re: Inline math spacing

2023-12-03 Thread Hans Hagen
On 12/3/2023 10:31 PM, Alexandre Christe wrote: Dear list, I’m facing some strange spacing with inline maths. Sometimes the space is ok (like around the first two fractions), but sometimes it is way too little. Do I miss to configure something? your spacing is little between words too ..