[luatex] Use Math Glyphs from Text Font
Diederick C. Niehorster
dcnieho at gmail.com
Sun Oct 17 03:22:56 CEST 2010
Hi CC,
I'm just going out on a limb here, dont really know, but probably the
MyFont in "\fontspec_set_family:Nnn \myfont {} {MyFont}" needs to be
replaced with the name of the font you actually want to use.
Best,
Dee
On Sat, Oct 16, 2010 at 20:45, C. Comren <ccomren at gmail.com> wrote:
>> \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