[OS X TeX] superscripting

Charilaos Skiadas cskiadas at gmail.com
Tue Feb 26 22:00:33 EST 2008


It also makes it easier to parse the document, for syntax coloring  
etc, and to do search and replace things, since there can never be an  
ambiguity about which is the start and which is the finish.

I have actually instructed TextMate to insert \( ... \) whenever I  
type $, and to get me out of math mode if I am in math mode and press $.

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College

On Feb 26, 2008, at 9:56 PM, David Watson wrote:

> 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
>>






More information about the MacOSX-TeX mailing list