Wondering what are the use cases of unicode-math
and mathspec
packages, I stumbled upon this excellent question and better answers, that helped me clarify the situation.
If I understand correctly, the goal of the mathspec
package is to be able to use regular (unicode?) fonts to typesetting math. This may not be the ideal situation, but makes perfect sense in some cases.
Unfortunately, it seems that the mathspec
package is only compatible with XeLaTeX
and its maintenance status is unclear.
Im aware of the mathastext
package, but its author says, that it:
was initially developed for the traditional TEX fonts and engines, and that compatibility with Unicode engines and OpenType fonts is partial.
So I wonder how authors have to proceed if they are using LuaLaTeX
and want to use non-math regular fonts to typeset their formulae? Is there any mathspec-equivalent for LuaLateX
? Does this make any sense at all?
\mathxxx{...