@pie-element/ebsr 7.0.22 → 7.0.24-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/CHANGELOG.md +0 -16
  2. package/configure/CHANGELOG.md +0 -16
  3. package/configure/lib/main.js +6 -4
  4. package/configure/lib/main.js.map +1 -1
  5. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +1972 -0
  6. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +1793 -0
  7. package/{LICENSE.md → configure/node_modules/@pie-element/multiple-choice/LICENSE.md} +0 -0
  8. package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +35 -0
  9. package/configure/node_modules/@pie-element/multiple-choice/README.md +56 -0
  10. package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
  11. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +1387 -0
  12. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +1334 -0
  13. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +104 -0
  14. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +1 -0
  15. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +198 -0
  16. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +1 -0
  17. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +599 -0
  18. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +1 -0
  19. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +18 -0
  20. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +1 -0
  21. package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +20 -0
  22. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +527 -0
  23. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +768 -0
  24. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +18 -0
  25. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +1 -0
  26. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +305 -0
  27. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +1 -0
  28. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +36 -0
  29. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +1 -0
  30. package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +15 -0
  31. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +353 -0
  32. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +277 -0
  33. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +8 -0
  34. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +52 -0
  35. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +1 -0
  36. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +7 -0
  37. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +338 -0
  38. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +274 -0
  39. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +298 -0
  40. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +1 -0
  41. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +157 -0
  42. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +1 -0
  43. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +174 -0
  44. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +1 -0
  45. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +151 -0
  46. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +1 -0
  47. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +97 -0
  48. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +1 -0
  49. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +254 -0
  50. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +1 -0
  51. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +129 -0
  52. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +1 -0
  53. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +35 -0
  54. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +1 -0
  55. package/configure/node_modules/@pie-element/multiple-choice/module/configure.js +843 -0
  56. package/{module → configure/node_modules/@pie-element/multiple-choice/module}/controller.js +17304 -17374
  57. package/configure/node_modules/@pie-element/multiple-choice/module/demo.js +77 -0
  58. package/{module → configure/node_modules/@pie-element/multiple-choice/module}/element.js +42 -171
  59. package/{module → configure/node_modules/@pie-element/multiple-choice/module}/index.html +1 -1
  60. package/{module → configure/node_modules/@pie-element/multiple-choice/module}/manifest.json +4 -4
  61. package/{module → configure/node_modules/@pie-element/multiple-choice/module}/print-demo.js +46 -46
  62. package/{module → configure/node_modules/@pie-element/multiple-choice/module}/print.html +1 -1
  63. package/{module → configure/node_modules/@pie-element/multiple-choice/module}/print.js +70 -259
  64. package/configure/node_modules/@pie-element/multiple-choice/package.json +34 -0
  65. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.json +672 -0
  66. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.md +427 -0
  67. package/configure/node_modules/@pie-lib/math-rendering/LICENSE.md +5 -0
  68. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js +30 -0
  69. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js.map +1 -0
  70. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js +316 -0
  71. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js.map +1 -0
  72. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js +23 -0
  73. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js.map +1 -0
  74. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js +123 -0
  75. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js.map +1 -0
  76. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js +103 -0
  77. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js.map +1 -0
  78. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js +275 -0
  79. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js.map +1 -0
  80. package/configure/node_modules/@pie-lib/math-rendering/package.json +19 -0
  81. package/configure/node_modules/@pie-lib/math-rendering/playground/demo.html +872 -0
  82. package/configure/node_modules/@pie-lib/math-rendering/playground/demo.js +108 -0
  83. package/configure/node_modules/@pie-lib/math-rendering/playground/main.html +156 -0
  84. package/configure/node_modules/@pie-lib/math-rendering/playground/main.js +16 -0
  85. package/configure/node_modules/@pie-lib/math-rendering/playground/webpack.config.js +29 -0
  86. package/configure/node_modules/@pie-lib/math-rendering/src/index.js +4 -0
  87. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/chtml.js +215 -0
  88. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/index.js +13 -0
  89. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/mml.js +24 -0
  90. package/configure/node_modules/@pie-lib/math-rendering/src/normalization.js +69 -0
  91. package/configure/node_modules/@pie-lib/math-rendering/src/render-math.js +234 -0
  92. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.json +937 -0
  93. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.md +602 -0
  94. package/configure/node_modules/@pie-lib/render-ui/LICENSE.md +5 -0
  95. package/configure/node_modules/@pie-lib/render-ui/README.md +33 -0
  96. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js +146 -0
  97. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js.map +1 -0
  98. package/configure/node_modules/@pie-lib/render-ui/lib/color.js +134 -0
  99. package/configure/node_modules/@pie-lib/render-ui/lib/color.js.map +1 -0
  100. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js +160 -0
  101. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js.map +1 -0
  102. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js +24 -0
  103. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js.map +1 -0
  104. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js +102 -0
  105. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js.map +1 -0
  106. package/configure/node_modules/@pie-lib/render-ui/lib/index.js +104 -0
  107. package/configure/node_modules/@pie-lib/render-ui/lib/index.js.map +1 -0
  108. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js +60 -0
  109. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js.map +1 -0
  110. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js +133 -0
  111. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js.map +1 -0
  112. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js +162 -0
  113. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js.map +1 -0
  114. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js +28 -0
  115. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js.map +1 -0
  116. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js +28 -0
  117. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js.map +1 -0
  118. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js +160 -0
  119. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js.map +1 -0
  120. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js +206 -0
  121. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js.map +1 -0
  122. package/configure/node_modules/@pie-lib/render-ui/package.json +30 -0
  123. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/index.jsx +68 -0
  124. package/configure/node_modules/@pie-lib/render-ui/src/color.js +48 -0
  125. package/configure/node_modules/@pie-lib/render-ui/src/feedback.jsx +100 -0
  126. package/configure/node_modules/@pie-lib/render-ui/src/has-text.js +14 -0
  127. package/configure/node_modules/@pie-lib/render-ui/src/html-and-math.js +40 -0
  128. package/configure/node_modules/@pie-lib/render-ui/src/index.js +27 -0
  129. package/configure/node_modules/@pie-lib/render-ui/src/input-container.jsx +41 -0
  130. package/configure/node_modules/@pie-lib/render-ui/src/preview-layout.jsx +77 -0
  131. package/configure/node_modules/@pie-lib/render-ui/src/preview-prompt.jsx +90 -0
  132. package/configure/node_modules/@pie-lib/render-ui/src/purpose.jsx +19 -0
  133. package/configure/node_modules/@pie-lib/render-ui/src/readable.jsx +19 -0
  134. package/configure/node_modules/@pie-lib/render-ui/src/response-indicators.jsx +89 -0
  135. package/configure/node_modules/@pie-lib/render-ui/src/withUndoReset.jsx +118 -0
  136. package/configure/package.json +3 -3
  137. package/configure/src/__tests__/index.test.js +4 -2
  138. package/configure/src/main.jsx +8 -3
  139. package/controller/lib/index.js +79 -3
  140. package/controller/lib/index.js.map +1 -1
  141. package/controller/src/index.js +55 -0
  142. package/package.json +3 -3
  143. package/module/configure.js +0 -472
  144. package/module/demo.js +0 -77
@@ -0,0 +1,872 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width">
7
+ <title>Testing MathJax v3 setup with MathML input</title>
8
+ <!-- <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script> -->
9
+ <!-- <script src="mj3-mml2html-beta.dist.js"></script> -->
10
+ <script src="demo.bundle.js"></script>
11
+ </head>
12
+
13
+ <body>
14
+ <h1>MathJax v3 beta: MathML input, HTML output test</h1>
15
+ <p>
16
+ <span>parallelogram example: \(\parallelogram\)</span>
17
+ <span>inline: \(\frac{1}{2}\)</span>
18
+ When
19
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
20
+ <mi>a</mi>
21
+ <mo>&#x2260;</mo>
22
+ <mn>0</mn>
23
+ </math>, there are two solutions to
24
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
25
+ <mi>a</mi>
26
+ <msup>
27
+ <mi>x</mi>
28
+ <mn>2</mn>
29
+ </msup>
30
+ <mo>+</mo>
31
+ <mi>b</mi>
32
+ <mi>x</mi>
33
+ <mo>+</mo>
34
+ <mi>c</mi>
35
+ <mo>=</mo>
36
+ <mn>0</mn>
37
+ </math>
38
+ and they are
39
+ <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
40
+ <mi>x</mi>
41
+ <mo>=</mo>
42
+ <mrow>
43
+ <mfrac>
44
+ <mrow>
45
+ <mo>&#x2212;</mo>
46
+ <mi>b</mi>
47
+ <mo>&#x00B1;</mo>
48
+ <msqrt>
49
+ <msup>
50
+ <mi>b</mi>
51
+ <mn>2</mn>
52
+ </msup>
53
+ <mo>&#x2212;</mo>
54
+ <mn>4</mn>
55
+ <mi>a</mi>
56
+ <mi>c</mi>
57
+ </msqrt>
58
+ </mrow>
59
+ <mrow>
60
+ <mn>2</mn>
61
+ <mi>a</mi>
62
+ </mrow>
63
+ </mfrac>
64
+ </mrow>
65
+ <mtext>.</mtext>
66
+ </math>
67
+ </p>
68
+
69
+ <h2>The Lorenz Equations</h2>
70
+
71
+ <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
72
+ <mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em"
73
+ displaystyle="true">
74
+ <mtr>
75
+ <mtd>
76
+ <mrow class="MJX-TeXAtom-ORD">
77
+ <mover>
78
+ <mi>x</mi>
79
+ <mo>&#x02D9;
80
+ <!-- ˙ -->
81
+ </mo>
82
+ </mover>
83
+ </mrow>
84
+ </mtd>
85
+ <mtd>
86
+ <mi></mi>
87
+ <mo>=</mo>
88
+ <mi>&#x03C3;
89
+ <!-- σ -->
90
+ </mi>
91
+ <mo stretchy="false">(</mo>
92
+ <mi>y</mi>
93
+ <mo>&#x2212;
94
+ <!-- − -->
95
+ </mo>
96
+ <mi>x</mi>
97
+ <mo stretchy="false">)</mo>
98
+ </mtd>
99
+ </mtr>
100
+ <mtr>
101
+ <mtd>
102
+ <mrow class="MJX-TeXAtom-ORD">
103
+ <mover>
104
+ <mi>y</mi>
105
+ <mo>&#x02D9;
106
+ <!-- ˙ -->
107
+ </mo>
108
+ </mover>
109
+ </mrow>
110
+ </mtd>
111
+ <mtd>
112
+ <mi></mi>
113
+ <mo>=</mo>
114
+ <mi>&#x03C1;
115
+ <!-- ρ -->
116
+ </mi>
117
+ <mi>x</mi>
118
+ <mo>&#x2212;
119
+ <!-- − -->
120
+ </mo>
121
+ <mi>y</mi>
122
+ <mo>&#x2212;
123
+ <!-- − -->
124
+ </mo>
125
+ <mi>x</mi>
126
+ <mi>z</mi>
127
+ </mtd>
128
+ </mtr>
129
+ <mtr>
130
+ <mtd>
131
+ <mrow class="MJX-TeXAtom-ORD">
132
+ <mover>
133
+ <mi>z</mi>
134
+ <mo>&#x02D9;
135
+ <!-- ˙ -->
136
+ </mo>
137
+ </mover>
138
+ </mrow>
139
+ </mtd>
140
+ <mtd>
141
+ <mi></mi>
142
+ <mo>=</mo>
143
+ <mo>&#x2212;
144
+ <!-- − -->
145
+ </mo>
146
+ <mi>&#x03B2;
147
+ <!-- β -->
148
+ </mi>
149
+ <mi>z</mi>
150
+ <mo>+</mo>
151
+ <mi>x</mi>
152
+ <mi>y</mi>
153
+ </mtd>
154
+ </mtr>
155
+ </mtable>
156
+ </math>
157
+
158
+ <h2>The Cauchy-Schwarz Inequality</h2>
159
+
160
+ <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
161
+ <msup>
162
+ <mrow>
163
+ <mo>(</mo>
164
+ <mrow>
165
+ <munderover>
166
+ <mo>&#x2211;
167
+ <!-- ∑ -->
168
+ </mo>
169
+ <mrow class="MJX-TeXAtom-ORD">
170
+ <mi>k</mi>
171
+ <mo>=</mo>
172
+ <mn>1</mn>
173
+ </mrow>
174
+ <mi>n</mi>
175
+ </munderover>
176
+ <msub>
177
+ <mi>a</mi>
178
+ <mi>k</mi>
179
+ </msub>
180
+ <msub>
181
+ <mi>b</mi>
182
+ <mi>k</mi>
183
+ </msub>
184
+ </mrow>
185
+ <mo>)</mo>
186
+ </mrow>
187
+ <mrow class="MJX-TeXAtom-ORD">
188
+ <mspace width="negativethinmathspace" />
189
+ <mspace width="negativethinmathspace" />
190
+ <mn>2</mn>
191
+ </mrow>
192
+ </msup>
193
+ <mo>&#x2264;
194
+ <!-- ≤ -->
195
+ </mo>
196
+ <mrow>
197
+ <mo>(</mo>
198
+ <mrow>
199
+ <munderover>
200
+ <mo>&#x2211;
201
+ <!-- ∑ -->
202
+ </mo>
203
+ <mrow class="MJX-TeXAtom-ORD">
204
+ <mi>k</mi>
205
+ <mo>=</mo>
206
+ <mn>1</mn>
207
+ </mrow>
208
+ <mi>n</mi>
209
+ </munderover>
210
+ <msubsup>
211
+ <mi>a</mi>
212
+ <mi>k</mi>
213
+ <mn>2</mn>
214
+ </msubsup>
215
+ </mrow>
216
+ <mo>)</mo>
217
+ </mrow>
218
+ <mrow>
219
+ <mo>(</mo>
220
+ <mrow>
221
+ <munderover>
222
+ <mo>&#x2211;
223
+ <!-- ∑ -->
224
+ </mo>
225
+ <mrow class="MJX-TeXAtom-ORD">
226
+ <mi>k</mi>
227
+ <mo>=</mo>
228
+ <mn>1</mn>
229
+ </mrow>
230
+ <mi>n</mi>
231
+ </munderover>
232
+ <msubsup>
233
+ <mi>b</mi>
234
+ <mi>k</mi>
235
+ <mn>2</mn>
236
+ </msubsup>
237
+ </mrow>
238
+ <mo>)</mo>
239
+ </mrow>
240
+ </math>
241
+ <h2>A Cross Product Formula</h2>
242
+
243
+ <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
244
+ <msub>
245
+ <mrow class="MJX-TeXAtom-ORD">
246
+ <mi mathvariant="bold">V</mi>
247
+ </mrow>
248
+ <mn>1</mn>
249
+ </msub>
250
+ <mo>&#x00D7;
251
+ <!-- × -->
252
+ </mo>
253
+ <msub>
254
+ <mrow class="MJX-TeXAtom-ORD">
255
+ <mi mathvariant="bold">V</mi>
256
+ </mrow>
257
+ <mn>2</mn>
258
+ </msub>
259
+ <mo>=</mo>
260
+ <mrow>
261
+ <mo>|</mo>
262
+ <mtable rowspacing="4pt" columnspacing="1em">
263
+ <mtr>
264
+ <mtd>
265
+ <mrow class="MJX-TeXAtom-ORD">
266
+ <mi mathvariant="bold">i</mi>
267
+ </mrow>
268
+ </mtd>
269
+ <mtd>
270
+ <mrow class="MJX-TeXAtom-ORD">
271
+ <mi mathvariant="bold">j</mi>
272
+ </mrow>
273
+ </mtd>
274
+ <mtd>
275
+ <mrow class="MJX-TeXAtom-ORD">
276
+ <mi mathvariant="bold">k</mi>
277
+ </mrow>
278
+ </mtd>
279
+ </mtr>
280
+ <mtr>
281
+ <mtd>
282
+ <mfrac>
283
+ <mrow>
284
+ <mi mathvariant="normal">&#x2202;
285
+ <!-- ∂ -->
286
+ </mi>
287
+ <mi>X</mi>
288
+ </mrow>
289
+ <mrow>
290
+ <mi mathvariant="normal">&#x2202;
291
+ <!-- ∂ -->
292
+ </mi>
293
+ <mi>u</mi>
294
+ </mrow>
295
+ </mfrac>
296
+ </mtd>
297
+ <mtd>
298
+ <mfrac>
299
+ <mrow>
300
+ <mi mathvariant="normal">&#x2202;
301
+ <!-- ∂ -->
302
+ </mi>
303
+ <mi>Y</mi>
304
+ </mrow>
305
+ <mrow>
306
+ <mi mathvariant="normal">&#x2202;
307
+ <!-- ∂ -->
308
+ </mi>
309
+ <mi>u</mi>
310
+ </mrow>
311
+ </mfrac>
312
+ </mtd>
313
+ <mtd>
314
+ <mn>0</mn>
315
+ </mtd>
316
+ </mtr>
317
+ <mtr>
318
+ <mtd>
319
+ <mfrac>
320
+ <mrow>
321
+ <mi mathvariant="normal">&#x2202;
322
+ <!-- ∂ -->
323
+ </mi>
324
+ <mi>X</mi>
325
+ </mrow>
326
+ <mrow>
327
+ <mi mathvariant="normal">&#x2202;
328
+ <!-- ∂ -->
329
+ </mi>
330
+ <mi>v</mi>
331
+ </mrow>
332
+ </mfrac>
333
+ </mtd>
334
+ <mtd>
335
+ <mfrac>
336
+ <mrow>
337
+ <mi mathvariant="normal">&#x2202;
338
+ <!-- ∂ -->
339
+ </mi>
340
+ <mi>Y</mi>
341
+ </mrow>
342
+ <mrow>
343
+ <mi mathvariant="normal">&#x2202;
344
+ <!-- ∂ -->
345
+ </mi>
346
+ <mi>v</mi>
347
+ </mrow>
348
+ </mfrac>
349
+ </mtd>
350
+ <mtd>
351
+ <mn>0</mn>
352
+ </mtd>
353
+ </mtr>
354
+ </mtable>
355
+ <mo>|</mo>
356
+ </mrow>
357
+ </math>
358
+
359
+ <h2>The probability of getting <math xmlns="http://www.w3.org/1998/Math/MathML">
360
+ <mi>k</mi>
361
+ </math> heads when flipping <math xmlns="http://www.w3.org/1998/Math/MathML">
362
+ <mi>n</mi>
363
+ </math> coins is:</h2>
364
+
365
+ <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
366
+ <mi>P</mi>
367
+ <mo stretchy="false">(</mo>
368
+ <mi>E</mi>
369
+ <mo stretchy="false">)</mo>
370
+ <mo>=</mo>
371
+ <mrow class="MJX-TeXAtom-ORD">
372
+ <mrow>
373
+ <mrow class="MJX-TeXAtom-OPEN">
374
+ <mo maxsize="2.047em" minsize="2.047em">(</mo>
375
+ </mrow>
376
+ <mfrac linethickness="0">
377
+ <mi>n</mi>
378
+ <mi>k</mi>
379
+ </mfrac>
380
+ <mrow class="MJX-TeXAtom-CLOSE">
381
+ <mo maxsize="2.047em" minsize="2.047em">)</mo>
382
+ </mrow>
383
+ </mrow>
384
+ </mrow>
385
+ <msup>
386
+ <mi>p</mi>
387
+ <mi>k</mi>
388
+ </msup>
389
+ <mo stretchy="false">(</mo>
390
+ <mn>1</mn>
391
+ <mo>&#x2212;
392
+ <!-- − -->
393
+ </mo>
394
+ <mi>p</mi>
395
+ <msup>
396
+ <mo stretchy="false">)</mo>
397
+ <mrow class="MJX-TeXAtom-ORD">
398
+ <mi>n</mi>
399
+ <mo>&#x2212;
400
+ <!-- − -->
401
+ </mo>
402
+ <mi>k</mi>
403
+ </mrow>
404
+ </msup>
405
+ </math>
406
+
407
+ <h2>An Identity of Ramanujan</h2>
408
+
409
+ <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
410
+ <mfrac>
411
+ <mn>1</mn>
412
+ <mrow>
413
+ <mo stretchy="false">(</mo>
414
+ <msqrt>
415
+ <mi>&#x03D5;
416
+ <!-- ϕ -->
417
+ </mi>
418
+ <msqrt>
419
+ <mn>5</mn>
420
+ </msqrt>
421
+ </msqrt>
422
+ <mo>&#x2212;
423
+ <!-- − -->
424
+ </mo>
425
+ <mi>&#x03D5;
426
+ <!-- ϕ -->
427
+ </mi>
428
+ <mo stretchy="false">)</mo>
429
+ <msup>
430
+ <mi>e</mi>
431
+ <mrow class="MJX-TeXAtom-ORD">
432
+ <mfrac>
433
+ <mn>2</mn>
434
+ <mn>5</mn>
435
+ </mfrac>
436
+ <mi>&#x03C0;
437
+ <!-- π -->
438
+ </mi>
439
+ </mrow>
440
+ </msup>
441
+ </mrow>
442
+ </mfrac>
443
+ <mo>=</mo>
444
+ <mn>1</mn>
445
+ <mo>+</mo>
446
+ <mfrac>
447
+ <msup>
448
+ <mi>e</mi>
449
+ <mrow class="MJX-TeXAtom-ORD">
450
+ <mo>&#x2212;
451
+ <!-- − -->
452
+ </mo>
453
+ <mn>2</mn>
454
+ <mi>&#x03C0;
455
+ <!-- π -->
456
+ </mi>
457
+ </mrow>
458
+ </msup>
459
+ <mrow>
460
+ <mn>1</mn>
461
+ <mo>+</mo>
462
+ <mfrac>
463
+ <msup>
464
+ <mi>e</mi>
465
+ <mrow class="MJX-TeXAtom-ORD">
466
+ <mo>&#x2212;
467
+ <!-- − -->
468
+ </mo>
469
+ <mn>4</mn>
470
+ <mi>&#x03C0;
471
+ <!-- π -->
472
+ </mi>
473
+ </mrow>
474
+ </msup>
475
+ <mrow>
476
+ <mn>1</mn>
477
+ <mo>+</mo>
478
+ <mfrac>
479
+ <msup>
480
+ <mi>e</mi>
481
+ <mrow class="MJX-TeXAtom-ORD">
482
+ <mo>&#x2212;
483
+ <!-- − -->
484
+ </mo>
485
+ <mn>6</mn>
486
+ <mi>&#x03C0;
487
+ <!-- π -->
488
+ </mi>
489
+ </mrow>
490
+ </msup>
491
+ <mrow>
492
+ <mn>1</mn>
493
+ <mo>+</mo>
494
+ <mfrac>
495
+ <msup>
496
+ <mi>e</mi>
497
+ <mrow class="MJX-TeXAtom-ORD">
498
+ <mo>&#x2212;
499
+ <!-- − -->
500
+ </mo>
501
+ <mn>8</mn>
502
+ <mi>&#x03C0;
503
+ <!-- π -->
504
+ </mi>
505
+ </mrow>
506
+ </msup>
507
+ <mrow>
508
+ <mn>1</mn>
509
+ <mo>+</mo>
510
+ <mo>&#x2026;
511
+ <!-- … -->
512
+ </mo>
513
+ </mrow>
514
+ </mfrac>
515
+ </mrow>
516
+ </mfrac>
517
+ </mrow>
518
+ </mfrac>
519
+ </mrow>
520
+ </mfrac>
521
+ </math>
522
+ <h2>A Rogers-Ramanujan Identity</h2>
523
+
524
+ <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
525
+ <mn>1</mn>
526
+ <mo>+</mo>
527
+ <mfrac>
528
+ <msup>
529
+ <mi>q</mi>
530
+ <mn>2</mn>
531
+ </msup>
532
+ <mrow>
533
+ <mo stretchy="false">(</mo>
534
+ <mn>1</mn>
535
+ <mo>&#x2212;
536
+ <!-- − -->
537
+ </mo>
538
+ <mi>q</mi>
539
+ <mo stretchy="false">)</mo>
540
+ </mrow>
541
+ </mfrac>
542
+ <mo>+</mo>
543
+ <mfrac>
544
+ <msup>
545
+ <mi>q</mi>
546
+ <mn>6</mn>
547
+ </msup>
548
+ <mrow>
549
+ <mo stretchy="false">(</mo>
550
+ <mn>1</mn>
551
+ <mo>&#x2212;
552
+ <!-- − -->
553
+ </mo>
554
+ <mi>q</mi>
555
+ <mo stretchy="false">)</mo>
556
+ <mo stretchy="false">(</mo>
557
+ <mn>1</mn>
558
+ <mo>&#x2212;
559
+ <!-- − -->
560
+ </mo>
561
+ <msup>
562
+ <mi>q</mi>
563
+ <mn>2</mn>
564
+ </msup>
565
+ <mo stretchy="false">)</mo>
566
+ </mrow>
567
+ </mfrac>
568
+ <mo>+</mo>
569
+ <mo>&#x22EF;
570
+ <!-- ⋯ -->
571
+ </mo>
572
+ <mo>=</mo>
573
+ <munderover>
574
+ <mo>&#x220F;
575
+ <!-- ∏ -->
576
+ </mo>
577
+ <mrow class="MJX-TeXAtom-ORD">
578
+ <mi>j</mi>
579
+ <mo>=</mo>
580
+ <mn>0</mn>
581
+ </mrow>
582
+ <mrow class="MJX-TeXAtom-ORD">
583
+ <mi mathvariant="normal">&#x221E;
584
+ <!-- ∞ -->
585
+ </mi>
586
+ </mrow>
587
+ </munderover>
588
+ <mfrac>
589
+ <mn>1</mn>
590
+ <mrow>
591
+ <mo stretchy="false">(</mo>
592
+ <mn>1</mn>
593
+ <mo>&#x2212;
594
+ <!-- − -->
595
+ </mo>
596
+ <msup>
597
+ <mi>q</mi>
598
+ <mrow class="MJX-TeXAtom-ORD">
599
+ <mn>5</mn>
600
+ <mi>j</mi>
601
+ <mo>+</mo>
602
+ <mn>2</mn>
603
+ </mrow>
604
+ </msup>
605
+ <mo stretchy="false">)</mo>
606
+ <mo stretchy="false">(</mo>
607
+ <mn>1</mn>
608
+ <mo>&#x2212;
609
+ <!-- − -->
610
+ </mo>
611
+ <msup>
612
+ <mi>q</mi>
613
+ <mrow class="MJX-TeXAtom-ORD">
614
+ <mn>5</mn>
615
+ <mi>j</mi>
616
+ <mo>+</mo>
617
+ <mn>3</mn>
618
+ </mrow>
619
+ </msup>
620
+ <mo stretchy="false">)</mo>
621
+ </mrow>
622
+ </mfrac>
623
+ <mo>,</mo>
624
+ <mspace width="1em" />
625
+ <mspace width="1em" />
626
+ <mrow>
627
+ <mtext>for&#xA0;</mtext>
628
+ <mrow class="MJX-TeXAtom-ORD">
629
+ <mrow class="MJX-TeXAtom-ORD">
630
+ <mo stretchy="false">|</mo>
631
+ </mrow>
632
+ <mi>q</mi>
633
+ <mrow class="MJX-TeXAtom-ORD">
634
+ <mo stretchy="false">|</mo>
635
+ </mrow>
636
+ <mo>&lt;</mo>
637
+ <mn>1</mn>
638
+ </mrow>
639
+ </mrow>
640
+ <mo>.</mo>
641
+ </math>
642
+ <h2>Maxwell's Equations</h2>
643
+
644
+ <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
645
+ <mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em"
646
+ displaystyle="true">
647
+ <mtr>
648
+ <mtd>
649
+ <mi mathvariant="normal">&#x2207;
650
+ <!-- ∇ -->
651
+ </mi>
652
+ <mo>&#x00D7;
653
+ <!-- × -->
654
+ </mo>
655
+ <mrow class="MJX-TeXAtom-ORD">
656
+ <mover>
657
+ <mrow class="MJX-TeXAtom-ORD">
658
+ <mi mathvariant="bold">B</mi>
659
+ </mrow>
660
+ <mo stretchy="false">&#x2192;
661
+ <!-- → -->
662
+ </mo>
663
+ </mover>
664
+ </mrow>
665
+ <mo>&#x2212;
666
+ <!-- − -->
667
+ </mo>
668
+ <mspace width="thinmathspace" />
669
+ <mfrac>
670
+ <mn>1</mn>
671
+ <mi>c</mi>
672
+ </mfrac>
673
+ <mspace width="thinmathspace" />
674
+ <mfrac>
675
+ <mrow>
676
+ <mi mathvariant="normal">&#x2202;
677
+ <!-- ∂ -->
678
+ </mi>
679
+ <mrow class="MJX-TeXAtom-ORD">
680
+ <mover>
681
+ <mrow class="MJX-TeXAtom-ORD">
682
+ <mi mathvariant="bold">E</mi>
683
+ </mrow>
684
+ <mo stretchy="false">&#x2192;
685
+ <!-- → -->
686
+ </mo>
687
+ </mover>
688
+ </mrow>
689
+ </mrow>
690
+ <mrow>
691
+ <mi mathvariant="normal">&#x2202;
692
+ <!-- ∂ -->
693
+ </mi>
694
+ <mi>t</mi>
695
+ </mrow>
696
+ </mfrac>
697
+ </mtd>
698
+ <mtd>
699
+ <mi></mi>
700
+ <mo>=</mo>
701
+ <mfrac>
702
+ <mrow>
703
+ <mn>4</mn>
704
+ <mi>&#x03C0;
705
+ <!-- π -->
706
+ </mi>
707
+ </mrow>
708
+ <mi>c</mi>
709
+ </mfrac>
710
+ <mrow class="MJX-TeXAtom-ORD">
711
+ <mover>
712
+ <mrow class="MJX-TeXAtom-ORD">
713
+ <mi mathvariant="bold">j</mi>
714
+ </mrow>
715
+ <mo stretchy="false">&#x2192;
716
+ <!-- → -->
717
+ </mo>
718
+ </mover>
719
+ </mrow>
720
+ </mtd>
721
+ </mtr>
722
+ <mtr>
723
+ <mtd>
724
+ <mi mathvariant="normal">&#x2207;
725
+ <!-- ∇ -->
726
+ </mi>
727
+ <mo>&#x22C5;
728
+ <!-- ⋅ -->
729
+ </mo>
730
+ <mrow class="MJX-TeXAtom-ORD">
731
+ <mover>
732
+ <mrow class="MJX-TeXAtom-ORD">
733
+ <mi mathvariant="bold">E</mi>
734
+ </mrow>
735
+ <mo stretchy="false">&#x2192;
736
+ <!-- → -->
737
+ </mo>
738
+ </mover>
739
+ </mrow>
740
+ </mtd>
741
+ <mtd>
742
+ <mi></mi>
743
+ <mo>=</mo>
744
+ <mn>4</mn>
745
+ <mi>&#x03C0;
746
+ <!-- π -->
747
+ </mi>
748
+ <mi>&#x03C1;
749
+ <!-- ρ -->
750
+ </mi>
751
+ </mtd>
752
+ </mtr>
753
+ <mtr>
754
+ <mtd>
755
+ <mi mathvariant="normal">&#x2207;
756
+ <!-- ∇ -->
757
+ </mi>
758
+ <mo>&#x00D7;
759
+ <!-- × -->
760
+ </mo>
761
+ <mrow class="MJX-TeXAtom-ORD">
762
+ <mover>
763
+ <mrow class="MJX-TeXAtom-ORD">
764
+ <mi mathvariant="bold">E</mi>
765
+ </mrow>
766
+ <mo stretchy="false">&#x2192;
767
+ <!-- → -->
768
+ </mo>
769
+ </mover>
770
+ </mrow>
771
+ <mspace width="thinmathspace" />
772
+ <mo>+</mo>
773
+ <mspace width="thinmathspace" />
774
+ <mfrac>
775
+ <mn>1</mn>
776
+ <mi>c</mi>
777
+ </mfrac>
778
+ <mspace width="thinmathspace" />
779
+ <mfrac>
780
+ <mrow>
781
+ <mi mathvariant="normal">&#x2202;
782
+ <!-- ∂ -->
783
+ </mi>
784
+ <mrow class="MJX-TeXAtom-ORD">
785
+ <mover>
786
+ <mrow class="MJX-TeXAtom-ORD">
787
+ <mi mathvariant="bold">B</mi>
788
+ </mrow>
789
+ <mo stretchy="false">&#x2192;
790
+ <!-- → -->
791
+ </mo>
792
+ </mover>
793
+ </mrow>
794
+ </mrow>
795
+ <mrow>
796
+ <mi mathvariant="normal">&#x2202;
797
+ <!-- ∂ -->
798
+ </mi>
799
+ <mi>t</mi>
800
+ </mrow>
801
+ </mfrac>
802
+ </mtd>
803
+ <mtd>
804
+ <mi></mi>
805
+ <mo>=</mo>
806
+ <mrow class="MJX-TeXAtom-ORD">
807
+ <mover>
808
+ <mrow class="MJX-TeXAtom-ORD">
809
+ <mn mathvariant="bold">0</mn>
810
+ </mrow>
811
+ <mo stretchy="false">&#x2192;
812
+ <!-- → -->
813
+ </mo>
814
+ </mover>
815
+ </mrow>
816
+ </mtd>
817
+ </mtr>
818
+ <mtr>
819
+ <mtd>
820
+ <mi mathvariant="normal">&#x2207;
821
+ <!-- ∇ -->
822
+ </mi>
823
+ <mo>&#x22C5;
824
+ <!-- ⋅ -->
825
+ </mo>
826
+ <mrow class="MJX-TeXAtom-ORD">
827
+ <mover>
828
+ <mrow class="MJX-TeXAtom-ORD">
829
+ <mi mathvariant="bold">B</mi>
830
+ </mrow>
831
+ <mo stretchy="false">&#x2192;
832
+ <!-- → -->
833
+ </mo>
834
+ </mover>
835
+ </mrow>
836
+ </mtd>
837
+ <mtd>
838
+ <mi></mi>
839
+ <mo>=</mo>
840
+ <mn>0</mn>
841
+ </mtd>
842
+ </mtr>
843
+ </mtable>
844
+ </math>
845
+
846
+ <h2>In-line Mathematics</h2>
847
+
848
+ <p>Finally, while display equations look good for a page of samples, the ability to mix math and text in a paragraph is
849
+ also important. This expression <math xmlns="http://www.w3.org/1998/Math/MathML">
850
+ <msqrt>
851
+ <mn>3</mn>
852
+ <mi>x</mi>
853
+ <mo>&#x2212;
854
+ <!-- − -->
855
+ </mo>
856
+ <mn>1</mn>
857
+ </msqrt>
858
+ <mo>+</mo>
859
+ <mo stretchy="false">(</mo>
860
+ <mn>1</mn>
861
+ <mo>+</mo>
862
+ <mi>x</mi>
863
+ <msup>
864
+ <mo stretchy="false">)</mo>
865
+ <mn>2</mn>
866
+ </msup>
867
+ </math> is an example of an inline equation. As you see, MathJax equations can be used this way as well, without unduly
868
+ disturbing the spacing between lines.</p>
869
+
870
+ </body>
871
+
872
+ </html>