I have a little macro that I use for doing adding an e.g. in my writing:
\newcommand{\eg}{\emph{e.g.}\xspace}
The problem I have is that LaTeX is treating the g.
as the end of a sentence and is spacing too much. Is there any way to disable this feature?