0

I'm using AUCTeX + preview-latex to preview math formulas. In addition, I'm using the zenburn color scheme, which has a dark background. Unfortunately, the rendered math previews have a white background, which looks very ugly.

How is it possible to change the default background color in the rendered math formulas?

2

The default settings of preview-latex should ensure that the image background is either transparent or set to the background color of the editor area. If you always get white backgrounds, have a look at the AUCTeX option Preview Appearance > Preview Reference Face > Background. Maybe it's set to white. In this case, simply uncheck the corresponding checkbox and save the settings. Otherwise, try to set an explicit background color value to check whether this option actually causes the problem.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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