[TxMt] More issues with LaTeX syntax highlighting

Alex Ross alex.j.ross at gmail.com
Wed Apr 25 15:55:49 UTC 2007


god almighty; latex is such a gigantic hack, isn't it?

On Apr 25, 2007, at 7:38 AM, Robin Houston wrote:

> On 4/25/07, Charilaos Skiadas <skiadas at hanover.edu> wrote:
> The problem with that is that it makes code like $foo} valid, so
>
> I see what you mean (about making it harder to detect problems with  
> braces), but on the other hand $foo} *is* potentially valid code.
>
> For example, here is the definition that originally prompted me to  
> make the change:
>
> %% Centred math environment, spilling into the margins if needed
> \newenvironment{mspill}{%
>         \vskip\abovedisplayskip\hbox to \textwidth\bgroup\hss%
>         \hbox\bgroup$\displaystyle
> }{%
>         $\egroup\hss\egroup\vskip\belowdisplayskip\noindent 
> \ignorespacesafterend
> }
>
> Robin
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070425/fb5e63ae/attachment.html>


More information about the textmate mailing list