[luatex] Use Math Glyphs from Text Font
C. Comren
ccomren at gmail.com
Sat Oct 16 14:45:44 CEST 2010
> \newfontface\myfont{MyFont}
> \makeatletter
> \DeclareMathSymbol{A}{\mathalpha}{\zf at family}{`A}
> \makeatother
>
> or (probably better)
>
> \ExplSyntaxOn
> \fontspec_set_family:Nnn \myfont {} {MyFont}
> \ExplSyntaxOff
> \DeclareMathSymbol{A}{\mathalpha}{\myfont}{`A}
Thanks for your suggestion. However, I get the error message
! LaTeX Error: Symbol font `MyFont(0)' is not defined.
Thanks,
CC
More information about the luatex
mailing list