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

Herbert Schulz herbs at wideopenwest.com
Fri Sep 8 16:58:21 CEST 2006


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)


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