[texworks] syntax pattern for inmath

kap4lin kap4lin at gmail.com
Wed Feb 3 18:47:26 CET 2010

On Wed, Feb 3, 2010 at 9:42 AM, Stefan Löffler <st.loeffler at gmail.com> wrote:
> Am 2010-02-03 14:19, schrieb Herbert Schulz:
>> For curiosities sake... what happens if you use $$...$$ for displayed math equations? I see this quite a bit even with LaTeX.
> With "\$[^\$]+\$", I'd assume that everything between an including the
> inner $ signs would be colored, but not the outer $ signs. But you could
> easily adjust the regexp to work for both cases by simply saying
> "\$+[^\$]+\$+" (which will actually match one or arbitrarly more $ signs).

So in $e=mc^2$ is it possible to have "e=mc^2" in limegreen but the
left and right "$"s in red?

http://counter.li.org  #402424

More information about the texworks mailing list