thanks for your help in advance. I was wondering how to use the mainfont type for some features in the math environment. For example, let's say I'm using "font A" which I've uploaded using some otf file for the text and for math environment I'm using default LaTeX math font. While font A doesn't have greek letters, I'd still like to use it for the math environment when feasible (for example, letters of the alphabet and words like "max," "lim," etc.) How can I get my math environment to use font A for this but default math environment for the items that aren't accounted for in font A?
(Disclaimer: I know people will say you shouldn't mess with fonts/math environments like this, and I generally agree, but choosing not to do something and not being able to do it are separate things--and I'd still like to know how!)