[OS X TeX] automatic superscript braces in TeXShop editor
Herbert Schulz
herbs at wideopenwest.com
Sat Feb 4 22:24:42 EST 2012
On Feb 4, 2012, at 8:28 PM, Michael Welsh wrote:
> 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
Howdy,
Much better but I was trying to keep things ultra-simple at the time. Waiting for the request for how to handle things when they were already in math mode. :-)
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list