[OS X TeX] automatic superscript braces in TeXShop editor

Michael Welsh yomcat at yomcat.geek.nz
Sun Feb 19 02:15:33 EST 2012


On 18/02/2012, at 2:32 PM, Don Green Dragon wrote:
> 
>>> \newcommand{\N}{$\mathbb{N}$}
>> 
>> Wouldn't
>> 
>> \newcommand{\N}{\ensuremath{\mathbb{N}}} be better?
> 
> Yes! In text mode I can type \N\ and obtain what I want.

I would recommend the package xspace here.

Then you get the spacing done correctly, removing the need for \ in some places and not in others.

Michael


More information about the MacOSX-TeX mailing list