LaTeX LaTeX is not working for this code when I Preview

  • Thread starter Thread starter bugatti79
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

The discussion centers on issues with LaTeX rendering in forum previews, specifically when using MathJax. Users report that the preview function does not automatically trigger the MathJax rendering engine, leading to non-rendered LaTeX code. A common solution is to refresh the page while in preview mode to activate the rendering engine. Additionally, users recommend previewing posts as replies to existing threads to ensure proper rendering before creating a new thread.

PREREQUISITES
  • Understanding of LaTeX syntax and commands
  • Familiarity with MathJax rendering engine
  • Knowledge of forum posting and preview functionalities
  • Basic troubleshooting skills for web applications
NEXT STEPS
  • Research how to effectively use MathJax with LaTeX in web applications
  • Learn about common issues and solutions related to LaTeX rendering in forums
  • Explore best practices for previewing posts in online discussion platforms
  • Investigate alternative LaTeX rendering tools and their integration with forums
USEFUL FOR

This discussion is beneficial for forum users, web developers, and educators who utilize LaTeX for mathematical expressions and need to troubleshoot rendering issues in online platforms.

bugatti79
Messages
786
Reaction score
4
Not sure how to rectify this. Any ideas?

It looks correct via the codecogs website (https://latex.codecogs.com/eqneditor/editor.php)

\begin{align}
(S \circ R)^{-1} & = \left\{ \left< z, x \right> : \left< z, x \right> \in S \circ R \right\} \\
& = \left\{ \left< z, x \right> : \exists y \in Y s.t. \left< y, z \right> \in S, \left< x, y \right> \in R \right\} \\
&= \left\{ \left< z, x \right> : \exists y \in Y s.t. \left< z, y \right> \in S^{-1}, \left< y, x \right> \in R^{-1} \right\} \\
&= S^{-1} \circ R^{-1}
\end{align}
 
Physics news on Phys.org
1678361408364.png


Looks correct here too. What are your symptoms ?

$$
\begin{align}
(S \circ R)^{-1} & = \left\{ \left< z, x \right> : \left< z, x \right> \in S \circ R \right\} \\
& = \left\{ \left< z, x \right> : \exists y \in Y s.t. \left< y, z \right> \in S, \left< x, y \right> \in R \right\} \\
&= \left\{ \left< z, x \right> : \exists y \in Y s.t. \left< z, y \right> \in S^{-1}, \left< y, x \right> \in R^{-1} \right\} \\
&= S^{-1} \circ R^{-1}
\end{align}$$
 
BvU said:
View attachment 323388

Looks correct here too. What are your symptoms ?

$$
\begin{align}
(S \circ R)^{-1} & = \left\{ \left< z, x \right> : \left< z, x \right> \in S \circ R \right\} \\
& = \left\{ \left< z, x \right> : \exists y \in Y s.t. \left< y, z \right> \in S, \left< x, y \right> \in R \right\} \\
&= \left\{ \left< z, x \right> : \exists y \in Y s.t. \left< z, y \right> \in S^{-1}, \left< y, x \right> \in R^{-1} \right\} \\
&= S^{-1} \circ R^{-1}
\end{align}$$
It does not render when I use the preview button. I have read a few threads on this. Seems to be a common problem unfortunately.
 
There is a known issue with preview: the rendering engine has to be started up first. So if that hasn't been done nothing is processed. A refresh usually does the trick, but be careful to have a spare copy at hand if you did a lot of CTRL-Z to pinpoint the problem.

##\ ##
 
  • Like
Likes Greg Bernhardt and bugatti79
I think you have to refresh while in preview for the page to notice there's LaTeX and fire up the MathJax extension. It doesn't work in the new thread preview, so my advice there is to preview your post as a reply to another thread (there's a delete option in the menu at the bottom left of your post if you post by accident), then paste into your new thread when you're happy.
 
Last edited:
  • Like
Likes Greg Bernhardt

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K