TeX source:
\mathrm{g}(\mathrm{x})=2+\sin (\mathrm{x})