Is there a way to specify the color along with the font name when using simplefonts? At the moment, I use the following to setup my default fonts.
\usemodule[simplefonts]
\setmainfont[Ubuntu]
\setsansfont[charter] % the reversal of serif and sans roles was intentional
\setmonofont[FreeMono]
\setmathfont[euler]
This is working as expected. However, I'd like to have all math to be shown in dark red. I can switch it manually every time like so:
\color[darkred]{$my+new+equation$}
- Is there something I can add to
\setmathfontso that it changes the color without having to type the extra color commands every time? Ideally, it should work for all the commands used for display-math and inline-math. - In addition to that, when the surrounding text overrides the color, the color should be in the new, overriding color instead. So,
\color[green]{Important: you need to tune $x$ to use the above.}, should be set entirely in green.
