File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
_posts/plotly_js/fundamentals/latex Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
var trace1 = {
11
11
x: [1, 2, 3, 4],
12
12
y: [1, 4, 9, 16],
13
- name: '$\alpha_{1c} = 352 \pm 11 \text{ km s}^{-1}$',
13
+ name: '$\\ alpha_{1c} = 352 \\ pm 11 \ \text{ km s}^{-1}$',
14
14
type: 'scatter'
15
15
};
16
16
var trace2 = {
17
17
x: [1, 2, 3, 4],
18
18
y: [0.5, 2, 4.5, 8],
19
- name: '$\beta_{1c} = 25 \pm 11 \text{ km s}^{-1}$',
19
+ name: '$\\ beta_{1c} = 25 \\ pm 11 \ \text{ km s}^{-1}$',
20
20
type: 'scatter'
21
21
};
22
22
var data = [trace1, trace2];
23
23
var layout = {
24
24
xaxis: {
25
25
title: {
26
- text: '$\sqrt{(n_\text{c}(t|{T_\text{early}}))}$'
26
+ text: '$\\ sqrt{(n_\\ text{c}(t|{T_\ \text{early}}))}$'
27
27
}
28
28
},
29
29
yaxis: {
30
30
title: {
31
- text: '$d, r \text{ (solar radius)}$'
31
+ text: '$d, r \\ text{ (solar radius)}$'
32
32
}
33
33
}
34
34
};
You can’t perform that action at this time.
0 commit comments