[luatex] Use Math Glyphs from Text Font
Will Robertson
wspr81 at gmail.com
Mon Oct 18 16:49:19 CEST 2010
On 2010-10-18 19:34:52 +1030, "C. Comren"
<ccomren at gmail.com> said:
>
> Now I just need a way to change the Greek alphabet.
Try this:
\makeatletter
\def\DeclareUnicodeMathSymbol#1#2#3#4{
\global\luatexUmathchardef#1=
"\mathchar at type#2
"\the\csname sym#3\endcsname
#4
}
\makeatother
\DeclareUnicodeMathSymbol{\alpha}{\mathalpha}{mysymfont}{"1D6FC}
(don't use it with literal input chars; only control sequences like
\alpha are allowed)
I guess I should provide something like this in unicode-math, really.
This was the original idea, actually, and then it ballooned out of
control when I was young and naive.
W
More information about the luatex
mailing list