[texworks] syntax pattern for inmath

Reinhard Kotucha reinhard.kotucha at web.de
Tue Feb 2 19:40:59 CET 2010


On 2 February 2010 Alain Delmotte wrote:

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

Does something like \$[^\$]+\$ work?

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the texworks mailing list