Need help? Check out our Support site, then

Latex equations look funny

  1. I love the fact that we can use Latex for incorporating math equations into posts. I'm having a slight problem, though: I made a test post for myself with a latex equation, but the colors are inverted - the background is black and the equation text is white-ish, whereas I want a white background with black text (see this image for an example). Does anyone know what could be going on?

    I think it might be due to the way I have my blog designed: I modified the css for the ChaoticSoul theme (which has a dark background and light text) so that it had a white background and black text. I can't figure out how to make the latex equations look like this too, however.

  2. Hello there,
    It seems you are not the only person who has a problem with displaying latex equations in a blog. Perhaps reading this thread is in order

  3. I've read that thread, but it was more relevant before wordpress recently (i.e. as of two days ago) allowed functionality for latex equations. I don't think anyone posting on that thread had any problems with displaying latex equations, per se, since all of the postings are from before wordpress allowed latex functionality. Thanks for trying to help, though.

  4. Two days ago allowed functionality for latex equations. Wow! thanks for the information. :) And it seems you really need css customization help, although you posted to the support forum.

  5. *sigh*

  6. I'm deleting the other thread. I can take care of any moderation issues that should arise.

    Posting here is fine.

  7. I will notify SBK as I usually do and point him to this support forum thread rather than to the css customization forum.
    Edit: done.
    I have asked sunburntkamel to give you a hand with this when he has the time.

  8. Yes, WordPress tries to determine the appropriate color scheme for your weblog, but your change is probably causing the confusion.

    You can just set the colors manually, as described in the FAQ. Hope that helps!

  9. It works! Thanks a ton, darmok - I missed that post in the FAQ somehow. Also, great blog! (timethief and drmike, I appreciate your help as well.)

  10. Don’t mention it; it is possible that the FAQ entry did not yet exist when you first posed the question.

  11. Still, it can be a lot of work to inlcude the color code to every equation you type. I am hoping there is some css-related solution. My blog has also the same problem with specific (eg. Journalist) themes.

  12. I could be wrong but I don't think this is CSS-able. The latex equations appear as images in the text, so their colouring isn't to do with the CSS stylesheet, but the latex coding itself.

  13. phorgyphynance

    I can set foreground and background colors as described in the FAQ, but my equations are coming out with an undesired outline, i.e. a square box, around them. Any idea how to get rid of it?

    Here is my test page:

  14. phorgyphynance

    Sorry. I'm new. It was my theme that put a border around the LaTeX equations. Fixed now.

Topic Closed

This topic has been closed to new replies.

About this Topic