Unable to display LaTeX

  • Thread starter Thread starter Brian_D
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
11 replies · 2K views
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.
 
on Phys.org
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. :-)
 
Reply
  • Like
Likes   Reactions: 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.
 
Reply
  • Like
Likes   Reactions: berkeman
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.
 
Reply
  • Like
Likes   Reactions: berkeman
@Greg Bernhardt , @berkeman

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

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

But I removed the list tags after they didn't work and replaced them with empty lines.
 
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.