jfbercher / jupyter_latex_envs

(Some) LaTeX environments for Jupyter
Other
112 stars 28 forks source link

\label{} in equation does not work #60

Open moonryul opened 3 years ago

moonryul commented 3 years ago

Hi, I liked the work. Thanks for it. I followed the installation guide, all three steps. No error during installation.

I tried the following. \begin{equation} Z^{[1]} = X W^{[1]} + b^{[1]}
\label{eq:1}
\end{equation}

Refer to eq \ref{eq:1}.

\ref{eq:1} works as intended. But the equation itself is not rendered.

When I delete \label{eq:1}, as follows,

\begin{equation} Z^{[1]} = X W^{[1]} + b^{[1]}
\end{equation}

The equation is displayed.

What would cause this problem?