TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this simple latex code:


However using background option for dmath seems not to work at all, the background stays white.

I compiled with MiKTeX 2.9.4533 without any warnings.

I have also tried


And some more combinations but none of them works.

Why is that?

share|improve this question
I'm not sure color is really implemented: the option background defines \eq@background which is used nowhere. The same holds for the color option that defines \eq@foreground, but also this command is used nowhere. – egreg May 11 '13 at 14:34
up vote 2 down vote accepted

This kind of works.


%%% Fix the `color` option
%%% redefine \eqframe to use the background color


enter image description here

share|improve this answer

If you seach for background in the breqn source you find (only)


That is the background key saves the colour in an internal macro which is never used.

Perhaps this instead:


\color{yellow} 1+1=2

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.