[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] no space after defined \newcommands in LaTeX



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}




Reply to: