[texhax] Puzzling (La)TeX output

Justin C. Walker justin at mac.com
Fri May 5 05:02:14 CEST 2006


On May 4, 2006, at 14:52 , Barbara Beeton wrote:

>     I tripped over this and can't explain it; I hope someone here will
>     show me what I am missing:
>
>     Using this source:
>
>     =====
>     \newcommand{\dx}{\rm dx}
>
>     $\Phi(\dx_i)=dx_i$.
>     =====
>
> the braces get stripped off the expansion of the
> command, so the \rm isn't scoped

D'oh!  I knew that.  Growl.

Thanks for the clue!

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
If you're not confused,
You're not paying attention
--------





More information about the texhax mailing list