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. – Colas Jan 05 '17 at 13:57$$ ... $$, see http://tex.stackexchange.com/questions/503/why-is-preferable-to – samcarter_is_at_topanswers.xyz Jan 05 '17 at 14:06\everymath{\color{red}} \everydisplay{\color{red}} \def\m@th{\normalcolor\mathsurround\z@}made it. – Colas Jan 05 '17 at 14:10