3
"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
4
"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"
6
<!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
8
<html xmlns="http://www.w3.org/1999/xhtml">
10
* The contents of this file are subject to the Mozilla Public
11
* License Version 1.1 (the "License"); you may not use this file
12
* except in compliance with the License. You may obtain a copy of
13
* the License at http://www.mozilla.org/MPL/
15
* Software distributed under the License is distributed on an "AS
16
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
17
* implied. See the License for the specific language governing
18
* rights and limitations under the License.
20
* The Original Code is Mozilla MathML Project.
22
* The Initial Developer of the Original Code is The University of
23
* Queensland. Portions created by The University of Queensland are
24
* Copyright (C) 1999 The University of Queensland. All
28
* Roger B. Sidje <rbs@maths.uq.edu.au>
32
<title>Various examples of MathML</title>
35
background-color: yellow;
38
-moz-outline: 1px dotted black;
39
/* border: 1px solid black; */
41
maction[actiontype="restyle#background"] {
42
background-color: #3C6;
43
border: 1px dotted red;
45
maction[actiontype="restyle#zoom"] {
52
Click to toggle between expressions, and watch the satus line onmouseover/onmouseout:
55
<math mode="display" xmlns="&mathml;">
56
<maction actiontype="toggle">
57
<maction actiontype="statusline#First Expression">
58
<mi>statusline#First Expression</mi>
61
<maction actiontype="statusline#Second Expression">
62
<mi>statusline#Second Expression</mi>
66
<maction actiontype="statusline#And so on..">
67
<maction actiontype="restyle#background">
68
<mi>statusline#And so on...</mi>
75
Click the expression below to zoom-in/zoom-out using RESTYLE:
78
<math mode="display" xmlns="&mathml;">
79
<maction actiontype="restyle#zoom">
84
<mo>⁢</mo>
87
<mrow><mn>1</mn><mo>-</mo><mi>i</mi></mrow>
88
<mrow><mn>1</mn><mo>+</mo><mi>i</mi></mrow>
95
Click the expression below to see several definitions of pi:
98
<math mode="display" xmlns="&mathml;">
100
<maction actiontype="toggle">
105
<mn>3.14159265358</mn><mo fontweight="bold">...</mo>
112
<mo>⁢</mo>
115
<mrow><mn>1</mn><mo>-</mo><mi>i</mi></mrow>
116
<mrow><mn>1</mn><mo>+</mo><mi>i</mi></mrow>
124
<mphantom><mo>.</mo></mphantom>
131
<mphantom><mo>.</mo></mphantom>
142
<mphantom><mo>.</mo></mphantom>
157
<mo fontweight="bold">...</mo>
167
<mstyle scriptlevel="0">
170
<mstyle scriptlevel="0">
175
<mstyle scriptlevel="0">
176
<msup><mn>1</mn><mn>2</mn></msup>
178
<mstyle scriptlevel="0">
183
<mstyle scriptlevel="0">
184
<msup><mn>3</mn><mn>2</mn></msup>
186
<mstyle scriptlevel="0">
191
<mstyle scriptlevel="0">
192
<msup><mn>5</mn><mn>2</mn></msup>
194
<mstyle scriptlevel="0">
199
<mstyle scriptlevel="0">
200
<msup><mn>7</mn><mn>2</mn></msup>
202
<mstyle scriptlevel="0">
203
<mn>2</mn><mo>+</mo><mo fontweight="bold">...</mo>
225
<math xmlns="&mathml;">
226
<!-- {{} \atop i} A {p \atop q} -->
228
<mi fontweight="bold" fontsize="large">A</mi>
236
<!-- {3 \atop k} R {1 \atop i} {2 \atop j} -->
238
<mi fontweight="bold">R</mi>
240
<mi>j</mi><mn>230</mn>
241
<mi>j</mi><msup><mn>230</mn><mi>y</mi></msup>
242
<mi>j</mi><mn>230</mn>
249
<!-- \int_a^b f(x)dx -->
264
<!-- \frac{\partial}{\partial x}F(x,y) + \frac{\partial}{\partial y}F(x,y) -->
362
<!-- {\left( \frac{1}{2} \right) }^{y^{a_x}} -->
418
<!-- d^{ \left( \frac{a}{b} \right) } -->
433
<!-- \frac{d*b^{ \left( \frac{i+j}{n!} \right) } + p_y*q}
434
{p^x*b_x + \frac{a+c}{d}} -->
486
<ms>This is a text in ms</ms>
488
<!-- x^2 + 4*x + \frac{p}{q} = 0 -->
513
<mtext>This is a text in mtext</mtext>
514
<merror>This is a text in merror</merror>
523
<mstyle scriptlevel="0">
526
<mstyle scriptlevel="0">
534
<mstyle scriptlevel="0">
537
<mstyle scriptlevel="0">
545
<mstyle scriptlevel="0">
548
<mstyle scriptlevel="0">
569
<mi>i</mi><mo>+</mo><mi>j</mi>
574
<msub><mi>a</mi><mi>i</mi></msub>
576
<msub><mi>b</mi><mi>j</mi></msub>
604
<msup><mi>d</mi><mn>2</mn></msup>
607
<msub><mi>m</mi><mn>1</mn></msub>
608
<msub><mi>m</mi><mn>2</mn></msub>
616
<mi>t</mi><mo>+=</mo><mi>dt</mi>
631
<mo stretchy="false">(</mo>
632
<mfrac linethickness="2">
652
<mstyle scriptlevel="-3">
655
<mstyle scriptlevel="1">
664
<mstyle scriptlevel="0">
670
<mstyle scriptlevel="-4">
676
<math xmlns="&mathml;" mode="display">
716
<mo stretchy='false'>(</mo>
719
<mo stretchy='false'>)</mo>
752
And this is from the "Thomson scattering theory"
754
<math xmlns="&mathml;" mode="display">
756
<mtable align='left'>
759
<mtd columnalign='left'>
787
<mtd columnalign='left'>
793
<mtd columnalign='left'>
806
<mo lspace='0'><</mo>
818
<mi fontweight='bold'>r</mi>
823
<mo lspace='0' rspace='0' symmetric='false'>|</mo>
825
<mover accent='true'>
826
<mi fontweight='bold'>e</mi>
832
<mover accent='true'>
839
<mover accent='true'>
840
<mi fontweight='bold'>e</mi>
844
<mo lspace='0' rspace='0' symmetric='false'>|</mo>
859
<mo stretchy='false'>(</mo>
860
<mi fontweight='bold'>k</mi>
862
<mi fontweight='bold'>v</mi>
865
<mo stretchy='false'>)</mo>
873
<mi fontweight='bold'>v</mi>
881
<mtd columnalign='left'>
887
<mtd columnalign='left'>
900
<mo lspace='0'><</mo>
912
<mi fontweight='bold'>r</mi>
917
<mo symmetric='false' lspace='0' rspace='0'>|</mo>
923
<mo stretchy='false'>(</mo>
926
<mover accent='true'>
927
<mi fontweight='bold'>s</mi>
931
<mover accent='true'>
932
<mi fontweight='bold'>ı</mi>
935
<mo stretchy='false'>)</mo>
939
<mo stretchy='false'>(</mo>
946
<mo stretchy='false'>)</mo>
947
<mo stretchy='false'>(</mo>
954
<mo stretchy='false'>)</mo>
964
<mo symmetric='false' lspace='0' rspace='0'>|</mo>
969
<mspace width="thinmathspace"/>
973
<mo symmetric='false' rspace='0'>|</mo>
995
<mo symmetric='false' lspace='0' rspace='0'>|</mo>
1007
<mtd columnalign='left'>
1012
<mo stretchy='false'>(</mo>
1019
<mo stretchy='false'>)</mo>
1022
<mo> </mo>
1024
<mo> </mo>
1028
<mo stretchy='false'>(</mo>
1029
<mi fontweight='bold'>k</mi>
1031
<mi fontweight='bold'>v</mi>
1034
<mo stretchy='false'>)</mo>
1042
<mi fontweight='bold'>v</mi>