Khaled Hosny wrote:
On Tue, Sep 08, 2009 at 10:29:04AM +0200, Hans Hagen wrote:
Aditya Mahajan wrote:
The names \alpha \beta etc are currently hardcoded in char-def. The only way to change them is to move mathname="alpha" from 0x1D6FC to 0x03B1. Or use \greekalpha, \greekbeta etc (essentially taking the text glyphs).
Hans, we need to think of mechanism to switch between upright and italic greek letters for the macros. ok. actually, it's not that hard to do, and i'd also provide an 0x1D6FC -> 0x03B1 and vise versa transformation then (on unicode chars) ... so, you can start thinking about proper names for the commands (\ugreek, \igreek or so); are there more such up/it things?
I was thinking in a global way to switch upright math on/off, my use case is that on day when we have Euler OpenType, users can use the font and switch math to upright symbols globally without altering existing math formulas.
an upcoming beta will provide such a feature \usetypescript[cambria]\setupbodyfont[cambria] \startTEXpage $\alpha \mathgreekupright \alpha \mathgreekitalic \alpha$ \stopTEXpage and also: \setupmathematics[greek=normal|italic|none] but first aditya and i need to agree on the names and complete the related greek vector ----------------------------------------------------------------- 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 -----------------------------------------------------------------