[OS X TeX] superscripting

David Watson dewatson at mac.com
Wed Feb 27 03:56:52 CET 2008


If Mr. Kowalski is going to use LaTeX, let's get him off on the right  
track:
Use \( ...somemath... \) instead of $ ...somemath... $
Use \[ ...somemath ... \] instead of $$ ...somemath... $$

There is a difference in how the display of the equations is handled  
in certain situations that I don't pretend to understand.

On Feb 26, 2008, at 8:49 PM, Gary L. Gray wrote:

>
> 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
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>




More information about the macostex-archives mailing list