On 07/17/2010 07:56 AM, Khaled Hosny wrote:
On Sat, Jul 17, 2010 at 07:43:46AM +0200, Taco Hoekwater wrote:
On 07/17/2010 05:49 AM, Khaled Hosny wrote:
I'm not a big fan of private use area myself, it just makes things more unportable. The approach I used is mapping the new characters to the closest matching existing ones, so calligraphic is mapped to script, sans serif Greek is mapped to serif and so on. What I want is a way to use different font for specific parts in the equation, for example a \mathaltcal or \mathsfbfgreek etc that could have a different feature than the main math font.
You could use stylistic alternate sets, it should be easy to support those in context (it may even work out of the box).
With which feature tag?
Stylistic set (ss01-ss20) already work, but I can only enable it for formula wide, I just don't know how to define a new font in math mode.
You just have to set them up, then the \mathaltcal macro becomes something like: \def\mathaltcal#1{\addff{ss09}#1\subff{ss09}} Best wishes, Taco