forked from mattblackwell/gov2002-book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
macros.jax
49 lines (49 loc) · 1.3 KB
/
macros.jax
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
<script>
window.MathJax = {
tex: {
macros: {
RR: "{\\bf R}",
bs: ["\\boldsymbol{#1}", 1],
mb: ["\\mathbf{#1}", 1],
E: "\\mathbb{E}",
V: "\\mathbb{V}",
P: "\\mathbb{P}",
var: "\\text{var}",
cov: "\\text{cov}",
N: "\\mathcal{N}",
Bern: "\\text{Bern}",
Bin: "\\text{Bin}",
Pois: "\\text{Pois}",
Unif: "\\text{Unif}",
se: "\\textsf{se}",
U: "\\mb{U}",
Xbar: "\\overline{X}",
Ybar: "\\overline{Y}",
real: "\\mathbb{R}",
bbL: "\\mathbb{L}",
u: "\\mb{u}",
v: "\\mb{v}",
M: "\\mb{M}",
X: "\\mb{X}",
Xmat: "\\mathbb{X}",
bfx: "\\mb{x}",
y: "\\mb{y}",
bfbeta: "\\bs{\\beta}",
e: "\\bs{\\epsilon}",
bhat: "\\widehat{\\bs{\\beta}}",
XX: "\\Xmat'\\Xmat",
XXinv: "\\left(\\Xmat'\\Xmat\\right)^{-1}",
hatsig: "\\widehat{\\sigma}^2",
red: ["\\textcolor{red!60}{#1}", 1],
indianred: ["\\textcolor{indianred}{#1}", 1],
blue: ["\\textcolor{blue!60}{#1}", 1],
dblue: ["\\textcolor{dodgerblue}{#1}", 1],
indep: "\\perp\\!\\!\\!\\perp",
inprob: "\\overset{p}{\\to}",
indist: "\\overset{d}{\\to}",
argmax: ["\\operatorname\{arg\,max\}"],
argmin: ["\\operatorname\{arg\,min\}"]
}
}
};
</script>