[OS X TeX] {DON'T} Use $$...$$, in LaTeX

André Bellaïche abellaic at math.jussieu.fr
Fri Sep 8 18:29:02 CEST 2006


Le 8 sept. 06 à 16:58, Herbert Schulz a écrit :

>
> On Sep 8, 2006, at 9:35 AM, André Bellaïche wrote:
>
>> As far as I know (I have just tried \abovedisplayskip = 5cm, to be  
>> sure), equations displayed by $$...$$ are sensitive to some  
>> changes of LaTeX parameters. Does there exists other features  
>> which they would ignore ?
>>
>> André Bellaïche
>
> Under ordinary circumstances it appears that \[...\] and \(...\)  
> are equivalent to $$...$$ and $...$ respectively. The difference is  
> that the former are macros while the latter are TeX primitives (in  
> the sense that they are set via category code to be math escape).  
> That means that the former can be redefined when needed; e.g., I  
> believe tex4ht treats \(...\) and $...$ differently.
>
> It is certainly more difficult to search for $$...$$ and $...$  
> expressions since they are symmetric; e.g., if you started out in  
> the middle of a math expressions and started the search it would  
> find everything outside the expressions.
>
> Personally, I've just made \(#INS#\) and \[#RET##INS##RET#\] macros  
> and bound them to Cmd-9 and Cmd-0 in TeXShop so I get the complete  
> expression with one key press.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)

Thanks all for these informations. Don't forget that my only argument  
was that $$ is much more visible in a source file that \[, even when  
the latter is the only macro on its line.

A.B.------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list