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
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?