[OS X TeX] automatic superscript braces in TeXShop editor

Michael Welsh yomcat at yomcat.geek.nz
Sun Feb 5 03:28:34 CET 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 macostex-archives mailing list