Need help? Check out our Support site, then


how to add a inline latex symbol

  1. I wrote

    hello,$latex \LaTeX$

    but it displayed like this

    hello,
    LaTeX

    this my test page: http://misssprite.wordpress.com/2010/07/28/hello-latex/
    thanks a lot

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

  2. Did you use the Visual editor or the HTML editor?

  3. @raincoaster

    I used Visual editor. Does it matter?
    i tried editing the html code later

    now this my code:
    <p style="text-align:left;">hello, strong $latex \LaTeX$</p>
    hello, $latex \LaTeX$

    but they looks the same. You can see it in the link above.

  4. Yes, of course it matters whether you post it in the Visual or HTML editor.

    The Latex, because it is a different kind of code than the regular text, will ALWAYS display on a separate line, unless you get fancy with some HTML. You can see that in the instructions here:

    http://en.support.wordpress.com/latex/

    You may want to put "Hello" inside the Latex tags

  5. so, what do you mean by "get fancy with some HTML"?
    excuse me for my poor english

    i've read the instructions, but it doesn't help
    It doesn't mention the inline question. Indeed, they makes \LaTeX
    inline, but I don't know how they make it.

    Obviously, it's not the very thing i want to put "Hello" inside
    the Latex tags. Everything in the tag with be parsed and
    transformed to a picture.

    A sample displaying latex symbols inline will be rather appreciated.

  6. When I say "get fancy with some HTML" I mean you could code a solution by, for example, making a table and putting "Hello" in one cell and the latex code in the next one, etc.

  7. Oh,I see

    I found why my page displays \LaTeX in a seperate line while http://en.support.wordpress.com/latex/ displays it inline:

    In my page's css, there is a attribute for img element---display:block
    it's defined in this css:
    http://s1.wp.com/wp-content/themes/pub/p2/style.css?m=1280155519g
    when I remove it in opera's dragonfly, it become inline

    So I changed my blog theme, and now the symbols display inline
    Thank u very much!

    -----------------------------------------------------
    style.css?m=1280155519g
    #main p img {
    vertical-align: top;
    padding-top: 2px;
    padding-right: 2px;
    padding-bottom: 2px;
    padding-left: 2px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    display: block;
    }

  8. Smart! Congrats on figuring it out!

  9. Hi,

    Please how to install latex in wordpress

  10. Please see here > Posting source code > http://en.support.wordpress.com/code/posting-source-code/

Topic Closed

This topic has been closed to new replies.

About this Topic