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

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

2014-04-24 Thread Sanjoy Mahajan
Hans Hagen pra...@wxs.nl 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

[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

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

2013-10-26 Thread Khaled Hosny
-tuned example is obviously nicer. 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) Not a font issue. ConTeXt is using the fraction slash (which is intended to be used with vulgar fractions) not the regular slash

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

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 pra...@wxs.nl 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-25 Thread Wolfgang Schuster
Am 25.10.2013 um 10:08 schrieb Alan BRASLAU alan.bras...@cea.fr: On Fri, 25 Oct 2013 07:23:43 +0900 Hans Hagen pra...@wxs.nl 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

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 wolfgang.schus...@gmail.com 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 Khaled Hosny
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. Regards, Khaled ___ If your

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

2013-10-25 Thread Hans Hagen
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 into this) all math fonts had it differently

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

[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 pra...@wxs.nl 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

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 difference

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

[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] 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

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, How can I extend

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. \usemodule[newmat] \def

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 wider? There is a genfrac command in amslatex

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 make the main fraction bar wider

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread Aditya Mahajan
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. \usemodule[newmat] \def\bigfrac{\genfrac{}{}{2pt}\displaystyle} \starttext \startformula \bigfrac{100}{200

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 a \vphantom

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 what \dfrac should be (I assumed \let

[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