Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LaTex expressions running over following text

  1. Mar 19, 2012 #1

    Stephen Tashi

    User Avatar
    Science Advisor

    In the past few weeks, I have occasional trouble with my latex expressions (using the itex tag) running over the text that follows them. I also see this in some posts by others. Is there a good way to avoid this? Is it a browser specific problem? ( Mozilla and Firefox are mine.)
     
  2. jcsd
  3. Mar 19, 2012 #2

    Fredrik

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    I'm using Firefox too, but I haven't seen that problem. Can you link to a post that looks messed up in your browser?
     
  4. Mar 19, 2012 #3

    Stephen Tashi

    User Avatar
    Science Advisor

    An example would be posts in this thread: https://www.physicsforums.com/showthread.php?t=588426

    I wonder if it only happens at certain font sizes. My font size is set so the full length of the page doesn't appear at one time. (I don't know how to report the numerical font setting. Is it in one of the configuration menus?)
     
  5. Mar 19, 2012 #4

    Fredrik

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    OK, that thread looks fine in my browser. The font size settings in Firefox are on the Content tab in the Options window. But I doubt that this setting matters. Mine is set to Times New Roman, size 16, but what I see at Physics Forums isn't Times New Roman, and probably not size 16. Do you have a non-standard dpi setting for your screen? I noticed many years ago that this will mess up many web pages.
     
  6. Mar 19, 2012 #5

    dlgoff

    User Avatar
    Science Advisor
    Gold Member

    Firefox for me also. Is your Advanced Font option "Allow pages to choose their own fonts, instead of my selections above" checked? That may be what Stephen needs to select.
     
  7. Mar 19, 2012 #6

    Fredrik

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Yes, that one is checked in my Firefox.
     
  8. Mar 19, 2012 #7

    Doc Al

    User Avatar

    Staff: Mentor

    Looks fine in Chrome.
     
  9. Mar 19, 2012 #8
    Using Firefox 11. It looks fine until I zoom the text to a pretty large size: (Ctrl + / Ctrl Mousewheel)

    That's with the Math Renderer set to MathML. Set to HTML-CSS, there is no problem.

    Right-click an expression > Math Settings > Math Renderer

    Try HTML-CSS and see if the problem persists. SVG seems to work as well.
     
  10. Mar 19, 2012 #9

    Stephen Tashi

    User Avatar
    Science Advisor

    I have the option to allow pages to use their own fonts checked.

    I'm using Firefox in Linux, Fedora Core 12, not Windows.

    This problem only appeared within the past few weeks and it does not happen with every LaTex expression.

    If I can figure out how to attach a screenshot to this post, I'll show an example.
    (Either I failed to attach it 3 times or there will be 3 attachments of the same eaxmple.)
     
  11. Mar 20, 2012 #10

    Stephen Tashi

    User Avatar
    Science Advisor

    OK, I found the posts that say the "load from file" feature of the image attachment interface doesn't work. So I uploaded the image to an image server.

    The LaTex looks fine in Opera. It's Firefox that has the problem.
     

    Attached Files:

  12. Mar 20, 2012 #11

    Stephen Tashi

    User Avatar
    Science Advisor

    Thank's for that advice. It setting was to HTML-CSS. When I try the SVG renderer, it displays the LaTex correctly.

    By the way, what am I doing when I pick a math renderer? Am I selecting a software package on my local machine?
     
  13. Mar 20, 2012 #12
    You're welcome.

    It's all done server-side. Setting a renderer results in the expressions being served in a particular format. Firefox
    natively supports MathML and SVG so nothing extra is needed.

    http://www.mathjax.org/help/menu/ [Broken]
     
    Last edited by a moderator: May 5, 2017
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: LaTex expressions running over following text
  1. Invisible Text (Replies: 20)

  2. LaTeX incomplete (Replies: 2)

  3. Latex broken? (Replies: 2)

  4. Response to Following? (Replies: 19)

Loading...