[OS X TeX] automatic superscript braces in TeXShop editor

Michael Welsh yomcat at yomcat.geek.nz
Sat Feb 4 21:28:34 EST 2012


On 5/02/2012, at 12:17 PM, Herbert Schulz wrote:
> 
> \newcommand{\N}{$\mathbb{N}$}

Wouldn't

\newcommand{\N}{\ensuremath{\mathbb{N}}} be better?

That way, nothing wack will happen if you're already in a math environment when using the macro.

Michael


More information about the MacOSX-TeX mailing list