I am trying to type a non-italiac \mu in a inline math mode. The problem is related to the use of the elsarticle class. The normal method using \mathrm{} is not working.
Here is a MWM:
\documentclass[5p,times,hidelinks]{elsarticle}
\begin{document}
normal math mode $\mu$ \\
mathrm $\mathrm{\mu}$ \\
\end{document}
That on my computer returns


elsarticledocument class is in use, along with thetxfontspackage, is relevant. – Mico Mar 21 '18 at 06:38\mathrm{\mu}produces an upright mu. – egreg Mar 22 '18 at 07:44