[OS X TeX] New Version of CommandCompletion.txt for TeXShop

Jérôme Laurens jerome.laurens at u-bourgogne.fr
Thu Sep 30 08:58:14 CEST 2004


Le 30 sept. 04, à 05:14, Will Robertson a écrit :

> On 30 Sep 2004, at 12:25 PM, Herb Schulz wrote:
>>
>> Is there some reason you believe that $...$ is more robust?
>
> Well, I've traced down why I thought so: David Kastrup wrote on 
> comp.text.tex the following:
>
>> You have to be aware that $ is robust, while \(...\) is not.  That 
>> is, if you say something like
>>    \section{\(E=mc^2\)}
>> it will barf, whereas the version with $...$ works fine.

$ is a just a character and it is low level (some TeX primitive)

\( is a macro and as such will be expanded possibly with more stuff 
that just a single '$' character
It makes 2 reasons for breaking robusteness
1 - the expension process
2 - The expanded stuff

But using \( allows more customization be redefining the \( command...


>
> While I haven't checked it, I'd believe him.

Use some math in \section...

--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the Macostex-archives mailing list