Hello, I am using Context Mark II + XeTeX. I would like to know the following things. 1. How to use opentype font features. I tried the following code but it is not working. \definefontfeature[myfontfea][+onum] \definetypeface[Libertine][rm][Xserif][Linux Libertine O][default][features=myfontfea] \setupbodyfont[Libertine,12pt] 2. Is there an eqivalent code to the following XeLaTeX code. \defaultfontfeatures{Scale=MatchLowercase} 3. How to use Cambria Math font to typeset math.
Arun Dev wrote:
Hello,
I am using Context Mark II + XeTeX. I would like to know the following things.
1. How to use opentype font features. I tried the following code but it is not working. \definefontfeature[myfontfea][+onum] \definetypeface[Libertine][rm][Xserif][Linux Libertine O][default][features=myfontfea] \setupbodyfont[Libertine,12pt]
\definefontfeature[myfontfea][onum=yes]
2. Is there an eqivalent code to the following XeLaTeX code. \defaultfontfeatures{Scale=MatchLowercase}
i have no clue what that is supposed to do
3. How to use Cambria Math font to typeset math.
\usetypescript[cambria] \setupbodyfont[cambria] but only in mkiv ----------------------------------------------------------------- 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 -----------------------------------------------------------------
You asked the same questions a few days ago, what's your problem with the answers you got last time? Wolfgang Am 14.05.2009 um 14:18 schrieb Arun Dev:
Hello,
I am using Context Mark II + XeTeX. I would like to know the following things.
1. How to use opentype font features. I tried the following code but it is not working. \definefontfeature[myfontfea][+onum] \definetypeface[Libertine][rm][Xserif][Linux Libertine O][default] [features=myfontfea] \setupbodyfont[Libertine,12pt]
2. Is there an eqivalent code to the following XeLaTeX code. \defaultfontfeatures{Scale=MatchLowercase} 3. How to use Cambria Math font to typeset math.
participants (3)
-
Arun Dev
-
Hans Hagen
-
Wolfgang Schuster