LaTeX is not working for this code when I Preview

  • Context: LaTeX 
  • Thread starter Thread starter bugatti79
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around issues with LaTeX rendering in the preview mode of a forum post. Participants share their experiences and suggestions regarding the functionality of LaTeX in the forum's preview feature.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses uncertainty about how to rectify the LaTeX rendering issue and shares their code for review.
  • Several participants confirm that the LaTeX code appears correct on their end, asking for clarification on the original poster's symptoms.
  • Another participant mentions a known issue with the preview function, suggesting that the rendering engine must be started first for LaTeX to be processed.
  • A different participant advises refreshing while in preview mode to activate the MathJax extension, noting that it does not work in the new thread preview.
  • This participant also suggests a workaround of previewing the post as a reply to another thread before creating a new thread.

Areas of Agreement / Disagreement

Participants generally agree that the LaTeX code is correct, but there is no consensus on the best method to resolve the rendering issue in preview mode. Multiple competing views on how to handle the problem remain.

Contextual Notes

There are indications of a dependency on the forum's rendering engine and potential limitations in the preview feature that may affect LaTeX processing.

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   Reactions: 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   Reactions: 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
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K