Latex equations look funny

  • Author
    Posts
  • #74459

    siddhartha04
    Member

    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.

    #74946

    timethief
    Member

    Hello there,
    It seems you are not the only person who has a problem with displaying latex equations in a wordpress.com blog. Perhaps reading this thread is in order https://en.forums.wordpress.com/topic.php?id=3813&replies=4

    #74949

    siddhartha04
    Member

    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.

    #74951

    timethief
    Member

    Two days ago wordpress.com 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.

    #75008

    drmike
    Member

    *sigh*

    #75029

    drmike
    Member

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

    Posting here is fine.

    #75041

    timethief
    Member

    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.
    @siddhartha
    I have asked sunburntkamel to give you a hand with this when he has the time.

    #75125

    darmok
    Member

    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!

    #75142

    siddhartha04
    Member

    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.)

    #75143

    darmok
    Member

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

    #75417

    t8m8r
    Member

    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.

    #75418

    rosclarke
    Member

    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.

    #75422

    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: http://phorgyphynance.wordpress.com/2008/02/08/testing-latex/

    #75423

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

The topic ‘Latex equations look funny’ is closed to new replies.