Bug 457358 - need to reset UTF8 converter after it encounters invalid input (pwmgr...
[wine-gecko.git] / layout / mathml / tests / maxwell.xml
blob52e931034fe9de69331ac693129b4175733aee2d
1 <?xml version="1.0"?>
2 <!-- ***** BEGIN LICENSE BLOCK *****
3    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
4    -
5    - The contents of this file are subject to the Mozilla Public License Version
6    - 1.1 (the "License"); you may not use this file except in compliance with
7    - the License. You may obtain a copy of the License at
8    - http://www.mozilla.org/MPL/
9    -
10    - Software distributed under the License is distributed on an "AS IS" basis,
11    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12    - for the specific language governing rights and limitations under the
13    - License.
14    -
15    - The Original Code is Mozilla MathML Project.
16    -
17    - The Initial Developer of the Original Code is
18    - The University of Queensland.
19    - Portions created by the Initial Developer are Copyright (C) 1999
20    - the Initial Developer. All Rights Reserved.
21    -
22    - Contributor(s):
23    -   Robert Miner <rminer@geomtech.com>
24    -
25    - Alternatively, the contents of this file may be used under the terms of
26    - either the GNU General Public License Version 2 or later (the "GPL"), or
27    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28    - in which case the provisions of the GPL or the LGPL are applicable instead
29    - of those above. If you wish to allow use of your version of this file only
30    - under the terms of either the GPL or the LGPL, and not to allow others to
31    - use your version of this file under the terms of the MPL, indicate your
32    - decision by deleting the provisions above and replace them with the notice
33    - and other provisions required by the LGPL or the GPL. If you do not delete
34    - the provisions above, a recipient may use your version of this file under
35    - the terms of any one of the MPL, the GPL or the LGPL.
36    -
37    - ***** END LICENSE BLOCK ***** -->
39 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
40                "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
41   <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
42   <!ENTITY vec "&RightArrow;">
43   <!ENTITY partial "&PartialD;"> 
45 <html xmlns="http://www.w3.org/1999/xhtml">
47 <head>
48   <title>Maxwell's Equations</title>
49 </head>
51 <body style="background-color: #ffffff">
52 <h2>Maxwell's Equations</h2>
54 <p align='center'>
55 <math xmlns='&mathml;'>
56   <mstyle displaystyle='true'>
57     <mrow>
58       <mo>&lbrace;</mo>
59       <mtable columnalign='right center left' equalrows='false' equalcolumns='false'>
60         <mtr>
61           <mtd>
62             <mrow>
63               <mo>&nabla;</mo>
64               <mo>&times;</mo>
65               <munderover accent='true'>
66                 <mstyle fontweight='bold'>
67                   <mi>B</mi>
68                 </mstyle>
69                 <mrow></mrow>
70                 <mo stretchy='true'>&vec;</mo>
71               </munderover>
72               <mo>-</mo>
73               <mfrac>
74                 <mn>1</mn>
75                 <mi>c</mi>
76               </mfrac>
77               <mfrac>
78                 <mrow>
79                   <mo>&partial;</mo>
80                   <munderover accent='true'>
81                     <mstyle fontweight='bold'>
82                       <mi>E</mi>
83                     </mstyle>
84                     <mrow></mrow>
85                     <mo stretchy='true'>&vec;</mo>
86                   </munderover>
87                 </mrow>
88                 <mrow>
89                   <mo>&partial;</mo>
90                   <mi>t</mi>
91                 </mrow>
92               </mfrac>
93             </mrow>
94           </mtd>
95           <mtd>
96             <mo>=</mo>
97           </mtd>
98           <mtd>
99             <mrow>
100               <mfrac>
101                 <mrow>
102                   <mn>4</mn>
103                   <mi>&pi;</mi>
104                 </mrow>
105                 <mi>c</mi>
106               </mfrac>
107               <munderover accent='true'>
108                 <mstyle fontweight='bold'>
109                   <mi>j</mi>
110                 </mstyle>
111                 <mrow></mrow>
112                 <mo stretchy='true'>&vec;</mo>
113               </munderover>
114             </mrow>
115           </mtd>
116         </mtr>
117         <mtr>
118           <mtd>
119             <mrow>
120               <mo>&nabla;</mo>
121               <mo>&cdot;</mo>
122               <munderover accent='true'>
123                 <mstyle fontweight='bold'>
124                   <mi>E</mi>
125                 </mstyle>
126                 <mrow></mrow>
127                 <mo stretchy='true'>&vec;</mo>
128               </munderover>
129             </mrow>
130           </mtd>
131           <mtd>
132             <mo>=</mo>
133           </mtd>
134           <mtd>
135             <mrow>
136               <mn>4</mn>
137               <mi>&pi;</mi>
138               <mi>&rho;</mi>
139             </mrow>
140           </mtd>
141         </mtr>
142         <mtr>
143           <mtd>
144             <mrow>
145               <mo>&nabla;</mo>
146               <mo>&times;</mo>
147               <munderover accent='true'>
148                 <mstyle fontweight='bold'>
149                   <mi>E</mi>
150                 </mstyle>
151                 <mrow></mrow>
152                 <mo stretchy='true'>&vec;</mo>
153               </munderover>
154               <mo>+</mo>
155               <mfrac>
156                 <mn>1</mn>
157                 <mi>c</mi>
158               </mfrac>
159               <mfrac>
160                 <mrow>
161                   <mo>&partial;</mo>
162                   <munderover accent='true'>
163                     <mstyle fontweight='bold'>
164                       <mi>B</mi>
165                     </mstyle>
166                     <mrow></mrow>
167                     <mo stretchy='true'>&vec;</mo>
168                   </munderover>
169                 </mrow>
170                 <mrow>
171                   <mo>&partial;</mo>
172                   <mi>t</mi>
173                 </mrow>
174               </mfrac>
175             </mrow>
176           </mtd>
177           <mtd>
178             <mo>=</mo>
179           </mtd>
180           <mtd>
181             <munderover accent='true'>
182               <mstyle fontweight='bold'>
183                 <mn>0</mn>
184               </mstyle>
185               <mrow></mrow>
186               <mo stretchy='true'>&vec;</mo>
187             </munderover>
188           </mtd>
189         </mtr>
190         <mtr>
191           <mtd>
192             <mrow>
193               <mo>&nabla;</mo>
194               <mo>&cdot;</mo>
195               <munderover accent='true'>
196                 <mstyle fontweight='bold'>
197                   <mi>B</mi>
198                 </mstyle>
199                 <mrow></mrow>
200                 <mo stretchy='true'>&vec;</mo>
201               </munderover>
202             </mrow>
203           </mtd>
204           <mtd>
205             <mo>=</mo>
206           </mtd>
207           <mtd>
208             <mn>0</mn>
209           </mtd>
210         </mtr>
211       </mtable>
212     </mrow>
213   </mstyle>
214 </math>
215 </p>
217 <h2>Einstein's field equations</h2>
219 <p align='center'>
220 <math xmlns='&mathml;'>
221   <mstyle displaystyle='true'>
222     <mrow>
223       <msubsup>
224         <mstyle fontstyle='normal'>
225           <mi>R</mi>
226         </mstyle>
227         <mstyle scriptlevel='1'>
228           <mrow>
229             <mi>&mu;</mi>
230             <mi>&nu;</mi>
231           </mrow>
232         </mstyle>
233         <mrow></mrow>
234       </msubsup>
235       <mo>-</mo>
236       <mfrac>
237         <mn>1</mn>
238         <mn>2</mn>
239       </mfrac>
240       <msubsup>
241         <mi>g</mi>
242         <mstyle scriptlevel='1'>
243           <mrow>
244             <mi>&mu;</mi>
245             <mi>&nu;</mi>
246           </mrow>
247         </mstyle>
248         <mrow></mrow>
249       </msubsup>
250       <mstyle fontstyle='normal'>
251         <mi>R</mi>
252       </mstyle>
253       <mo>=</mo>
254       <mfrac>
255         <mrow>
256           <mn>8</mn>
257           <mi>&pi;</mi>
258           <mstyle fontstyle='normal'>
259             <mi>G</mi>
260           </mstyle>
261         </mrow>
262         <msubsup>
263           <mi>c</mi>
264           <mrow></mrow>
265           <mn>4</mn>
266         </msubsup>
267       </mfrac>
268       <msubsup>
269         <mstyle fontstyle='normal'>
270           <mi>T</mi>
271         </mstyle>
272         <mstyle scriptlevel='1'>
273           <mrow>
274             <mi>&mu;</mi>
275             <mi>&nu;</mi>
276           </mrow>
277         </mstyle>
278         <mrow></mrow>
279       </msubsup>
280     </mrow>
281   </mstyle>
282 </math>
283 </p>
285 </body>
286 </html>