Skip to content

Commit e0fc26b

Browse files
committed
Update mathjax.js
1 parent 184bcac commit e0fc26b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

js/mathjax.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
window.MathJax = {
2-
loader: {
3-
load: ['input/tex', 'output/chtml']
4-
},
2+
loader: { load: ['[tex]/textmacros'] },
53
tex: {
64
packages: { '[+]': ['noerrors', 'ams', 'textmacros'] },
75
macros: {
@@ -26,14 +24,14 @@ window.MathJax = {
2624
sig: ["\\left( #1, #2, #3 \\right)", 3],
2725
inr: ["\\left( #1, #2 \\right)", 2],
2826
proj: ["\\text{proj}_{#1}", 1],
27+
textipa: ['\\class{ipa}{#1}', 1]
2928
},
3029
inlineMath: [['$', '$'], ['\\(', '\\)']],
3130
displayMath: [['$$', '$$'], ['\\[', '\\]']],
32-
textipa: ['{\\fontfamily{tipa}\\selectfont #1}', 1]
3331
},
3432
svg: {
3533
fontCache: 'global'
3634
},
37-
cthml: {
35+
chtml: {
3836
},
3937
};

0 commit comments

Comments
 (0)