Some help with LaTeX and Preview on this forum please

  • Context: LaTeX 
  • Thread starter Thread starter Old Person
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around issues related to using LaTeX for mathematical expressions on the Physics Forums, specifically focusing on the functionality of the preview feature and rendering of LaTeX code. Participants explore the challenges they face when attempting to preview their LaTeX before posting.

Discussion Character

  • Technical explanation, Debate/contested, Meta-discussion

Main Points Raised

  • One participant reports difficulty in getting LaTeX to display correctly in the preview, despite following the guidelines provided in the help article.
  • Another participant notes that while the preview does not show the LaTeX correctly, the posted content appears fine, raising questions about the reliability of the preview feature.
  • A suggestion is made that refreshing the page (using F5) may help resolve the issue with the LaTeX interpreter.
  • A later reply mentions an old bug that affects the preview feature and warns that refreshing the page can lead to LaTeX being rendered incorrectly, which could result in lost work.
  • A workaround is proposed involving writing simple LaTeX first to ensure the MathJax resource loads properly before composing more complex equations.

Areas of Agreement / Disagreement

Participants express uncertainty regarding the functionality of the preview feature, with some suggesting potential solutions while others highlight ongoing issues. There is no consensus on the reliability of the preview or the best approach to ensure LaTeX renders correctly.

Contextual Notes

Participants mention the possibility of the preview feature being broken and the impact of refreshing the page on LaTeX rendering, indicating limitations in the current system's handling of LaTeX.

Old Person
Messages
31
Reaction score
10
Hi.

I'm trying to get some mathematics on this forum. I've found this help article: https://www.physicsforums.com/help/latexhelp/
but.... it doesn't seem to working.

In that article the delimiters for a block of LaTeX are supposed to be hash tags or dollar symbols for example ## X^2 = 3 ## or $$ X^2 = 3 $$ and supposedly I can see the final display by clicking the preview button. Sadly, I don't - I just see the thing with the hash or dollar symbols. I've also tried x^2 = 3 since those start and end tags are used in some other forums. That didn't work either.

Any advice would be appreciated. Thank you.
 
Physics news on Phys.org
Ummm... for some reason, although it didn't work in the preview, it looks ok when posted.
is the preview feature broken? Is there no way to check the tex before posting?
 
You have to update (F5) the page sometimes to give the interpreter a kick.
 
  • Like
Likes   Reactions: Old Person
ok. Thank you. I will try that.
 
  • Like
Likes   Reactions: berkeman
Old Person said:
Ummm... for some reason, although it didn't work in the preview, it looks ok when posted.
is the preview feature broken? Is there no way to check the tex before posting?
This is an old bug. See here: https://www.physicsforums.com/threads/latex-help.1046932/post-6816969

This can seriously mess up your equations if you write numerous equations and then refresh the page. The LaTeX will be rendered as symbols, and you will be left to cry, without an option to undo.

The workaround is to first write some simple LaTeX, like some simple Greek letters, and refresh the page. This will load the MathJax resource and LaTeX will start rendering. Now you may start writing what you want, and Preview will work well.
 
  • Like
  • Informative
Likes   Reactions: Old Person, topsquark, berkeman and 1 other person

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K