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\[...\]. – yo' Mar 15 '12 at 22:39$$. That's a shorthand for what I mean. Fixed above. – orome Mar 15 '12 at 23:24$$] come from TeX… they do interfere with… they conflict with…” is disturbingly backwards; as LaTeX is a macro package built on TeX, whatever's done with it in an “interfering” or “incompatible” way to TeX's, is just that. Not vice versa. – morbusg Mar 16 '12 at 06:58