[texworks] syntax pattern for inmath

Alain Delmotte esperanto at swing.be
Wed Feb 3 14:11:14 CET 2010


Hi!

Reinhard Kotucha a écrit :
> 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
>   
Thanks Reinhard and Stefan, this expression works.

Alain




More information about the texworks mailing list