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

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




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.''

so i have to say

... the \TM ~defined by ...

I can't just define it to be

{Turing machine~}

because i want to be able to put punctuation directly after it.

How do people get around this?  or do you just deal?

Leave your definition as is and use "\TM{} some other text." That should solve your problem.

HTH,

-Roberto Sanchez


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



Reply to: