LaTeX background

  • Author
    Posts
  • #502046

    luojianchuan
    Member

    Modularity Lite is such a great theme. I have only one problem with it: LaTeX formulae background.

    I changed the back ground color, but the background of my LaTeX formulae stays #FFFFFF.
    Can Someone fix it?

    The blog I need help with is luojianchuan.net.

    #502209

    lance
    Staff

    Can you point a post that has this issue, either as a link or a screenshot? That’d be helpful to we can see what you are seeing.

    #502279

    luojianchuan
    Member

    http://luojianchuan.net/2010/07/26/上证综指对经济增速敏感度的简单分析/

    The whole line above, including the Chinese characters, is the URL.
    Thanks for the attention. Really appreciate it.

    #502280

    lance
    Staff

    The formulas have the same background as the main column: black. Is that what you intended? You said earlier that they were white (#FFFFFF).

    Screenshot here: http://img.skitch.com/20100728-tfu2wmr9en4u4497nwkbrp2dty.png

    #502281

    luojianchuan
    Member

    Thank you for your timely reply, Lance!

    I have to apologize first that I mis-stated the problem:
    The formula background is too dark (#000000) instead of too light.

    I had to chose a dark background (say, #333333) so it’s not very obvious. But you can still see it.

    I tried some lighter background color, things turned very nasty.

    In a word, the formula background does not adjust the template background.

    #502283

    lance
    Staff

    the formula background does not adjust the template background

    I understand what you mean now.

    Here are more details on how this works. Each WordPress.com theme has a set of default colors — they are not pulled from the CSS file. Latex uses those color values if you don’t include colors in your Latex formula (see how to set your own colors: http://en.support.wordpress.com/latex/#latex-colors).

    For Modularity Lite, the default color scheme has the background color as black (actually #111111 — a very dark gray) and text color as #eeeeee (very light gray).

    To further complicate things, the theme uses a transparent background image for the content background, so the Latex background color will show up as a darker black against it.

    So you can either stick with the defaults, or apply your own colors for each Latex formula that you post. If you are using Custom CSS, you can set your background to #111 if you want the Latex to blend in perfectly with your content.

    I hope that helps explain it. :)

    #502290

    luojianchuan
    Member

    Since I don’t have Custom CSS, I’ll keep everything as is.
    But I thank you for explaining everything. Very educative.

    #502301

    luojianchuan
    Member

    Magically, the issue disappeared today!
    Thank anyone who made this change!

The topic ‘LaTeX background’ is closed to new replies.