~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/layout/mathml/tests/maxwell.xml

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
 
3
               "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
 
4
  <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
 
5
  <!ENTITY vec "&RightArrow;">
 
6
  <!ENTITY partial "&PartialD;"> 
 
7
]>
 
8
<html xmlns="http://www.w3.org/1999/xhtml">
 
9
<!--
 
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/
 
14
  *
 
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.
 
19
  *
 
20
  *  The Original Code is Mozilla MathML Project.
 
21
  *
 
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
 
25
  *  Rights Reserved.
 
26
  *
 
27
  *  Contributor(s):
 
28
  *    Robert Miner <rminer@geomtech.com>
 
29
  -->
 
30
 
 
31
<head>
 
32
  <title>Maxwell's Equations</title>
 
33
</head>
 
34
 
 
35
<body style="background-color: #ffffff">
 
36
<h2>Maxwell's Equations</h2>
 
37
 
 
38
<p align='center'>
 
39
<math xmlns='&mathml;'>
 
40
  <mstyle displaystyle='true'>
 
41
    <mrow>
 
42
      <mo>&lbrace;</mo>
 
43
      <mtable columnalign='right center left' equalrows='false' equalcolumns='false'>
 
44
        <mtr>
 
45
          <mtd>
 
46
            <mrow>
 
47
              <mo>&nabla;</mo>
 
48
              <mo>&times;</mo>
 
49
              <munderover accent='true'>
 
50
                <mstyle fontweight='bold'>
 
51
                  <mi>B</mi>
 
52
                </mstyle>
 
53
                <mrow></mrow>
 
54
                <mo stretchy='true'>&vec;</mo>
 
55
              </munderover>
 
56
              <mo>-</mo>
 
57
              <mfrac>
 
58
                <mn>1</mn>
 
59
                <mi>c</mi>
 
60
              </mfrac>
 
61
              <mfrac>
 
62
                <mrow>
 
63
                  <mo>&partial;</mo>
 
64
                  <munderover accent='true'>
 
65
                    <mstyle fontweight='bold'>
 
66
                      <mi>E</mi>
 
67
                    </mstyle>
 
68
                    <mrow></mrow>
 
69
                    <mo stretchy='true'>&vec;</mo>
 
70
                  </munderover>
 
71
                </mrow>
 
72
                <mrow>
 
73
                  <mo>&partial;</mo>
 
74
                  <mi>t</mi>
 
75
                </mrow>
 
76
              </mfrac>
 
77
            </mrow>
 
78
          </mtd>
 
79
          <mtd>
 
80
            <mo>=</mo>
 
81
          </mtd>
 
82
          <mtd>
 
83
            <mrow>
 
84
              <mfrac>
 
85
                <mrow>
 
86
                  <mn>4</mn>
 
87
                  <mi>&pi;</mi>
 
88
                </mrow>
 
89
                <mi>c</mi>
 
90
              </mfrac>
 
91
              <munderover accent='true'>
 
92
                <mstyle fontweight='bold'>
 
93
                  <mi>j</mi>
 
94
                </mstyle>
 
95
                <mrow></mrow>
 
96
                <mo stretchy='true'>&vec;</mo>
 
97
              </munderover>
 
98
            </mrow>
 
99
          </mtd>
 
100
        </mtr>
 
101
        <mtr>
 
102
          <mtd>
 
103
            <mrow>
 
104
              <mo>&nabla;</mo>
 
105
              <mo>&cdot;</mo>
 
106
              <munderover accent='true'>
 
107
                <mstyle fontweight='bold'>
 
108
                  <mi>E</mi>
 
109
                </mstyle>
 
110
                <mrow></mrow>
 
111
                <mo stretchy='true'>&vec;</mo>
 
112
              </munderover>
 
113
            </mrow>
 
114
          </mtd>
 
115
          <mtd>
 
116
            <mo>=</mo>
 
117
          </mtd>
 
118
          <mtd>
 
119
            <mrow>
 
120
              <mn>4</mn>
 
121
              <mi>&pi;</mi>
 
122
              <mi>&rho;</mi>
 
123
            </mrow>
 
124
          </mtd>
 
125
        </mtr>
 
126
        <mtr>
 
127
          <mtd>
 
128
            <mrow>
 
129
              <mo>&nabla;</mo>
 
130
              <mo>&times;</mo>
 
131
              <munderover accent='true'>
 
132
                <mstyle fontweight='bold'>
 
133
                  <mi>E</mi>
 
134
                </mstyle>
 
135
                <mrow></mrow>
 
136
                <mo stretchy='true'>&vec;</mo>
 
137
              </munderover>
 
138
              <mo>+</mo>
 
139
              <mfrac>
 
140
                <mn>1</mn>
 
141
                <mi>c</mi>
 
142
              </mfrac>
 
143
              <mfrac>
 
144
                <mrow>
 
145
                  <mo>&partial;</mo>
 
146
                  <munderover accent='true'>
 
147
                    <mstyle fontweight='bold'>
 
148
                      <mi>B</mi>
 
149
                    </mstyle>
 
150
                    <mrow></mrow>
 
151
                    <mo stretchy='true'>&vec;</mo>
 
152
                  </munderover>
 
153
                </mrow>
 
154
                <mrow>
 
155
                  <mo>&partial;</mo>
 
156
                  <mi>t</mi>
 
157
                </mrow>
 
158
              </mfrac>
 
159
            </mrow>
 
160
          </mtd>
 
161
          <mtd>
 
162
            <mo>=</mo>
 
163
          </mtd>
 
164
          <mtd>
 
165
            <munderover accent='true'>
 
166
              <mstyle fontweight='bold'>
 
167
                <mn>0</mn>
 
168
              </mstyle>
 
169
              <mrow></mrow>
 
170
              <mo stretchy='true'>&vec;</mo>
 
171
            </munderover>
 
172
          </mtd>
 
173
        </mtr>
 
174
        <mtr>
 
175
          <mtd>
 
176
            <mrow>
 
177
              <mo>&nabla;</mo>
 
178
              <mo>&cdot;</mo>
 
179
              <munderover accent='true'>
 
180
                <mstyle fontweight='bold'>
 
181
                  <mi>B</mi>
 
182
                </mstyle>
 
183
                <mrow></mrow>
 
184
                <mo stretchy='true'>&vec;</mo>
 
185
              </munderover>
 
186
            </mrow>
 
187
          </mtd>
 
188
          <mtd>
 
189
            <mo>=</mo>
 
190
          </mtd>
 
191
          <mtd>
 
192
            <mn>0</mn>
 
193
          </mtd>
 
194
        </mtr>
 
195
      </mtable>
 
196
    </mrow>
 
197
  </mstyle>
 
198
</math>
 
199
</p>
 
200
 
 
201
<h2>Einstein's field equations</h2>
 
202
 
 
203
<p align='center'>
 
204
<math xmlns='&mathml;'>
 
205
  <mstyle displaystyle='true'>
 
206
    <mrow>
 
207
      <msubsup>
 
208
        <mstyle fontstyle='normal'>
 
209
          <mi>R</mi>
 
210
        </mstyle>
 
211
        <mstyle scriptlevel='1'>
 
212
          <mrow>
 
213
            <mi>&mu;</mi>
 
214
            <mi>&nu;</mi>
 
215
          </mrow>
 
216
        </mstyle>
 
217
        <mrow></mrow>
 
218
      </msubsup>
 
219
      <mo>-</mo>
 
220
      <mfrac>
 
221
        <mn>1</mn>
 
222
        <mn>2</mn>
 
223
      </mfrac>
 
224
      <msubsup>
 
225
        <mi>g</mi>
 
226
        <mstyle scriptlevel='1'>
 
227
          <mrow>
 
228
            <mi>&mu;</mi>
 
229
            <mi>&nu;</mi>
 
230
          </mrow>
 
231
        </mstyle>
 
232
        <mrow></mrow>
 
233
      </msubsup>
 
234
      <mstyle fontstyle='normal'>
 
235
        <mi>R</mi>
 
236
      </mstyle>
 
237
      <mo>=</mo>
 
238
      <mfrac>
 
239
        <mrow>
 
240
          <mn>8</mn>
 
241
          <mi>&pi;</mi>
 
242
          <mstyle fontstyle='normal'>
 
243
            <mi>G</mi>
 
244
          </mstyle>
 
245
        </mrow>
 
246
        <msubsup>
 
247
          <mi>c</mi>
 
248
          <mrow></mrow>
 
249
          <mn>4</mn>
 
250
        </msubsup>
 
251
      </mfrac>
 
252
      <msubsup>
 
253
        <mstyle fontstyle='normal'>
 
254
          <mi>T</mi>
 
255
        </mstyle>
 
256
        <mstyle scriptlevel='1'>
 
257
          <mrow>
 
258
            <mi>&mu;</mi>
 
259
            <mi>&nu;</mi>
 
260
          </mrow>
 
261
        </mstyle>
 
262
        <mrow></mrow>
 
263
      </msubsup>
 
264
    </mrow>
 
265
  </mstyle>
 
266
</math>
 
267
</p>
 
268
 
 
269
</body>
 
270
</html>