Why are MathJax images not displaying on my webpage?

Click For Summary
SUMMARY

The forum discussion centers on issues related to the implementation of MathJax for rendering LaTeX on a webpage. Users report that LaTeX images are not displaying correctly, with some experiencing rendering bugs in Firefox 4.0 and issues with the align environments. The transition from image-based LaTeX to MathJax is intended to reduce server load, but users express dissatisfaction with the visual quality and functionality of the new system. MathJax version 1.1 is currently in use, and users are encouraged to provide feedback for further improvements.

PREREQUISITES
  • Understanding of LaTeX syntax and commands
  • Familiarity with MathJax version 1.1
  • Basic knowledge of web development and browser compatibility issues
  • Experience with troubleshooting rendering issues in web applications
NEXT STEPS
  • Research MathJax configuration options for improved rendering
  • Explore browser compatibility issues with MathJax and LaTeX rendering
  • Learn about optimizing server load when using LaTeX on webpages
  • Investigate alternative LaTeX rendering solutions, such as KaTeX
USEFUL FOR

Web developers, educators, and content creators who utilize LaTeX for mathematical expressions on websites, particularly those facing rendering issues with MathJax.

  • #331
Why is my latex code not processed?
\frac{i \hbar t}{m}[\itex]<br /> \frac{i\hbart}{m}[\itex]&lt;br /&gt; \frac{i\hbar t}{m}[\itex]
 
Physics news on Phys.org
  • #332
Juqon said:
Why is my latex code not processed?
Your closing itex tags are wrong. Use /, not \.
 
  • #333
Oh, of course, thank you! :)
 
  • #335
Juqon said:
As a start, you need to put some spaces in with that code. After 50 consecutive characters without a space, the processor will automatically insert a space.

By the way, you don't need the {} brackets when they surround a single character, i.e. t^{2} can be simply replaced with t^2. That will give you fewer brackets, and be easier to debug in case the numbers of {'s and }'s don't match.
 
  • #337
Juqon said:
What the other two guys said. As an alternative to multiple tex tags, use the align environment. That will make the \\ code work. Like this: \begin{align}
a &= b\\
&=c
\end{align} Tex tags are actually not necessary when the latex code starts with a begin statement, and ends with the corresponding end statement.

Also, please don't post equations with lines that are that long. They are seriously annoying in a browser window. So please insert a few extra \\ to make the lines shorter.
 
  • #338
Absolutely right, and the space broke the command \r ight.
And that with the new line separation was very motivating.
Very helpful, thanks!
 
  • #339
Hello!
I am writing because I do not know how to write the following formula in MathJax

I have read this entire thread and information about extracurricular parentheses, but in this case it's not that simple.

Did you have problems with habits relating to of the old system?

What about tables? It is not possible to create them?

\small\overbrace{a,...,a}^{\mbox{k a&#039;s}}, \underbrace{b,...,b}_{\mbox{l b&#039;s}}\hspace{10} \large\underbrace{\overbrace{a...a}^{\mbox{k a&#039;s}}, \overbrace{b...b}^{\mbox{l b&#039;s}}}_{\mbox{k+l elements}}

\small\overbrace{a,...,a}^{\mbox{k a&#039;s}}, \underbrace{b,...,b}_{\mbox{l b&#039;s}}\hspace{10pt} \large\underbrace{\overbrace{a...a}^{\mbox{k a&#039;s}}, \overbrace{b...b}^{\mbox{l b&#039;s}}}_{\mbox{k+l elements}}


\left[ \frac{X}{Y}\right ]

On mathtex that gives
be8xnl.png
 
Last edited:
  • #340
paul-g said:
I am writing because I do not know how to write the following formula in MathJax
You can't open with "tex" and close with "itex" or vice versa. You need to specify a unit for the hspace command. Note sure about the tables.

\small\overbrace{a,...,a}^{\mbox{k a&#039;s}}, \underbrace{b,...,b}_{\mbox{l b&#039;s}}\hspace{10pt} \large\underbrace{\overbrace{a...a}^{\mbox{k a&#039;s}}, \overbrace{b...b}^{\mbox{l b&#039;s}}}_{\mbox{k+l elements}}
\left[ \frac{X}{Y}\right ]
 
  • #341
The fact that I forgot to define the / hspace number of the unit, but it worked for MathTex.

Thank you anyway.

I will experiment a bit with the tables.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 15 ·
Replies
15
Views
25K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
5K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 3 ·
Replies
3
Views
13K