-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmathjax-config.js
More file actions
58 lines (58 loc) · 1.64 KB
/
mathjax-config.js
File metadata and controls
58 lines (58 loc) · 1.64 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
window.MathJax = {
loader: {
load: ['[tex]/ams', '[tex]/bbm', '[tex]/bboldx', '[tex]/mathtools']
},
tex: {
packages: {
'[+]': ['ams', 'bbm', 'bboldx', 'mathtools']
},
inlineMath: [['\\(', '\\)']],
displayMath: [['\\[', '\\]']],
processEscapes: true,
processRefs: true,
processEnvironments: true,
macros: {
E: "{\\mathbbm{E}}",
V: "{\\mathbbm{V}}",
Pr: "{\\mathbbm{P}}",
I: "{\\mathbbm{I}}",
R: "{\\mathbbm{R}}",
Pf: "{\\mathsf{P}}",
M: "{\\mathsf{M}}",
Pm: "{\\mathcal{P}}",
D: "{\\mathcal{D}}",
F: "{\\mathcal{F}}",
C: "{\\mathcal{C}}",
G: "{\\mathcal{G}}",
X: "{\\mathcal{X}}",
Z: "{\\mathcal{Z}}",
A: "{\\mathcal{A}}",
Ob: "{\\mathbf{O}}",
Lb: "{\\mathbf{L}}",
Ab: "{\\mathbf{A}}",
Yb: "{\\mathbf{Y}}",
Hold: "{\\mathcal{H}}",
lik: "{\\mathcal{L}}",
logit: "{\\operatorname{logit}}",
expit: "{\\operatorname{expit}}",
argmin: "{\\operatorname*{arg\\,min}}",
argmax: "{\\operatorname*{arg\\,max}}",
indep: "{\\perp\\!\\!\\!\\perp}",
notindep: "{\\centernot{\\perp\\!\\!\\!\\perp}}",
coloneqq: "{\\mathrel{\\vcenter{:}}=}",
iid: "{\\,\\, \\mathbin{\\overset{\\text{iid}}{\\sim}} \\,\\,}",
asto: "{\\mathbin{\\underset{a.s.}{\\to}}}",
pto: "{\\mathbin{\\underset{p}{\\to}}}",
dto: "{\\mathbin{\\underset{d}{\\to}}}"
}
},
chtml: {
font: 'mathjax-modern'
},
startup: {
ready: () => {
console.log('MathJax is loaded and ready with font: mathjax-asana (Asana Math)');
MathJax.startup.defaultReady();
}
}
};