forked from anandwana001/kotlitex
-
Notifications
You must be signed in to change notification settings - Fork 2
/
dumpresult.txt
201 lines (188 loc) · 9.45 KB
/
dumpresult.txt
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
\\sum^N_{k=1}k
<span class="katex-html" aria-hidden="true">
<span class="base">
<span class="strut" style="height:3.1304490000000005em;vertical-align:-1.302113em;"></span>
<span class="mop op-limits">
<span class="vlist-t vlist-t2">
<span class="vlist-r">
<span class="vlist" style="height:1.8283360000000002em;">
<span style="top:-1.8478869999999998em;margin-left:0em;">
<span class="pstrut" style="height:3.05em;"></span>
<span class="sizing reset-size6 size3 mtight">
<span class="mord mtight">
<span class="mord mathdefault mtight" style="margin-right:0.03148em;">k</span>
<span class="mrel mtight">=</span>
<span class="mord mtight">1</span>
</span>
</span>
</span>
<span style="top:-3.0500049999999996em;">
<span class="pstrut" style="height:3.05em;"></span>
<span>
<span class="mop op-symbol large-op">∑</span>
</span>
</span>
<span style="top:-4.300005em;margin-left:0em;">
<span class="pstrut" style="height:3.05em;"></span>
<span class="sizing reset-size6 size3 mtight">
<span class="mord mathdefault mtight" style="margin-right:0.10903em;">N</span>
</span>
</span>
</span>
<span class="vlist-s"></span>
</span>
<span class="vlist-r">
<span class="vlist" style="height:1.302113em;">
<span></span>
</span>
</span>
</span>
</span>
<span class="mspace" style="margin-right:0.16666666666666666em;"></span>
<span class="mord mathdefault" style="margin-right:0.03148em;">k</span>
</span>
console.log(katex.renderToString("1,2", {displayMode:true}))
<span class="katex">
<span class="katex-mathml"><math><semantics><mrow><mn>1</mn><mo separator="true">,</mo><mn>2</mn></mrow><annotation encoding="application/x-tex">1,2</annotation></semantics></math></span>
<span class="katex-html" aria-hidden="true">
<span class="base">
<span class="strut" style="height:0.8388800000000001em;vertical-align:-0.19444em;"></span>
<span class="mord">1</span><span class="mpunct">,</span><span class="mspace" style="margin-right:0.16666666666666666em;"></span><span class="mord">2</span>
</span>
</span>
</span>
console.log(katex.renderToString("\\mathcal{X}", {displayMode:true}))
<span class="katex">
<span class="katex-mathml"><math><semantics><mrow><mi mathvariant="script">X</mi></mrow><annotation encoding="application/x-tex">\mathcal{X}</annotation></semantics></math></span>
<span class="katex-html" aria-hidden="true">
<span class="base">
<span class="strut" style="height:0.68333em;vertical-align:0em;"></span>
<span class="mord">
<span class="mord mathcal" style="margin-right:0.14643em;">X</span>
</span>
</span>
</span>
</span>
console.log(katex.renderToString("\\sqrt{3}", {displayMode:true}))
<span class="katex">
<span class="katex-mathml"><math><semantics><mrow><msqrt><mn>3</mn></msqrt></mrow><annotation encoding="application/x-tex">\sqrt{3}</annotation></semantics></math></span>
<span class="katex-html" aria-hidden="true">
<span class="base">
<span class="strut" style="height:1.04em;vertical-align:-0.08390500000000001em;"></span>
<span class="mord sqrt">
<span class="vlist-t vlist-t2">
<span class="vlist-r">
<span class="vlist" style="height:0.956095em;">
<span class="svg-align" style="top:-3em;">
<span class="pstrut" style="height:3em;"></span>
<span class="mord" style="padding-left:0.833em;">
<span class="mord">3</span>
</span>
</span>
<span style="top:-2.916095em;">
<span class="pstrut" style="height:3em;"></span>
<span class="hide-tail" style="min-width:0.853em;height:1.08em;">
<svg width='400em' height='1.08em' viewBox='0 0 400000 1080' preserveAspectRatio='xMinYMin slice'><path d='M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,
-10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,
-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,
35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,
-221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467
s-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422
s-65,47,-65,47z M834 80H400000v40H845z'/></svg>
</span>
</span>
</span>
<span class="vlist-s"></span>
</span>
<span class="vlist-r">
<span class="vlist" style="height:0.08390500000000001em;">
<span></span>
</span>
</span>
</span>
</span>
</span>
</span>
</span>
\\sqrt{3}
<span class="katex">
<span class="katex-mathml"><math><semantics><mrow><msqrt><mn>3</mn></msqrt></mrow><annotation encoding="application/x-tex">\sqrt{3}</annotation></semantics></math></span>
<span class="katex-html" aria-hidden="true">
<span class="base">
<span class="strut" style="height:1.04em;vertical-align:-0.13278em;"></span>
<span class="mord sqrt">
<span class="vlist-t vlist-t2">
<span class="vlist-r">
<span class="vlist" style="height:0.90722em;">
<span class="svg-align" style="top:-3em;">
<span class="pstrut" style="height:3em;"></span>
<span class="mord" style="padding-left:0.833em;"><span class="mord">3</span></span>
</span>
<span style="top:-2.86722em;">
<span class="pstrut" style="height:3em;"></span>
<span class="hide-tail" style="min-width:0.853em;height:1.08em;">
<svg width='400em' height='1.08em' viewBox='0 0 400000 1080' preserveAspectRatio='xMinYMin slice'><path d='M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,
-10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,
-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,
35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,
-221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467
s-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422
s-65,47,-65,47z M834 80H400000v40H845z'/>
</svg>
</span>
</span>
</span>
<span class="vlist-s"></span>
</span>
<span class="vlist-r">
<span class="vlist" style="height:0.13278em;">
<span></span>
</span>
</span>
</span>
</span>
</span>
</span>
</span>
\\frac{1}{2}
<span class="katex">
<span class="katex-mathml"><math><semantics><mrow><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">\frac{1}{2}</annotation></semantics></math></span>
<span class="katex-html" aria-hidden="true">
<span class="base">
<span class="strut" style="height:1.190108em;vertical-align:-0.345em;"></span>
<span class="mord"><span class="mopen nulldelimiter"></span>
<span class="mfrac">
<span class="vlist-t vlist-t2">
<span class="vlist-r">
<span class="vlist" style="height:0.845108em;">
<span style="top:-2.6550000000000002em;">
<span class="pstrut" style="height:3em;"></span>
<span class="sizing reset-size6 size3 mtight">
<span class="mord mtight"><span class="mord mtight">2</span></span>
</span>
</span>
<span style="top:-3.23em;">
<span class="pstrut" style="height:3em;"></span>
<span class="frac-line" style="border-bottom-width:0.04em;"></span>
</span>
<span style="top:-3.394em;">
<span class="pstrut" style="height:3em;"></span>
<span class="sizing reset-size6 size3 mtight">
<span class="mord mtight">
<span class="mord mtight">1</span>
</span>
</span>
</span>
</span>
<span class="vlist-s"></span>
</span>
<span class="vlist-r">
<span class="vlist" style="height:0.345em;">
<span></span>
</span>
</span>
</span>
</span><span class="mclose nulldelimiter"></span></span></span></span></span>
# How to create these dumps
const katex = require('./dist/katex.js')
katex.renderToString('\\sqrt{3}')