I am wondering how to alternate sans and serif greek fonts within mathematical expressions. The package sansmathfonts changes the font to the whole document, which I don't want to. I have read related posts and I think one has to define a special math alphabet, say \mathsfgreek
, in some sense similarly to
\SetSymbolFont{letters}{sans}{OML}{cmbrm}{m}{it}.
I tried to use something like \usefont
with similar parameters without success. I would like to have the choice between sans normal (upright), sans italic, sans bold normal, and sans bold italic, which should all be available in cmss. I would like to write something like
\[ \alpha\mathsfgreek{\alpha} \]
where \alpha
on the left is normal and \alpha
on the right is sans (upright). Can you give me some hint?
Thank you!