LaTex expressions running over following text

Click For Summary

Discussion Overview

The discussion revolves around issues with LaTeX expressions not displaying correctly in certain web browsers, particularly in Firefox. Participants explore potential causes, including browser settings, font sizes, and rendering options, without reaching a consensus on the underlying problem.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant reports issues with LaTeX expressions running over following text in Firefox and questions if it is browser-specific.
  • Another participant, also using Firefox, has not experienced the same issue and requests a link to a problematic post.
  • A participant suggests that the problem may be related to font sizes and mentions difficulty in reporting their font settings.
  • Concerns are raised about non-standard DPI settings affecting web page display.
  • One participant notes that the issue does not occur in Chrome and discusses zooming text in Firefox affecting the display.
  • Several participants mention different Math Renderer settings (MathML, HTML-CSS, SVG) and their impact on the display of LaTeX expressions.
  • A participant using Firefox on Linux reports that the problem appeared recently and is inconsistent across different LaTeX expressions.
  • Another participant clarifies that selecting a math renderer is a server-side decision and does not involve local software packages.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the cause of the LaTeX display issues, with multiple competing views and experiences shared regarding browser settings and rendering options.

Contextual Notes

Limitations include uncertainty about the impact of specific browser settings, DPI configurations, and the variability of the issue across different LaTeX expressions and browsers.

Stephen Tashi
Science Advisor
Homework Helper
Education Advisor
Messages
7,864
Reaction score
1,605
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: 370
  • #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 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
9K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 32 ·
2
Replies
32
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K