I believe that essentially all information relevant to this question can be found in this long Github issue thread.
The conversation there has been ongoing for (at this moment) 3.5 6.5 8 years and is still active. Important highlights:
You can very simply turn on numbering by executing a cell with the following content:
%%javascript
MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
There is an extension for equation numbering.
Developer minrk has suggested that this extension is the right approach and could be merged into master (but the functionality would be turned off by default).
To install the extension via pip
:
pip install jupyter_contrib_nbextensions
To install the extensions via Anaconda:
conda install -c conda-forge jupyter_contrib_nbextensions
After using one of the ways to install provided above, enable the extension:
jupyter contrib nbextension install --user
jupyter nbextension enable equation-numbering/main
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…