Why are MathJax images not displaying on my webpage?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
340 replies · 55K views
Messages
19,972
Reaction score
11,067
I have enabled MathJax on the site. There are no Latex images being displayed. Please post any problems. I'll leave it enabled for the next hour or so and switch back to images until we are 100% ready.
 
Physics news on Phys.org
Greg Bernhardt said:
I have enabled MathJax on the site. There are no Latex images being displayed. Please post any problems. I'll leave it enabled for the next hour or so and switch back to images until we are 100% ready.

So I wrote the LaTex code for y=x^2 and a dubious thing appeared (below). Do these essentially replace the nicely looking LaTex images and to make them we'd still have to type the LaTex code ?

[tex]y=x^2[/tex]
 
dextercioby said:
So I wrote the LaTex code for y=x^2 and a dubious thing appeared (below). Do these essentially replace the nicely looking LaTex images and to make them we'd still have to type the LaTex code ?

[tex]y=x^2[/tex]

Nothing in what you do changes :)
 
dextercioby said:
So, Greg, it's the image which changes and the lower space on the server occupied by the tinier pictures, right ?

I have no idea what you are saying :) There are no images anymore.
 
The align environments seem buggy, plus some markup in my blog posts don't render. I'm trying to troubleshoot now.
 
jhae2.718 said:
The align environments seem buggy, plus some markup in my blog posts don't render. I'm trying to troubleshoot now.

The blog needs to be reworked, there were a few extra things we needed to do to make latex work on the blogs and I haven't touched that yet, so disregard the blogs for the moment.
 
Ok.

(> 4 characters)
 
Test of align*:
[tex] \begin{align*}<br /> \nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \\<br /> \nabla \cdot \mathbf{B} &= 0 \\<br /> \nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\<br /> \nabla \times \mathbf{B} &= \mu_0\mathbf{j} + \mu_0\varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}<br /> \end{align*}[/tex]
 
Last edited:
I have four ([itex]4[/itex]) in this line of text. I "accidentally" typed ([itex]3[/itex]) the first time but saw it in preview, changed it, and the preview worked properly!
 
Can I draw a commutative diagram?
[tex] \begin{CD}<br /> A @>>> B \\<br /> @VVV @VVV \\<br /> C @>>> D <br /> \end{CD}[/tex]
Nope (didn't expect this environment to work anyways). But interestingly, I get a box containing the latex code. Hrm, how about as a matrix?
[tex] \left[<br /> \begin{matrix}<br /> A &\to& B \\<br /> \downarrow & & \downarrow \\<br /> C &\to& D<br /> \end{matrix}<br /> \right][/tex]
Successful!
 
Ooh, quick edit doesn't play nicely.

I just quick edited this post to put "[itex]\sqrt{3}[/itex]" in the post, but the latex didn't render and I just saw the raw text. But if I reload the page, it will look right.

edit: Or, eI thought reloading would. Nothing's rendering now. :(

edit2: Ah, now reload's working.
 
Greg, the align* environment should align the LaTeX by placement of &s.

Sometimes I see it rendered correctly, other times not. See attached image.
latexRenderings.png
 
Why the sudden change?

Sorry to say I really hate the new look. The images are smaller, and arew just ugly compared to the old font. Please bring back imgtex =)
 
Nebuchadnezza said:
Why the sudden change?

Sorry to say I really hate the new look. The images are smaller, and arew just ugly compared to the old font. Please bring back imgtex =)

such problems can be configured
 
Greg, during the test was the math rendered with cmr font? (Didn't look like it, but hard to tell...)
 
I'd think so, Micro.
 
Let's see if one of the truth tables from my programming blog will work here:
[tex] \centering <br /> \begin{tabular}{r | c | c |} <br /> & \textbf{True} & \textbf{False} \\ \hline <br /> \textbf{True} & True & False \\ \hline <br /> \textbf{False} & False & False \\ \hline <br /> \end{tabular}[/tex]

Edit: seems like the tabular environment is not supported...
Edit2: This is not a bug, tabular and centering are not supported in MathJax. So, no LaTeX tables. :(
 
Please don't fix what's not broken!
 
MathJax will help lower the load on the servers. Text requires less bandwidth than images.

The appearance is configurable and can be changed.
 
Again, the cosmetic aspects can be changed. Stop whining! It's just a test!