# LaTeX in dash not functioning

I am trying to get LaTeX equations into static content.

After trying to implement this solution into my code to no avail:

I copied the code in this post exactly:

And it looks like this:

How do I get LaTeX equations to render correctly in static content, and why didn’t that code work, copied exactly?

@mromanel The code you copied is from May 2018, but as noted later in the thread, a dash update seems to have broken that solution. The most recent posts in the thread (April 2020) contain a solution that I just verified is working in Plotly pip version 4.10.0.

As noted in the linked GitHub issue, I am still hoping for a solution upstream at plotly.js, but I haven’t looked into this lately.

1 Like

oh, I was looking at the April 2020 posts but my eyes glossed over the

part.

whoops.

Also, it never even occurred to me to post in the old thread instead

#not_firing_on_all_cylinders

Aha no worries! Hopefully this solved the issue (for now)!