On Mon, 31 Mar 2003, Nori Heikkinen wrote:
> this has been pissing me off recently. if i define a new command
>
> \newcommand{\TM}{Turing machine}
>
> and then say in my document
>
> ... the \TM defined by blah blah ...
>
> i will get the output ``the Turing machinedefined by blah blah.''
>
Use the xspace package in Latex.
\usepackage{xspace}
\newcommand{\TM}{Turing machine\xspace}