I received a proof for a journal paper (IEEE) where some of the numbers in the inline equations of my manuscript were changed to Times font (font used for text in the template IEEEtran.cls) and some others were not changed to Times and left as CM math font (font used for math in IEEEtran). I would like to be consistent throughout the document and know which one to use. For example, should I use:
$x=1$ m
or
$x=$ 1 m
(where m is for meters)?
Another example would be: $x=2y$ or $x=$ 2$y$?

\usepackage{mathptmx}or, better if you have an up-to-date TeX distribution,\usepackage{newtxtext,newtxmath}and the problem will disappear. – egreg Nov 28 '12 at 20:56IEEEtran.cls. It's simply absurd to have text in Times and math in Computer Modern. – egreg Nov 28 '12 at 22:43