Re: [NTG-context] dejavu: inline math fraction spacing too tight?
On Sat, Oct 26, 2013 at 07:49:59AM +0900, Hans Hagen wrote: On 10/25/2013 5:57 PM, Khaled Hosny wrote: On Fri, Oct 25, 2013 at 07:23:43AM +0900, Hans Hagen wrote: 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 with 2 in the denominator. \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 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 so i (for the moment) setteld on it I'd use the regular slash and consider fonts without a proper one (depends on what you expect from the slash) to be broken. Incidentally, unicode-math package provide an option to select which slash character to use because of this. Regards, Khaled ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu: inline math fraction spacing too tight?
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 DejaVu monospace), I would think that the division slash is what should be used. I can revert to 002F and (if needed make a patch in lfg files) but you're right with respect to xits and 2215 (002F does not have a descender which looks somewhat weird). Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu: inline math fraction spacing too tight?
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 ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu: inline math fraction spacing too tight?
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 font issue? (tex/texmf/fonts/opentype/public/xits/xits-math.otf) https://github.com/khaledhosny/xits-math/issues 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu: inline math fraction spacing too tight?
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 ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu: inline math fraction spacing too tight?
On Fri, Oct 25, 2013 at 07:23:43AM +0900, Hans Hagen wrote: 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 with 2 in the denominator. \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 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. Regards, Khaled ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu: inline math fraction spacing too tight?
On 10/25/2013 5:57 PM, Khaled Hosny wrote: On Fri, Oct 25, 2013 at 07:23:43AM +0900, Hans Hagen wrote: 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 with 2 in the denominator. \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 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 so i (for the moment) setteld on it Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu: inline math fraction spacing too tight?
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 with 2 in the denominator. \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 solution but prefer not to do that (the less exceptions we have the better) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] dejavu: inline math fraction spacing too tight?
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 ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___