[texworks] syntax pattern for inmath
Alain Delmotte
esperanto at swing.be
Tue Feb 2 18:14:49 CET 2010
Hello!
I'd like to have syntax-pattern for inmath expressions like $e=mc^2$.
I have this:
limegreen N \$.+\$
but if there are more than one math expression, everything is coloured
between the first $ (of the first expression) and the last $ (of the
last expression).
Also I'd like this for the display-math expressions "on several lines".
I have :
limegreen N \\\[((.*)\n?)+\\\]
this works for a one line expression
\[e=mc^2\],
but not for
\[
e=mc^2
\]
Is this possible?
--
Alain
More information about the texworks
mailing list