LaTeX wrong on several websites

  • Context: LaTeX 
  • Thread starter Thread starter Omega0
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around issues with LaTeX rendering on various websites, particularly physicsforums.com. Participants express frustration over the incorrect display of LaTeX content, seeking to understand whether the problem lies with their usage or the platform's handling of LaTeX commands. The conversation includes technical aspects of LaTeX implementation and user experiences across different devices and browsers.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants report that LaTeX content is not displaying correctly on physicsforums.com, questioning if they are at fault.
  • It is noted that the forum uses MathJax, which may limit the LaTeX commands available for use.
  • One participant suggests checking the LaTeX Guide available in the edit window for troubleshooting.
  • Concerns are raised about the preview function having issues, particularly when posts contain quotations, which may affect how LaTeX is rendered.
  • Participants discuss the possibility that symbols may not have been entered as LaTeX commands, leading to incorrect rendering.
  • There are mentions of browser cache issues potentially affecting the display of LaTeX content.
  • Some participants share specific LaTeX examples to illustrate their points, while others inquire about how to display LaTeX source code instead of rendered output.

Areas of Agreement / Disagreement

Participants express a mix of frustration and confusion regarding LaTeX rendering issues, with no clear consensus on the root cause. Some believe the problem lies with user input, while others suggest it may be a platform issue. The discussion remains unresolved with multiple competing views on the matter.

Contextual Notes

Limitations include potential misunderstandings of LaTeX commands, issues with browser cache, and the possibility that copied text may not retain proper LaTeX formatting.

Omega0
Messages
215
Reaction score
52
I am pretty disappointed that several websites like physicsforums.com do partly not show correct LaTeX content. So please let me know if I am doing something wrong. My standard is Windows 10 with Chrome. Same problem for Edge. For so many years I hadn't a problem but now that appears.
 
Physics news on Phys.org
Omega0 said:
I am pretty disappointed that several websites like physicsforums.com do partly not show correct LaTeX content. So please let me know if I am doing something wrong. My standard is Windows 10 with Chrome. Same problem for Edge. For so many years I hadn't a problem but now that appears.
Firstly, we use MathJax. But this means only that we cannot use all LaTeX commands. Secondly, do you have an example of what does not work?
 
Omega0 said:
So please let me know if I am doing something wrong.

Have you checked the LaTeX Guide at the bottom left of the Edit window? Maybe you can see what the issue is by looking through that Guide?

1627599836516.png
 
fresh_42 said:
Firstly, we use MathJax. But this means only that we cannot use all LaTeX commands. Secondly, do you have an example of what does not work?
Sure, here the example for physicsforums.org:

latexbug2.jpg
latexbug2.jpg


As you can see it switches between different fonts and even messes up the information ##\pi/2## somehow... that is brutal, simply unusable.
I am not using "all LaTeX commands", just a few. This horrible result is the same for any of my computers, even for my Android tablet.
 
Omega0 said:
%%\pi/2%%
What are the % things?
 
berkeman said:
What are the % things?
sorry, ##\pi## inline LaTeX.
 
berkeman said:
What are the % things?
##\frac{1}{2}## let us see... $$\frac{2}{3}$$ next LaTeX test
 
Omega0 said:
Sure, here the example for physicsforums.org:

View attachment 286850View attachment 286851

As you can see it switches between different fonts and even messes up the information ##\pi/2## somehow... that is brutal, simply unusable.
I am not using "all LaTeX commands", just a few. This horrible result is the same for any of my computers, even for my Android tablet.
I meant a testable example. A screenshot isn't helpful.

I know that the preview function has some problems in case the post contains a quotation. Your screenshot looks as if the symbols have been inserted via the table of symbols and not as TeX commands. And I also know, that after an edit, the commands aren't interpreted again unless one updates the page.
 
  • Like
Likes   Reactions: Omega0
fresh_42 said:
I meant a testable example. A screenshot isn't helpful.

I know that the preview function has some problems in case the post contains a quotation. Your screenshot looks as if the symbols have been inserted via the table of symbols and not as TeX commands. And I also know, that after an edit, the commands aren't interpreted again unless one updates the page.
Here my link: https://www.physicsforums.com/threads/distribution-of-particles-given-a-function.1004530/

For me the LaTeX looks like in my screenshot. If it looks for you different, let me know. Actually I am playing with cleaning my browser cache but nothing seems to work so far. Test: ##0\leq\phi\leq\pi/2## etc. Test: $$\theta(a)=\frac{\phi}{\pi} \sin(a)$$

As if I would need to "reininstall my browser LaTeX"
 
  • #10
Omega0 said:
Here my link: https://www.physicsforums.com/threads/distribution-of-particles-given-a-function.1004530/

For me the LaTeX looks like in my screenshot. If it looks for you different, let me know. Actually I am playing with cleaning my browser cache but nothing seems to work so far. Test: ##0\leq\phi\leq\pi/2## etc. Test: $$\theta(a)=\frac{\phi}{\pi} \sin(a)$$

As if I would need to "reininstall my browser LaTeX"
I looked at it with my "edit" power to check the source and all those symbols haven't had LaTeX tags, hence it cannot be interpreted as LaTeX.
 
  • Like
Likes   Reactions: Vanadium 50
  • #11
fresh_42 said:
I looked at it with my "edit" power to check the source and all those symbols haven't had LaTeX tags, hence it cannot be interpreted as LaTeX.
You can use the "Reply" link to also see the source characters. They look okay to me I think...

1627603660603.png
 

Attachments

  • 1627603627429.png
    1627603627429.png
    7.2 KB · Views: 195
  • #12
fresh_42 said:
I looked at it with my "edit" power to check the source and all those symbols haven't had LaTeX tags, hence it cannot be interpreted as LaTeX.
Have you any idea how it comes that my LaTex input isn't interpreted as LaTeX? I mean it is not my fault or is it?
 
  • #13
berkeman said:
You can use the "Reply" link to also see the source characters. They look okay to me I think...
Edit is far better! I can cancel "edit" but I cannot cancel "reply". And if I look for too long, it is in that damn cache and shows up again when I expect it the least.
 
  • #14
fresh_42 said:
Edit is far better! I can cancel "edit" but I cannot cancel "reply". And if I look for too long, it is in that damn cache and shows up again when I expect it the least.
Excellent point.
 
  • #15
Omega0 said:
Have you any idea how it comes that my LaTex input isn't interpreted as LaTeX? I mean it is not my fault or is it?
It looks as if it was your fault because it was just 0≤Θ≤2π. I used the table of symbols in this case, instead of ##0\leq \theta \leq 2\pi##

P.S.: This can happen if the text is copied from another text by Ctrl+C.
 
Last edited:
  • #16
##\frac{\pi}{2}##
fresh_42 said:
It looks as if it was your fault because it was just 0≤Θ≤2π. I used the table of symbols in this case, instead of ##0\leq \theta \leq 2\pi##

P.S.: This can happen if the text is copied from another text by Ctrl+C.
How did you do that to get the latex source to appear in your post instead of the latex render?
 
  • #17
anorlunda said:
##\frac{\pi}{2}##

How did you do that to get the latex source to appear in your post instead of the latex render?
I tried PLAIN tags, but that did not work, so I used the good old color code:
##\sqrt{2}##

Of course, I didn't type that. I marked one of the two sharps and colored it black with the color icon.
 
  • #18
fresh_42 said:
Of course, I didn't type that. I marked one of the two sharps and colored it black with the color icon.
Thanks! I would never have thought of something like that.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K