Hi all, While testing some XITS symbols, I was wondering about the spacing of the following symbols: \setupbodyfont[xits] \starttext $$a < b$$ # reference $$a ⨼ b$$ $$a ⨽ b$$ $$a ⪝ b$$ $$a ⪞ b$$ $$a ⪬ b$$ $$a ⪭ b$$ \stoptext Not sure about the first two, but I think the rest should be mathrel (additionally, does anyone knows a definite Unicode reference for such proprieties?) Regards, Khaled
On Thu, 23 Feb 2012, Khaled Hosny wrote:
Hi all,
While testing some XITS symbols, I was wondering about the spacing of the following symbols:
\setupbodyfont[xits]
\starttext $$a < b$$ # reference $$a ⨼ b$$ $$a ⨽ b$$ $$a ⪝ b$$ $$a ⪞ b$$ $$a ⪬ b$$ $$a ⪭ b$$ \stoptext
Not sure about the first two, but I think the rest should be mathrel
I agree.
(additionally, does anyone knows a definite Unicode reference for such proprieties?)
I usually use the ams symbol list (as implemented by the unicode-math package) as reference. Aditya
On 23-2-2012 21:16, Aditya Mahajan wrote:
On Thu, 23 Feb 2012, Khaled Hosny wrote:
Hi all,
While testing some XITS symbols, I was wondering about the spacing of the following symbols:
\setupbodyfont[xits]
\starttext $$a < b$$ # reference $$a ⨼ b$$ $$a ⨽ b$$ $$a ⪝ b$$ $$a ⪞ b$$ $$a ⪬ b$$ $$a ⪭ b$$ \stoptext
Not sure about the first two, but I think the rest should be mathrel
I agree.
(additionally, does anyone knows a definite Unicode reference for such proprieties?)
I usually use the ams symbol list (as implemented by the unicode-math package) as reference.
When (years ago) I wrote the math ml parsers I used those xits/ams/whatever lists but they had inconsistencies (no surprise as there are so many smbols) .. so whatever change we do, I'd rather not copy blindly but consider carefully; some symbols have multiple usage and we can support that. Now, as long as we use names that's no big deal, but when characters are used directly there can be conflicting interests with respect to defaults. For that I'd like to introduce the option to set a 'domain' or whatever it's called which will adapt the spacing category automatically btw ... did you ever look at: http://www.openmath.org/cdnames.html ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Fri, Feb 24, 2012 at 10:19:20AM +0100, Hans Hagen wrote:
On 23-2-2012 21:16, Aditya Mahajan wrote:
On Thu, 23 Feb 2012, Khaled Hosny wrote:
Hi all,
While testing some XITS symbols, I was wondering about the spacing of the following symbols:
\setupbodyfont[xits]
\starttext $$a < b$$ # reference $$a ⨼ b$$ $$a ⨽ b$$ $$a ⪝ b$$ $$a ⪞ b$$ $$a ⪬ b$$ $$a ⪭ b$$ \stoptext
Not sure about the first two, but I think the rest should be mathrel
I agree.
(additionally, does anyone knows a definite Unicode reference for such proprieties?)
I usually use the ams symbol list (as implemented by the unicode-math package) as reference.
When (years ago) I wrote the math ml parsers I used those xits/ams/whatever lists but they had inconsistencies (no surprise as there are so many smbols) .. so whatever change we do, I'd rather not copy blindly but consider carefully; some symbols have multiple usage and we can support that. Now, as long as we use names that's no big deal, but when characters are used directly there can be conflicting interests with respect to defaults. For that I'd like to introduce the option to set a 'domain' or whatever it's called which will adapt the spacing category automatically
btw ... did you ever look at:
I'll leave that to Aditya; the math expert :) Regards, Khaled
Hi Khaled, As far as I know, the signs less than: < greater than: > similar or less than: ⪝ similar or greater than: ⪞ less than or equal: ⪬ greater or equal: ⪭ (and there are othersigns of the same category) should be treated in the same way, as with = or \equiv, since they are mathematical relations. On the other hand interior product: ⨼ right hand interior product: ⨽ should be treated as +, \times, or \wedge, since they are binary operations. Best regards: OK %%% sample-xits.tex \setupbodyfont[xits] \starttext These signs should have exactly the same spacing around them: $$a = b$$ $$a \equiv b$$ $$a < b$$ $$a ⪝ b$$ $$a ⪞ b$$ $$a ⪬ b$$ $$a ⪭ b$$ These signs should have exactly the same spacing around them: $$a ⨼ b$$ $$a ⨽ b$$ $$a \wedge b$$ $$a \times b$$ $$a + b$$ \stoptext %%% end sample-xits.tex On 23 févr. 2012, at 21:12, Khaled Hosny wrote:
Hi all,
While testing some XITS symbols, I was wondering about the spacing of the following symbols:
\setupbodyfont[xits]
\starttext $$a < b$$ # reference $$a ⨼ b$$ $$a ⨽ b$$ $$a ⪝ b$$ $$a ⪞ b$$ $$a ⪬ b$$ $$a ⪭ b$$ \stoptext
Not sure about the first two, but I think the rest should be mathrel (additionally, does anyone knows a definite Unicode reference for such proprieties?)
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 ___________________________________________________________________________________
participants (4)
-
Aditya Mahajan
-
Hans Hagen
-
Khaled Hosny
-
Otared Kavian