Latex support works only inconsistently

  • Author
    Posts
  • #733233

    anthonypete
    Member

    I am trying to use latex for equations on my new blog, and they constantly fail when I’m trying them. I can have identical latex code and one time it works, and the next time it gives an error.

    Is this a known issue or is something else going on?

    I ended up having a cut my post short and simplify so I didn’t have to use latex, and even with just 1 latex equation in the post it was very inconsistent and only seemed to work half the time.

    I’ve used latex before on a couple different sites (math.stackexchange.com especially) and never had trouble so I don’t think its me failing to write the latex correctly.

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

    #733523

    badpipe
    Member

    I have a similar problem, but I found that leaving spaces between certain characters can sometimes help.

    #733659

    wpgaurav
    Member

    WordPress LaTeX is not too powerful as MathJax but there are some ways you can handle ‘parsing errors’. Can you please place the LaTeX code which troubled you?

    #733660

    anthonypete
    Member

    There are several different snippets I tried that didn’t work. It seems random whether the page will parse the latex or not.

    One example was:

    “$latex e^{\frac{\pi}{4} i}$”

    A lot of the more complicated expressions where there is an expression inside another expression seem to fail to parse.

    #733661

    wpgaurav
    Member

    It must work. Although I have found some codes which work badly with WPLaTeX but this is not one. I input $latex e^{\frac{\pi}{4} i}$ and the result was this: http://s0.wp.com/latex.php?latex=+e%5E%7B%5Cfrac%7B%5Cpi%7D%7B4%7D+i%7D&bg=ffffff&fg=000000&s=0 Rendering might get troubled by invalid HTML codes.

    #733662

    gialuan
    Member

    I want to use code of mhchem package or chemfig package or any package I want in Latex when I edit on WordPress so the result I will receive is the same as I use latex compile. What should I do?
    For example:
    I want to use code \ce{H2O}

    #733663

    wpgaurav
    Member

    You can’t use any extra packages. LaTeX on WP is limited in functionality and support amssymb, amsfonts and amsmath packages only. By the way, to write simple chemical formulae you can use ‘\mathrm’ tag. e.g. \mathrm{H_2O} produces the molecular structure of Water.

The topic ‘Latex support works only inconsistently’ is closed to new replies.