Latex equations look funny
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.
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
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.
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.
I’m deleting the other thread. I can take care of any moderation issues that should arise.
Posting here is fine.
I will notify SBK as I usually do and point him to this support forum thread rather than to the css customization forum.
I have asked sunburntkamel to give you a hand with this when he has the time.
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!
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.)
Don’t mention it; it is possible that the FAQ entry did not yet exist when you first posed the question.
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.
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.
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/
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.