Skip to content

Commit 5aba3b8

Browse files
authored
MathJax: Support for \gdef (#4407)
Backport of jupyterlab/jupyterlab#5997
1 parent 45d9f38 commit 5aba3b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

notebook/static/notebook/js/mathjaxutils.js

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ define([
1919
processEscapes: true,
2020
processEnvironments: true
2121
},
22+
TeX: {
23+
extensions: ['newcommand.js', 'begingroup.js'] // For \gdef
24+
},
2225
MathML: {
2326
extensions: ['content-mathml.js']
2427
},

0 commit comments

Comments
 (0)