The symbol for the milligram is $\mathrm {mg}$.
The $\LaTeX$ code for \(\mathrm {mg}\) is \mathrm {mg} .
\mathrm {mg}