Path: utzoo!utgpu!watserv1!watmath!att!pacbell.com!ucsd!sdd.hp.com!wuarchive!emory!gatech!prism!prism.gatech.EDU!ne201ph From: ne201ph@prism.gatech.EDU (Halvorson,Peter J) Newsgroups: comp.text.tex Subject: Help on LaTeX hacking. Message-ID: <20376@hydra.gatech.EDU> Date: 25 Jan 91 20:03:08 GMT Sender: ne201ph@prism.gatech.EDU Organization: Georgia Institute of Technology Lines: 17 I hope someone can help me with this problem. I'm writing a technical paper and make frequent reference to leidenfrost temperature. I have abbreviated this with: \newcommand{\tleid}{$ T_{Leid}$} Now I can just put \tleid in normal text. The first problem is that this will ignore a normal space after \tleid. If I put a hard space in the definition, it wouldn't work if followed by a punctuation mark. The second problem is that I would like to be able to use the same command if I'm already in the math mode ( although I could live with \tleidm or something similar). Is the answer obvious to anyone? Thanks