I'd like to change the color of all math in my document. I understand that several packages and some engines provide support for changing the color of all math, and I understand that something like
\everymath{\color{green}}
almost works, but also ends up coloring things like URLs and captions, while failing to color displayed equations.
Is there a reliable way to change the color of just math, in pdflatex, without relying on special packages or classes?
$$...$$, better switch to\[...\]. – tohecz Mar 15 '12 at 22:39