[TxMt] More issues with LaTeX syntax highlighting

Robin Houston robin.houston at gmail.com
Wed Apr 25 14:38:56 UTC 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070425/be7b44a2/attachment.html>


More information about the textmate mailing list