问题
I want to number the LaTeX equation, I searched internet that I shall use
%%javascript
MathJax.Hub.Config({
TeX:{equationNumbers:{autoNumber:'all'}}
});
I tested with an equation also with \eqref{}
:
In equation $\eqref{eq:sample}$, we find the value of an interesting integral:
\begin{equation}
\int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15}
\label{eq:sample}{\tag{99}}
\end{equation}
The output in JupyterLab is
So far everything looks alright, however I start any another cell, use \eqref{eq:sample}
or \ref{eq:sample}
again.
In equation $\eqref{eq:sample}$, we find the value of an interesting integral:
it turns out to be a bunch of question marks.
So I tested in Jupyter Notebook as well, as long as I call the reference from another cell, MathJax failed to link the reference.
How can I solve the problem? Any suggestions?
来源:https://stackoverflow.com/questions/61442253/mathjax-auto-equation-numbering-does-not-work-in-jupyter-properly