I have been happily using latex with default fonts for Math mode and now our school has specified that all our test HAVE TO BE IN ARIAL. This is fine for the text part but when it comes to math mode, I need everything to be in arial EXCEPT the lower case letters, such as x, y z, etc. As below:
The following code obviously does not do what I want as the math output is all in cambria.
\documentclass[a4paper,addpoints,12pt]{exam}
\RequirePackage{amssymb,amsfonts,amsmath,latexsym, mathrsfs,unicode-math}
\setmathfont{Cambria Math}
\renewcommand{\rmdefault}{phv}
\renewcommand{\sfdefault}{phv}
\begin{document}
$ 4x+y=ABC-2 $
\end{document}



sfmath,sansmath,mathastext. I do usemathastextat the moment, but I do not know, which of these is the best solution (and haven't found one fully satisfying so far). – Skillmon Jun 15 '17 at 07:39$4x+y=\text{ABC}-2$. – Michael Fraiman Jun 15 '17 at 07:46xandyare not Arial. She would have to use\text{\textit{x}}for every variable in her document. I don't think this is a real option. – Skillmon Jun 15 '17 at 07:52xandyshould not be in arial. – Michael Fraiman Jun 15 '17 at 07:54helvet-- nobody who likes Arial will notice the difference), but the reasoning here is just a bit weirder in my eyes. – Skillmon Jun 15 '17 at 08:03