Unable to display LaTeX

  • Thread starter Thread starter Brian_D
  • Start date Start date
AI Thread Summary
The discussion centers on a technical issue with displaying LaTeX code on PhysicsForums. A user is unable to see a proper preview of their LaTeX expression and only sees the code instead. It is clarified that enclosing the LaTeX in double-$ delimiters is necessary for proper display. Additionally, a reminder is given that the imaginary unit should be represented as a lowercase 'i' rather than an uppercase 'I'. The conversation highlights the importance of formatting in LaTeX for successful rendering.
Brian_D
Gold Member
Messages
77
Reaction score
16
Homework Statement: Not applicable. I'm asking about a technical problem with the PhysicsForums software
Relevant Equations: \left(-2+2 \,\mathrm{I}\right)^{\frac{1}{3}}

\left(-2+2 \,\mathrm{I}\right)^{\frac{1}{3}}

I posted the LaTeX code for an expression in the "relevant equations" and "attempt at a solution" boxes. When I'm in the "attempt at a solution" box and I click "Preview," I do not see a preview of the expression properly displayed, only the code. After I post this message, the expression may be properly displayed, but I need to use the preview feature to clean up my code if necessary before posting. I am using an HP Envy x360 Laptop and Windows 11 Home version 24H2. Any thoughts how to fix this problem?

P.S. I mentioned this problem previously and someone said I need to refresh the page. But when I hit "refresh," it erases everything.
 
Physics news on Phys.org
Testing:
$$\left(-2+2 \,\mathrm{I}\right)^{\frac{1}{3}}$$
 
Works for me as long as I enclose the LaTeX in double-$ delimiters front and back.
 
berkeman said:
Works for me as long as I enclose the LaTeX in double-$ delimiters front and back.
Yes! I was missing the double $ delimiters. Thank you, berkeman. :-)
 
  • Like
Likes Greg Bernhardt and berkeman
Glad to help. Remember that double-$ delimiters are for stand-alone lines of LaTeX, and double-# delimiters are used with in-line LaTeX.
 
Thank you.
 
Brian_D said:
\left(-2+2 \,\mathrm{I}\right)^{\frac{1}{3}}
Minor nit -- the character that represents the imaginary unit is always written as i (lower case), not I (upper case).
 
Thank you.
 
@Greg Bernhardt , @berkeman

What happened here? LaTeX did not render in an unsorted list!

1757593847673.webp
 
  • #11
Greg Bernhardt said:
Where is "here"?

But I removed the list tags after they didn't work and replaced them with empty lines.
 
  • #12
fresh_42 said:
But I removed the list tags after they didn't work and replaced them with empty lines.
My guess is that list tags (BBCode?) don't play well with LaTeX code.
 

Similar threads

Back
Top