I would like to change the color of anything that is in mathematical mode, in all my document.
Is it possible?
PS: The solution I've found so far is
\everymath{\color{red}}
\everydisplay{\color{red}}
\def\m@th{\normalcolor\mathsurround\z@}
but it cancels the command \everymath{\displaystyle}
$[...]$
and$$[...]$$
... I don't know how to start.$$ ... $$
, see tex.stackexchange.com/questions/503/why-is-preferable-to\everymath{\color{red}} \everydisplay{\color{red}} \def\m@th{\normalcolor\mathsurround\z@}
made it.