Rendered Latex code seems to be below line.

  • Author
    Posts
  • #990185

    like2think
    Member

    Hello!

    I use Latex according this instruction: http://-en.support.wordpress.com/latex/#using-latex. Equations on separate lines look nice, but when I want to insert a piece of Latex code into plain text string, the rendered result seems to be below line.

    Can anybody help me? Thanks in advance.

    The blog I need help with is like2think.wordpress.com.

    #990363

    justpi
    Member
    #990586

    smichalakis
    Member

    @justpi: I have read through the link you posted and it is not very useful. I am using the twentyeleven theme and have access to the CSS Editor. What kind of code would I need to add to the css style file for the theme to move the latex .png images a little higher, so they align with the baseline of the text?

    #990587

    justpi
    Member

    You can add this:

    img.latex {
        vertical-align: baseline;
    }

    Or, if you wish to be able to fine tune the alignment:

    img.latex {
        vertical-align: -5%;
    }

    #990588

    smichalakis
    Member

    Thank you justpi! This worked fantastically.

The topic ‘Rendered Latex code seems to be below line.’ is closed to new replies.