LaTeX LaTex expressions running over following text

AI Thread Summary
Users are experiencing issues with LaTeX expressions overlapping text in Firefox, particularly when using the itex tag. This problem has emerged recently and does not affect all LaTeX expressions. Some users suggest that font size settings and browser configurations may contribute to the issue, although others report that changing font settings does not resolve it. The Math Renderer settings in Firefox can also impact how LaTeX is displayed; switching to HTML-CSS or SVG renderers seems to alleviate the problem for some users. The issue appears to be specific to Firefox, as LaTeX displays correctly in other browsers like Chrome and Opera. Users are encouraged to check their font settings and experiment with different Math Renderer options to find a solution.
Stephen Tashi
Science Advisor
Homework Helper
Education Advisor
Messages
7,864
Reaction score
1,602
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.)
 
Physics news on Phys.org
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?
 
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?)
 
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.
 
Fredrik said:
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.

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.
 
Yes, that one is checked in my Firefox.
 
Looks fine in Chrome.
 
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.
 
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.)
 
  • #10
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.
 

Attachments

  • Screenshot.jpg
    Screenshot.jpg
    10.6 KB · Views: 350
  • #11
Jimmy said:
Right-click an expression > Math Settings > Math Renderer

Try HTML-CSS and see if the problem persists. SVG seems to work as well.

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?
 
  • #12
Stephen Tashi said:
Thank's for that advice. It setting was to HTML-CSS. When I try the SVG renderer, it displays the LaTex correctly.
You're welcome.

Stephen Tashi said:
By the way, what am I doing when I pick a math renderer? Am I selecting a software package on my local machine?
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/
 
Last edited by a moderator:

Similar threads

Replies
8
Views
2K
Replies
3
Views
4K
Replies
20
Views
3K
Replies
4
Views
4K
Replies
5
Views
6K
Replies
32
Views
8K
Replies
3
Views
2K
Replies
4
Views
4K
Back
Top