Problem: Arrows in math mode etc.
Hi everybody, I've got problems with typesetting binomial coefficients and arrows in math mode on ConTeXt ver: 2009.03.27 08:00 MKIV on Win Vista. Binomial coefficients: The brackets stay small (usual size like in plain text), here's my code: starttext startformula {achoose b} stopformula stoptext In fact, it seems atopwithdelims() isn't working because the problem can be fixed by adding delimiterfactor=1001 defbinom#1#2{left(#1 atop #2right)} starttext startformula binom{a}{b} stopformula stoptext The second problem is much more bothering to me because I can't typeset limits in right way - the arrow under the "lim" is omitted (both ways fail): starttext startformula lim_{trightarrow 0}f(x) stopformula startformula lim_{tto 0}f(x) stopformula stoptext The commands leftarrow, longrightarrow, longleftarrow etc. aren't working too. On the other hand, uparrow works just fine. Please, tell me what I'm supposed to do to fix it up. Or is it a bug in this version? Thanks a lot, Tomas
Tomas Kisela wrote:
Binomial coefficients: The brackets stay small (usual size like in plain text), here's my code: \starttext \startformula {a\choose b} \stopformula \stoptext
This is currently an issue with opentype math fonts: luatex doesn't know what the values of \Umathfractiondelsize should be. For a workaround: explicitly setting \Umathfractiondelsize\textstyle = 12.12pt \Umathfractiondelsize\displaystyle = 28.68pt will set up values that closely mimic "cmsy10 at 12pt" Ulrik Vieth (who is in CC) proposes to use DelimitedSubFormulaMinHeight in non-display modes, but the DelimitedSubFormulaMinHeight in Cambria Math is 3000/2048 * <atsize> == 17.58pt, which also doesn't seem right. Since Hans converts everything to OpenType MathConstants format, perhaps I should just add two more named entries to be parsed in the MathConstants table? Best wishes, Taco
Tomas Kisela wrote:
The second problem is much more bothering to me because I can't typeset limits in right way - the arrow under the "lim" is omitted (both ways fail):
starttext startformula lim_{trightarrow 0}f(x) stopformula startformula lim_{tto 0}f(x) stopformula stoptext
Can you resend this part of the message with backslashes, please? Best wishes, Taco
I'm sorry for that, I hope it's gonna be ok by now: \starttext \startformula \lim_{t\rightarrow 0}f(x) \stopformula \startformula \lim_{t\to 0}f(x) \stopformula \stoptext Best wishes, Tomas ______________________________________________________________
Od: taco@elvenkind.com Komu: mailing list for ConTeXt users
Datum: 16.04.2009 10:52 Předmět: Re: [NTG-context] Problem: Arrows in math mode etc. Tomas Kisela wrote:
The second problem is much more bothering to me because I can't typeset limits in right way - the arrow under the "lim" is omitted (both ways fail):
starttext startformula lim_{trightarrow 0}f(x) stopformula startformula lim_{tto 0}f(x) stopformula stoptext
Can you resend this part of the message with backslashes, please?
Best wishes, Taco ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Tomas Kisela wrote:
I'm sorry for that, I hope it's gonna be ok by now:
\starttext \startformula \lim_{t\rightarrow 0}f(x) \stopformula \startformula \lim_{t\to 0}f(x) \stopformula \stoptext
This input works ok for me (I remember there were problems earlier) This is LuaTeX, Version snapshot-0.39.0-2009041609 (Web2C 7.5.7) ConTeXt ver: 2009.04.14 15:18 MKIV Best wishes, Taco
Thanks for help, I installed a new version and now it's working. (ver: 2009.04.15 12:15 MKIV) Best wishes, Tomas ______________________________________________________________
Od: taco@elvenkind.com Komu: mailing list for ConTeXt users
Datum: 16.04.2009 11:16 Předmět: Re: [NTG-context] Problem: Arrows in math mode etc. Tomas Kisela wrote:
I'm sorry for that, I hope it's gonna be ok by now:
starttext startformula lim_{trightarrow 0}f(x) stopformula startformula lim_{tto 0}f(x) stopformula stoptext
This input works ok for me (I remember there were problems earlier)
This is LuaTeX, Version snapshot-0.39.0-2009041609 (Web2C 7.5.7)
ConTeXt ver: 2009.04.14 15:18 MKIV
Best wishes, Taco
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Tomas Kisela wrote:
I'm sorry for that, I hope it's gonna be ok by now:
\starttext \startformula \lim_{t\rightarrow 0}f(x) \stopformula \startformula \lim_{t\to 0}f(x) \stopformula \stoptext
works ok here ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Taco Hoekwater
-
Tomas Kisela