Re: [NTG-context] \binom has fraction line

2021-03-16 Thread Hans Hagen
On 3/16/2021 3:11 PM, Jacob Kauffmann wrote: Dear list, lmtx draws a fraction line in \binom{n}{k}, ConTeXt ver: 2021.02.23 17:47 LMTX fmt: 2021.2.26 int: english/english The same happens with {n \choose k}. The other version I tested draws it correctly (without the bar

[NTG-context] \binom has fraction line

2021-03-16 Thread Jacob Kauffmann
Dear list, lmtx draws a fraction line in \binom{n}{k}, ConTeXt ver: 2021.02.23 17:47 LMTX fmt: 2021.2.26 int: english/english The same happens with {n \choose k}. The other version I tested draws it correctly (without the bar): ConTeXt ver: 2019.03.21 21:39 MKII fmt: 2019.11.14

Re: [NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-24 Thread Sanjoy Mahajan
Hans Hagen writes: > indeed. this is what (sort of) happens in case of a plugged in renderer: > > \sqrt{#1} -> ...\mathstylehbox{#1}... -> ...\hbox{\stylecommand #1}... > > when #a = a \over b the style gets applied to the a only as \over > creates two (pseudo) groups i.e. the \over isolates a a

Re: [NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-24 Thread Hans Hagen
On 4/22/2014 1:53 AM, Sanjoy Mahajan wrote: I have been trying out the newish \setupmathradical[sqrt][alternative=mp], which has been very nice because of the fine control over the radical sign. I've noticed that it crunches the denominator in \sqrt{a\over b} For example: \starttext \placeformu

[NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-21 Thread Sanjoy Mahajan
I have been trying out the newish \setupmathradical[sqrt][alternative=mp], which has been very nice because of the fine control over the radical sign. I've noticed that it crunches the denominator in \sqrt{a\over b} For example: \starttext \placeformula\startformula \sqrt{k\over m}\quad \sqrt{\di

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-26 Thread Hans Hagen
On 10/26/2013 3:53 PM, Alan BRASLAU wrote: Unicode sure makes things easy: U+002F / SOLIDUS SLASH U+2044 ⁄ FRACTION SLASH U+2215 ∕ DIVISION SLASH U+FF0F / FULLWIDTH SOLIDUS FULLWIDTH SLASH Of course, we key in ascii / (0x2f). From how these display (in

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-26 Thread Khaled Hosny
[dejavu,12pt] > >>>\starttext > >>>$1/2$ > >>> > >>>$1\,/\,2$ > >>>\stoptext > >>> > >>>The second hand-tuned example is obviously nicer. > >> > >>it looks like a font issue to me .. i could hack

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Hans Hagen
a font issue to me .. i could hack a solution but prefer not to do that (the less exceptions we have the better) Not a font issue. ConTeXt is using the fraction slash (which is intended to be used with vulgar fractions) not the regular slash. the problem is that (last time i looked in

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Khaled Hosny
ator. > > > >\setupbodyfont [dejavu,12pt] > >\starttext > >$1/2$ > > > >$1\,/\,2$ > >\stoptext > > > >The second hand-tuned example is obviously nicer. > > it looks like a font issue to me .. i could hack a soluti

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Alan BRASLAU
On Fri, 25 Oct 2013 10:14:45 +0200 Wolfgang Schuster wrote: > > So, who can fix the font issue? > > (tex/texmf/fonts/opentype/public/xits/xits-math.otf) > > https://github.com/khaledhosny/xits-math/issues OK, reported to Khaled. Thanks Alan _

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Wolfgang Schuster
Am 25.10.2013 um 10:08 schrieb Alan BRASLAU : > On Fri, 25 Oct 2013 07:23:43 +0900 > Hans Hagen wrote: > >> it looks like a font issue to me .. i could hack a solution but prefer >> not to do that (the less exceptions we have the better) >> >> Hans > > So, who can fix the font issue? > (tex/

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Alan BRASLAU
On Fri, 25 Oct 2013 07:23:43 +0900 Hans Hagen wrote: > it looks like a font issue to me .. i could hack a solution but prefer > not to do that (the less exceptions we have the better) > > Hans So, who can fix the font issue? (tex/texmf/fonts/opentype/public/xits/xits-math.otf) Alan __

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-24 Thread Hans Hagen
On 10/24/2013 2:46 PM, "H. Özoguz" wrote: \setupbodyfont [dejavu,12pt] \starttext $a/b$ $1/2$ $π/3$ \stoptext Is this indeed the desired spacing? What do others think? Thanks. I think you are right, I don't know if this is really desired, but I don't think so. Escpecially one gets problems

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-23 Thread H. Özoguz
\setupbodyfont [dejavu,12pt] \starttext $a/b$ $1/2$ $π/3$ \stoptext Is this indeed the desired spacing? What do others think? Thanks. I think you are right, I don't know if this is really desired, but I don't think so. Escpecially one gets problems with "2" in the denominator. \setupbodyf

[NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-23 Thread Alan BRASLAU
Hello, Using the dejavu font, inline math fractions (e.g. $a/b$) look to me to be spaced too tightly. Below are some minimal examples: \setupbodyfont [dejavu,12pt] \starttext $a/b$ $1/2$ $π/3$ \stoptext Is this indeed the desired spacing? What do others think? Thanks. Alan __

Re: [NTG-context] Fraction with a fraction in the denominator

2013-06-05 Thread Otared Kavian
On 4 juin 2013, at 21:34, Hans Hagen wrote: > […] > ok, a new feature for SB: Thanks hans! Very nice feature. Wikified in http://wiki.contextgarden.net/Command/fraction but the output on the wiki is not correct since ConTeXt there is mkii. Best regards: OK > > \define

Re: [NTG-context] Fraction with a fraction in the denominator

2013-06-04 Thread Hans Hagen
On 6/4/2013 3:04 PM, Sietse Brouwer wrote: Hoi Sander, Sander wrote: This gives basically three equally long division lines The fraction line of a nested fractions is in fact shorter than that of its parent fraction, but by a very small amout. This seems to be the standard behaviour -- I

Re: [NTG-context] Fraction with a fraction in the denominator

2013-06-04 Thread Sietse Brouwer
Hoi Sander, Sander wrote: > This gives basically three equally long division lines The fraction line of a nested fractions is in fact shorter than that of its parent fraction, but by a very small amout. This seems to be the standard behaviour -- I tried the formula in LaTeX, and the differe

Re: [NTG-context] Fraction with a fraction in the denominator

2013-06-03 Thread Sander Maijers
Sorry, I meant to write numerator. (In Dutch it is teller/noemer ;)) On 03-06-13 19:40, Sander Maijers wrote: Hi, How can I make the subfraction in the denominator of a fraction appear smaller even though the nominator is very small? This gives basically three equally long division lines

[NTG-context] Fraction with a fraction in the denominator

2013-06-03 Thread Sander Maijers
Hi, How can I make the subfraction in the denominator of a fraction appear smaller even though the nominator is very small? This gives basically three equally long division lines: \startfomula \frac{\mu_{Z}}{\frac{\sqrt{\VAR{Z}}{\sqrt{N_{\text{segments} \stopformula

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread Aditya Mahajan
Mojca, >>> >>> Thanks for the response on lengthening the main fraction bar? Any way >>> to make the main fraction bar wider? >>> >>> There is a genfrac command in amslatex. Anything similar in Context? >> >> m-newmat.tex defi

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
Question. Is this genfrac identical to the one in ams definitions? On Jul 4, 2006, at 9:08 PM, Aditya Mahajan wrote: > On Tue, 4 Jul 2006, David Arnold wrote: > >> Taco, Mojca, >> >> Thanks for the response on lengthening the main fraction bar? Any way >> to ma

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
Aditya, Thanks. You are very helpful. On Jul 4, 2006, at 9:08 PM, Aditya Mahajan wrote: > On Tue, 4 Jul 2006, David Arnold wrote: > >> Taco, Mojca, >> >> Thanks for the response on lengthening the main fraction bar? Any way >> to make the main fraction bar w

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread Aditya Mahajan
On Tue, 4 Jul 2006, David Arnold wrote: > Taco, Mojca, > > Thanks for the response on lengthening the main fraction bar? Any way > to make the main fraction bar wider? > > There is a genfrac command in amslatex. Anything similar in Context? m-newmat.tex defines genfrac. \usemo

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
Taco, Mojca, Thanks for the response on lengthening the main fraction bar? Any way to make the main fraction bar wider? There is a genfrac command in amslatex. Anything similar in Context? On Jul 2, 2006, at 4:00 AM, Taco Hoekwater wrote: > David Arnold wrote: >> All, >> >

Re: [NTG-context] Extend the fraction bar

2006-07-02 Thread Mojca Miklavec
On 7/2/06, David Arnold wrote: > All, > > How can I extend the main fraction bar in the following expression, > making it a tad longer? > > \placeformula > \startformula > \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}. > \stopformula I don't know

Re: [NTG-context] Extend the fraction bar

2006-07-02 Thread Taco Hoekwater
David Arnold wrote: > All, > > How can I extend the main fraction bar in the following expression, > making it a tad longer? Just add a bit of whitespace to the right and left: \dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,} {\,\dfrac{4x^3-9x}{2x^2+5x-12}\,} You may want to add

[NTG-context] Extend the fraction bar

2006-07-01 Thread David Arnold
All, How can I extend the main fraction bar in the following expression, making it a tad longer? \placeformula \startformula \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}. \stopformula ___ ntg-context mailing list ntg-context@ntg.nl