[OS X TeX] superscripting

Gary L. Gray gray at engr.psu.edu
Tue Feb 26 21:49:41 EST 2008


On Feb 26, 2008, at 9:35 PM, ludwik kowalski wrote:

> On Feb 26, 2008, at 7:57 PM, Anthony Morton wrote:
>
>> . . . Remember, for simple formulae you type them in pretty much as  
>> you would in a casual email:
>>
>> 	y = 3x + x^2
>
> For some reason this did not compile. But it did compile after I  
> replaced 2 with {2}
>
> Can someone explain to me why? I am using TexShop; the only frontend  
> I know how to use.
>
> The tiny source file is attached

Both compile identically for me once I put each in math mode. That is,

$y = \sqrt{ 3x + x^2 } $

gives the same thing that

$y = \sqrt{ 3x + x^{2} }$

gives me.

:-)

-- Gary



More information about the MacOSX-TeX mailing list