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
SUMMARY

This discussion addresses issues with LaTeX rendering and the preview feature on the Physics Forums. Users reported that the expected delimiters for LaTeX, such as hash tags (##) and dollar symbols ($$), do not display correctly in the preview, although they appear fine once posted. A known bug affects the preview functionality, leading to frustration when refreshing the page. The recommended workaround involves initially writing simple LaTeX to load the MathJax resource, which enables proper rendering in the preview.

PREREQUISITES
  • Understanding of LaTeX syntax for mathematical expressions
  • Familiarity with the Physics Forums platform
  • Basic knowledge of web page refresh behavior and its impact on dynamic content
  • Awareness of MathJax as a rendering engine for LaTeX
NEXT STEPS
  • Research the latest updates on MathJax and its integration with forums
  • Explore troubleshooting techniques for LaTeX rendering issues in online platforms
  • Learn about alternative LaTeX rendering options available for web forums
  • Investigate user feedback on LaTeX support in various online discussion platforms
USEFUL FOR

This discussion is beneficial for forum users, educators, and students who utilize LaTeX for mathematical expressions and seek to understand rendering issues on online platforms.

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