File size: 664 Bytes
a1271b8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
MathJax Equation Numbering
===========

Enable automatic equation numbering and reset numbering upon pressing toolbar button ![](button.png).


A LaTeX equation like:   
```TeX
\begin{equation}
E = F \cdot s 
\end{equation}
```

generates the numbered equation:   
![](icon.png)

Internals
---------

Equation numbering is activated this way:
```Javascript
MathJax.Hub.Config({
    TeX: { equationNumbers: { autoNumber: "AMS" } }
});
```

Equation numbers are reset and math equations rerendered using this code: 
```Javascript
MathJax.Hub.Queue(
  ["resetEquationNumbers", MathJax.InputJax.TeX],
  ["PreProcess", MathJax.Hub],
  ["Reprocess", MathJax.Hub]
);
```