[NTG-context] Mathdesign fonts usage

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Mar 18 10:40:57 CET 2010


Am 18.03.10 08:12, schrieb Mehdi Omidali:
> Hi,
> I have tested all samples in the arxive to use mathdesign fonts for 
> math but no success has been reached.
Files: http://drp.ly/CC5aF

Unzip the archive in one of your local TeX folders.

Sample: http://drp.ly/CC86L
Result: http://drp.ly/CC92k

Replace the font defintions in math-vfu.lua with this and regenerate the 
format.

mathematics.make_font ( "charter-math", {
  -- { name = "file:bchr8a", features = "virtualmath", main = true },
     { name = "file:bchri8a", features = "virtualmath", main = true },
  -- { name = "md-chr7m.tfm", vector = "tex-mr" },
     { name = "md-chri7m.tfm", vector = "tex-mi", skewchar=0x7F },
     { name = "md-chri7m.tfm", vector = "tex-it", skewchar=0x7F },
     { name = "md-chr7y.tfm", vector = "tex-sy", skewchar=0x30, 
parameters = true },
     { name = "md-chr7v.tfm", vector = "tex-ex", extension = true },
  -- { name = "md-chbma.tfm", vector = "tex-ma" },
  -- { name = "md-chbmb.tfm", vector = "tex-mb" },
     { name = "msam10.tfm", vector = "tex-ma" },
     { name = "msbm10.tfm", vector = "tex-mb" },
} )

mathematics.make_font ( "garamond-math", {
  -- { name = "file:ugmr8a", features = "virtualmath", main = true },
     { name = "file:ugmri8a", features = "virtualmath", main = true },
  -- { name = "md-gmr7m.tfm", vector = "tex-mr" },
     { name = "md-gmri7m.tfm", vector = "tex-mi", skewchar=0x7F },
     { name = "md-gmri7m.tfm", vector = "tex-it", skewchar=0x7F },
     { name = "md-gmr7y.tfm", vector = "tex-sy", skewchar=0x30, 
parameters = true },
     { name = "md-gmr7v.tfm", vector = "tex-ex", extension = true },
  -- { name = "md-gmmma.tfm", vector = "tex-ma" },
  -- { name = "md-gmmmb.tfm", vector = "tex-mb" },
     { name = "msam10.tfm", vector = "tex-ma" },
     { name = "msbm10.tfm", vector = "tex-mb" },
} )

mathematics.make_font ( "utopia-math", {
  -- { name = "file:putr8a", features = "virtualmath", main = true },
     { name = "file:putri8a", features = "virtualmath", main = true },
  -- { name = "md-utr7m.tfm", vector = "tex-mr" },
     { name = "md-utri7m.tfm", vector = "tex-mi", skewchar=0x7F },
     { name = "md-utri7m.tfm", vector = "tex-it", skewchar=0x7F },
     { name = "md-utr7y.tfm", vector = "tex-sy", skewchar=0x30, 
parameters = true },
     { name = "md-utr7v.tfm", vector = "tex-ex", extension = true },
  -- { name = "md-utbma.tfm", vector = "tex-ma" },
  -- { name = "md-utbmb.tfm", vector = "tex-mb" },
     { name = "msam10.tfm", vector = "tex-ma" },
     { name = "msbm10.tfm", vector = "tex-mb" },
} )

Wolfgang



More information about the ntg-context mailing list