ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Ulrik Vieth <ulrik.vieth@tesionmail.de>
Subject: \choose problems in new math fonts
Date: Thu, 16 Apr 2009 10:50:14 +0200	[thread overview]
Message-ID: <49E6F146.7060701@elvenkind.com> (raw)
In-Reply-To: <200904160941.28387@centrum.cz>



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
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2009-04-16  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200904160933.25894@centrum.cz>
     [not found] ` <200904160934.8684@centrum.cz>
     [not found]   ` <200904160935.6910@centrum.cz>
     [not found]     ` <200904160936.29238@centrum.cz>
     [not found]       ` <200904160937.15441@centrum.cz>
     [not found]         ` <200904160938.15121@centrum.cz>
     [not found]           ` <200904160939.10757@centrum.cz>
     [not found]             ` <200904160940.8958@centrum.cz>
2009-04-16  7:41               ` Problem: Arrows in math mode etc Tomas Kisela
2009-04-16  8:50                 ` Taco Hoekwater [this message]
2009-04-16  8:51                 ` Taco Hoekwater
2009-04-16  9:04                   ` Tomas Kisela
2009-04-16  9:15                     ` Taco Hoekwater
2009-04-16  9:58                       ` Tomas Kisela
2009-04-16  9:16                     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49E6F146.7060701@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    --cc=ulrik.vieth@tesionmail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).