Convert examples to XHTML now that mathml.css is imported in the ua.css on MathML-enabled builds. a:waterson
git-svn-id: svn://10.0.0.236/trunk@73914 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1,181 +1,375 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="mathml.css" type="text/css"?>
|
||||
<!DOCTYPE math SYSTEM "mathml.dtd">
|
||||
<!--
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!--
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
*
|
||||
* The Original Code is Mozilla MathML Project.
|
||||
*
|
||||
*
|
||||
* The Initial Developer of the Original Code is The University of
|
||||
* Queensland. Portions created by The University of Queensland are
|
||||
* Copyright (C) The University of Queensland. All
|
||||
* Copyright (C) 1999 The University of Queensland. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Contributor(s):
|
||||
* Roger B. Sidje <rbs@maths.uq.edu.au>
|
||||
-->
|
||||
|
||||
<para>
|
||||
<head>
|
||||
<title>Examples of Presentation Markup</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
Testing tensor indices <mmultiscripts>:
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
|
||||
<!-- {3 \atop k} R {1 \atop i} {2 \atop j} -->
|
||||
<math:mmultiscripts><math:mi>R</math:mi><math:mi>i</math:mi><math:mi>1</math:mi><math:mi>j</math:mi><math:mi>2</math:mi><math:mprescripts/><math:mi>k</math:mi><math:mi>3</math:mi></math:mmultiscripts></math>;
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mmultiscripts>
|
||||
<mi>R</mi>
|
||||
<mi>i</mi><mi>1</mi>
|
||||
<mi>j</mi><mi>2</mi>
|
||||
<mprescripts/>
|
||||
<mi>k</mi><mi>3</mi>
|
||||
</mmultiscripts>
|
||||
</math>;
|
||||
|
||||
This with <none/>,
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
|
||||
<!-- {{} \atop i} A {p \atop q} -->
|
||||
<math:mmultiscripts><math:mi>A</math:mi><math:mi>q</math:mi><math:mi>p</math:mi><math:mprescripts/><math:mi>i</math:mi><none/></math:mmultiscripts></math>;
|
||||
|
||||
A bit of calculus with poor markup:
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mmultiscripts>
|
||||
<mi>A</mi>
|
||||
<mi>q</mi><mi>p</mi>
|
||||
<mprescripts/>
|
||||
<mi>i</mi><none/>
|
||||
</mmultiscripts>
|
||||
</math>;
|
||||
|
||||
A bit of calculus:
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<!-- \int_a^b f(x)dx -->
|
||||
|
||||
<msubsup>
|
||||
<mo>∫</mo>
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</msubsup>
|
||||
<mi>f</mi><mo>(</mo><mi>x</mi><mo>)</mo><mi>dx</mi>
|
||||
<mrow>
|
||||
<mi>f</mi>
|
||||
<mo>(</mo>
|
||||
<mi>x</mi>
|
||||
<mo>)</mo>
|
||||
<mi>dx</mi>
|
||||
</mrow>
|
||||
|
||||
<!-- \frac{\partial}{\partial x}F(x,y) + \frac{\partial}{\partial y}F(x,y) -->
|
||||
|
||||
<mrow>
|
||||
<mfrac>
|
||||
<mfrac>
|
||||
<mo>∂</mo>
|
||||
<mrow>
|
||||
<mo>∂</mo>
|
||||
<mrow>
|
||||
<mo>∂</mo>
|
||||
<mi>x</mi>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
|
||||
<mrow>
|
||||
<mi>F</mi>
|
||||
<mo>(</mo>
|
||||
<mi>x</mi>
|
||||
<mo>,</mo>
|
||||
<mi>y</mi>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
|
||||
<mo>+</mo>
|
||||
|
||||
<mfrac>
|
||||
<mi>x</mi>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
<mrow>
|
||||
<mi>F</mi>
|
||||
<mo>(</mo>
|
||||
<mi>x</mi>
|
||||
<mo>,</mo>
|
||||
<mi>y</mi>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
<mo>+</mo>
|
||||
<mfrac>
|
||||
<mo>∂</mo>
|
||||
<mrow>
|
||||
<mo>∂</mo>
|
||||
<mrow>
|
||||
<mo>∂</mo>
|
||||
<mi>y</mi>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
|
||||
<mrow>
|
||||
<mi>F</mi>
|
||||
<mo>(</mo>
|
||||
<mi>x</mi>
|
||||
<mo>,</mo>
|
||||
<mi>y</mi>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
<mi>y</mi>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
<mrow>
|
||||
<mi>F</mi>
|
||||
<mo>(</mo>
|
||||
<mi>x</mi>
|
||||
<mo>,</mo>
|
||||
<mi>y</mi>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
</mrow>
|
||||
</math>;
|
||||
|
||||
Here is the alphabet with invisible
|
||||
portions wrapped by <mphantom> in between:
|
||||
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
<math:mi>a</math:mi> <math:mi>b</math:mi> <math:mi>c</math:mi> <math:mphantom><math:mi>d</math:mi> <math:mi>e</math:mi> <math:mi>f</math:mi> <math:mi>g</math:mi>
|
||||
<math:mi>h</math:mi> <math:mi>i</math:mi> <math:mi>j</math:mi></math:mphantom> <math:mi>k</math:mi> <math:mi>l</math:mi> <math:mi>m</math:mi> <math:mi>n</math:mi>
|
||||
<math:mi>o</math:mi> <math:mphantom><math:mi>p</math:mi> <math:mi>q</math:mi> <math:mi>r</math:mi> <math:mi>s</math:mi></math:mphantom>
|
||||
<math:mi>t</math:mi> <math:mi>u</math:mi> <math:mi>v</math:mi> <math:mi>w</math:mi> <math:mi>x</math:mi> <math:mi>y</math:mi> <math:mi>z</math:mi></math>.
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
<mi>c</mi>
|
||||
<mphantom>
|
||||
<mi>d</mi>
|
||||
<mi>e</mi>
|
||||
<mi>f</mi>
|
||||
<mi>g</mi>
|
||||
<mi>h</mi>
|
||||
<mi>i</mi>
|
||||
<mi>j</mi>
|
||||
</mphantom>
|
||||
<mi>k</mi>
|
||||
<mi>l</mi>
|
||||
<mi>m</mi>
|
||||
<mi>n</mi>
|
||||
<mi>o</mi>
|
||||
<mphantom>
|
||||
<mi>p</mi>
|
||||
<mi>q</mi>
|
||||
<mi>r</mi>
|
||||
<mi>s</mi>
|
||||
</mphantom>
|
||||
<mi>t</mi>
|
||||
<mi>u</mi>
|
||||
<mi>v</mi>
|
||||
<mi>w</mi>
|
||||
<mi>x</mi>
|
||||
<mi>y</mi>
|
||||
<mi>z</mi>
|
||||
</math>.
|
||||
|
||||
Testing MathML <msub>:
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
|
||||
<!-- a_b -->
|
||||
<math:msub><math:mi>a</math:mi><math:mi>b</math:mi></math:msub></math>;
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<msub>
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</msub>
|
||||
</math>;
|
||||
|
||||
<!-- a_i -->
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML"><math:msub><math:mi>a</math:mi><math:mi>i</math:mi></math:msub></math>;
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<msub>
|
||||
<mi>a</mi>
|
||||
<mi>i</mi>
|
||||
</msub>
|
||||
</math>;
|
||||
|
||||
<!-- A_{I_{k}} -->
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML"><math:msub><math:mi>A</math:mi><math:msub><math:mi>I</math:mi><math:mi>k</math:mi></math:msub></math:msub></math>;
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<msub>
|
||||
<mi>A</mi>
|
||||
<msub>
|
||||
<mi>I</mi>
|
||||
<mi>k</mi>
|
||||
</msub>
|
||||
</msub>
|
||||
</math>;
|
||||
|
||||
|
||||
Testing MathML <msup>:
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<!-- d^b -->
|
||||
<math:msup><math:mi>d</math:mi><math:mi>b</math:mi></math:msup>
|
||||
<msup>
|
||||
<mi>d</mi>
|
||||
<mi>b</mi>
|
||||
</msup>
|
||||
|
||||
<!-- 2^{a_x} -->
|
||||
<math:msup><math:mn>2</math:mn><math:msub><math:mi>a</math:mi><math:mi>x</math:mi></math:msub></math:msup>
|
||||
<msup>
|
||||
<mn>2</mn>
|
||||
<msub>
|
||||
<mi>a</mi>
|
||||
<mi>x</mi>
|
||||
</msub>
|
||||
</msup>
|
||||
|
||||
<!-- 2^{2^x} -->
|
||||
<math:msup><math:msup><math:mn>2</math:mn><math:mn>2</math:mn></math:msup><math:mi>x</math:mi></math:msup>
|
||||
<msup>
|
||||
<msup>
|
||||
<mn>2</mn>
|
||||
<mn>2</mn>
|
||||
</msup>
|
||||
<mi>x</mi>
|
||||
</msup>
|
||||
|
||||
<!-- {\frac{1}{2}}^{y^{a_x}} -->
|
||||
<math:msup><math:mrow><math:mo>(</math:mo><math:mfrac><math:mn>1</math:mn><math:mn>2</math:mn></math:mfrac><math:mo>)</math:mo></math:mrow><math:msup><math:mi>y</math:mi><math:msub><math:mi>a</math:mi><math:mi>x</math:mi></math:msub></math:msup></math:msup>
|
||||
<msup>
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mfrac>
|
||||
<mn>1</mn>
|
||||
<mn>2</mn>
|
||||
</mfrac>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
<msup>
|
||||
<mi>y</mi>
|
||||
<msub>
|
||||
<mi>a</mi>
|
||||
<mi>x</mi>
|
||||
</msub>
|
||||
</msup>
|
||||
</msup>
|
||||
</math>.
|
||||
|
||||
Testing MathML <munder>, <mover>, and <munderover>:
|
||||
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
<math:munder><math:mi>abcd</math:mi><math:mi>un</math:mi></math:munder>
|
||||
<math:mover><math:mi>abcd</math:mi><math:mi>ov</math:mi></math:mover>
|
||||
<math:munderover><math:mi>abcd</math:mi><math:mi>under</math:mi><math:mi>over</math:mi></math:munderover>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<munder>
|
||||
<mi>abcd</mi>
|
||||
<mi>un</mi>
|
||||
</munder>
|
||||
|
||||
<mover>
|
||||
<mi>abcd</mi>
|
||||
<mi>ov</mi>
|
||||
</mover>
|
||||
|
||||
<munderover>
|
||||
<mi>abcd</mi>
|
||||
<mi>under</mi>
|
||||
<mi>over</mi>
|
||||
</munderover>
|
||||
</math>.
|
||||
|
||||
|
||||
Testing MathML <msubsup>:
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<!-- a_b^c -->
|
||||
<math:msubsup><math:mi>a</math:mi><math:mi>p</math:mi><math:mi>q</math:mi></math:msubsup>
|
||||
<math:msubsup><math:mi>a</math:mi><math:mi>b+c</math:mi><math:mi>x</math:mi></math:msubsup>
|
||||
<msubsup>
|
||||
<mi>a</mi>
|
||||
<mi>p</mi>
|
||||
<mi>q</mi>
|
||||
</msubsup>
|
||||
|
||||
<!-- a_{b+c}^x -->
|
||||
<msubsup>
|
||||
<mi>a</mi>
|
||||
<mrow>
|
||||
<mi>b</mi>
|
||||
<mo>+</mo>
|
||||
<mi>c</mi>
|
||||
</mrow>
|
||||
<mi>x</mi>
|
||||
</msubsup>
|
||||
</math>.
|
||||
|
||||
|
||||
Testing MathML <mrow>:
|
||||
|
||||
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<!-- d^{a/b} -->
|
||||
<math:msup><math:mi>d</math:mi><math:mrow><math:mo>(</math:mo><math:mfrac><math:mi>a</math:mi><math:mi>b</math:mi></math:mfrac><math:mo>)</math:mo></math:mrow></math:msup>
|
||||
<msup>
|
||||
<mi>d</mi>
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mfrac>
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</mfrac>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
</msup>
|
||||
</math>;
|
||||
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<!-- x^2 + 4*x + \frac{p}{q} = 0 -->
|
||||
<math:mrow>
|
||||
<math:mrow><math:msup><math:mi>x</math:mi><math:mn>2</math:mn></math:msup><math:mo> + </math:mo>
|
||||
<math:mrow><math:mn>4</math:mn><math:mo>*</math:mo><math:mi>x</math:mi></math:mrow>
|
||||
<math:mo> + </math:mo><math:mfrac><math:mi>p</math:mi><math:mi>q</math:mi></math:mfrac></math:mrow>
|
||||
<math:mo> = </math:mo><math:mn>0</math:mn></math:mrow></math>,
|
||||
<mrow>
|
||||
<mrow>
|
||||
<msup>
|
||||
<mi>x</mi>
|
||||
<mn>2</mn>
|
||||
</msup>
|
||||
<mo>+</mo>
|
||||
<mrow>
|
||||
<mn>4</mn>
|
||||
<mo>*</mo>
|
||||
<mi>x</mi>
|
||||
</mrow>
|
||||
<mo>+</mo>
|
||||
<mfrac>
|
||||
<mi>p</mi>
|
||||
<mi>q</mi>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
<mo>=</mo>
|
||||
<mn>0</mn>
|
||||
</mrow>
|
||||
</math>,
|
||||
|
||||
with this <mfrac> hanging here
|
||||
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
<!-- \frac{d*b^{\frac{i+j}{n!}} + p_y*q}
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<!-- \frac{d*T^{(\frac{i+j}{n})} + p_y*q}
|
||||
{p^x*b_x + \frac{a+c}{d}} -->
|
||||
<math:mfrac><math:mrow><math:mi>d</math:mi><math:mo>*</math:mo><math:msup><math:mi>T</math:mi><math:mrow><math:mo>(</math:mo><math:mfrac><math:mi>i + j</math:mi><math:mi>n</math:mi></math:mfrac><math:mo>)</math:mo></math:mrow></math:msup><math:mo>
|
||||
+ </math:mo><math:msub><math:mi>p</math:mi><math:mi>y</math:mi></math:msub><math:mo>*</math:mo><math:mi>q</math:mi></math:mrow><math:mrow><math:msup><math:mi>p</math:mi><math:mi>x</math:mi></math:msup><math:mo>*</math:mo><math:msub><math:mi>b</math:mi><math:mi>x</math:mi></math:msub><math:mo>
|
||||
+ </math:mo><math:mfrac><math:mrow><math:mi>a</math:mi><math:mo>
|
||||
+ </math:mo><math:mi>c</math:mi></math:mrow><math:mi>d</math:mi></math:mfrac></math:mrow></math:mfrac>
|
||||
<mfrac>
|
||||
<mrow>
|
||||
<mi>d</mi>
|
||||
<mo>*</mo>
|
||||
<msup>
|
||||
<mi>T</mi>
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mfrac>
|
||||
<mrow>
|
||||
<mi>i</mi>
|
||||
<mo>+</mo>
|
||||
<mi>j</mi>
|
||||
</mrow>
|
||||
<mi>n</mi>
|
||||
</mfrac>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
</msup>
|
||||
<mo>+</mo>
|
||||
<msub>
|
||||
<mi>p</mi>
|
||||
<mi>y</mi>
|
||||
</msub>
|
||||
<mo>*</mo>
|
||||
<mi>q</mi>
|
||||
</mrow>
|
||||
<mrow>
|
||||
<msup>
|
||||
<mi>p</mi>
|
||||
<mi>x</mi>
|
||||
</msup>
|
||||
<mo>*</mo>
|
||||
<msub>
|
||||
<mi>b</mi>
|
||||
<mi>x</mi>
|
||||
</msub>
|
||||
<mo>+</mo>
|
||||
<mfrac>
|
||||
<mrow>
|
||||
<mi>a</mi>
|
||||
<mo>+</mo>
|
||||
<mi>c</mi>
|
||||
</mrow>
|
||||
<mi>d</mi>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
</math>
|
||||
|
||||
in the middle of a lot of running text to try to explain what this means to those who care
|
||||
to read.
|
||||
in the middle of a lot of running text to try to explain what this
|
||||
means to those who care to read.
|
||||
|
||||
Testing MathML merror, mtext,
|
||||
|
||||
<math xmlns:math="http://www.w3.org/1998/Math/MathML">
|
||||
<math:mtext>This is a text in mtext</math:mtext>
|
||||
<math:merror>This is a text in merror</math:merror>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mtext>This is a text in mtext</mtext>
|
||||
<merror>This is a text in merror</merror>
|
||||
</math>
|
||||
|
||||
</para>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,49 +1,41 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="mathml.css" type="text/css"?>
|
||||
<!DOCTYPE html SYSTEM "mathml.dtd"
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd"
|
||||
[
|
||||
<!ENTITY vec "→">
|
||||
<!ENTITY partial "∂">
|
||||
]>
|
||||
|
||||
<html
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.w3.org/1998/Math/MathML"
|
||||
>
|
||||
|
||||
<!--
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!--
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
*
|
||||
* The Original Code is Mozilla MathML Project.
|
||||
*
|
||||
*
|
||||
* The Initial Developer of the Original Code is The University of
|
||||
* Queensland. Portions created by The University of Queensland are
|
||||
* Copyright (C) The University of Queensland. All
|
||||
* Copyright (C) 1999 The University of Queensland. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Contributor(s):
|
||||
* Robert Miner <rminer@geomtech.com>
|
||||
-->
|
||||
|
||||
<html:html>
|
||||
<html:head>
|
||||
<html:title>Maxwell's Equations</html:title>
|
||||
</html:head>
|
||||
<head>
|
||||
<title>Maxwell's Equations</title>
|
||||
</head>
|
||||
|
||||
<html:body bgcolor='#ffffff'>
|
||||
<html:h2>Maxwell's Equations</html:h2>
|
||||
<body style="background-color: #ffffff">
|
||||
<h2>Maxwell's Equations</h2>
|
||||
|
||||
<html:center>
|
||||
|
||||
<math>
|
||||
<p align='center'>
|
||||
<math xmlns='&mathml;'>
|
||||
<mstyle displaystyle='true'>
|
||||
<mrow>
|
||||
<mo>{</mo>
|
||||
@@ -203,12 +195,12 @@
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</math>
|
||||
</html:center>
|
||||
</p>
|
||||
|
||||
<html:h2>Einstein's field equations</html:h2>
|
||||
<h2>Einstein's field equations</h2>
|
||||
|
||||
<html:center>
|
||||
<math>
|
||||
<p align='center'>
|
||||
<math xmlns='&mathml;'>
|
||||
<mstyle displaystyle='true'>
|
||||
<mrow>
|
||||
<msubsup>
|
||||
@@ -271,7 +263,7 @@
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</math>
|
||||
</html:center>
|
||||
</p>
|
||||
|
||||
</html:body>
|
||||
</html:html>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,112 +1,145 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="mathml.css" type="text/css"?>
|
||||
<!DOCTYPE document SYSTEM "mathml.dtd">
|
||||
|
||||
<document
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:math="http://www.w3.org/1998/Math/MathML"
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:math="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
*
|
||||
* The Original Code is Mozilla MathML Project.
|
||||
*
|
||||
*
|
||||
* The Initial Developer of the Original Code is The University of
|
||||
* Queensland. Portions created by The University of Queensland are
|
||||
* Copyright (C) The University of Queensland. All
|
||||
* Copyright (C) 1999 The University of Queensland. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Contributor(s):
|
||||
* Roger B. Sidje <rbs@maths.uq.edu.au>
|
||||
-->
|
||||
|
||||
<document>
|
||||
<head>
|
||||
<title>Mixing MathML with other markup</title>
|
||||
</head>
|
||||
|
||||
<math>
|
||||
<math:ms>Mixing MathML markups and other markups to get special effects</math:ms>
|
||||
<math:mfrac linethickness="3">
|
||||
<math:mfrac>
|
||||
<math:mn>a</math:mn>
|
||||
<html:img src="resource:/res/toolbar/TB_Back.gif"/>
|
||||
</math:mfrac>
|
||||
<math:mfrac>
|
||||
<math:mn>b</math:mn>
|
||||
<html:img src="resource:/res/toolbar/TB_Forward.gif"/>
|
||||
</math:mfrac>
|
||||
</math:mfrac>
|
||||
<body style="font-size: 18pt; background-color: gold; background-image: url(resource:/res/samples/raptor.jpg); background-repeat: no-repeat; background-attachment: fixed;">
|
||||
|
||||
<h2 style="text-align: center; color: blue">
|
||||
Mixing MathML markups and other markups to get special effects</h2>
|
||||
|
||||
<br />
|
||||
|
||||
A fraction with the animated throbber as denominator...
|
||||
View the source...
|
||||
|
||||
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="3">
|
||||
<mi>a</mi>
|
||||
<html:img src="resource:/chrome/skins/modern/global/skin/animthrob.gif" />
|
||||
</mfrac>
|
||||
</math>
|
||||
|
||||
<p/>
|
||||
<br />
|
||||
|
||||
<math>
|
||||
<mo>See the difference between math:mi over an html:i (which doesn't understand the sriptlevel)</mo>
|
||||
|
||||
<math:mfrac>
|
||||
<math:mi>a</math:mi>
|
||||
<html:i>a</html:i>
|
||||
</math:mfrac>
|
||||
See the difference between <mi> an <html:i>
|
||||
(which doesn't understand the scriptlevel) :
|
||||
|
||||
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac>
|
||||
<mi>a</mi>
|
||||
<mi>a</mi>
|
||||
</mfrac>
|
||||
|
||||
|
||||
|
||||
<mfrac>
|
||||
<html:i>a</html:i>
|
||||
<html:i>a</html:i>
|
||||
</mfrac>
|
||||
</math>
|
||||
|
||||
<!--
|
||||
<p/>
|
||||
<xul:toolbox>
|
||||
<xul:toolbar>
|
||||
<html:span style="display: table-cell">
|
||||
<html:button cmd="nsCmd:BrowserBack" style="background-color:rgb(192,192,192);">
|
||||
<html:img src="../images/raptor.jpg"/><html:br/>Back</html:button>
|
||||
</html:span>
|
||||
<html:span style="display: table-cell">
|
||||
<html:input style="width:325px;"></html:input>
|
||||
</html:span>
|
||||
</xul:toolbar>
|
||||
</xul:toolbox>
|
||||
<br />
|
||||
|
||||
<p/>
|
||||
-->
|
||||
And there could be more...
|
||||
|
||||
<div style="text-align: center">
|
||||
<button style="background-color:rgb(192,192,192)">
|
||||
<span style="color: brown;">
|
||||
For example, a MathML continued fraction inside a HTML button<br />
|
||||
</span>
|
||||
<math xmlns="&mathml;">
|
||||
<mrow>
|
||||
<mfrac>
|
||||
<mi>π</mi>
|
||||
<mn>4</mn>
|
||||
</mfrac>
|
||||
<mo>=</mo>
|
||||
<mfrac numalign="left">
|
||||
<mstyle scriptlevel="0">
|
||||
<mn>1</mn>
|
||||
</mstyle>
|
||||
<mstyle scriptlevel="0">
|
||||
<mrow>
|
||||
<mn>2</mn>
|
||||
<mo>+</mo>
|
||||
<mfrac numalign="left">
|
||||
<mstyle scriptlevel="0">
|
||||
<msup><mn>1</mn><mn>2</mn></msup>
|
||||
</mstyle>
|
||||
<mstyle scriptlevel="0">
|
||||
<mrow>
|
||||
<mn>2</mn>
|
||||
<mo>+</mo>
|
||||
<mfrac numalign="left">
|
||||
<mstyle scriptlevel="0">
|
||||
<msup><mn>3</mn><mn>2</mn></msup>
|
||||
</mstyle>
|
||||
<mstyle scriptlevel="0">
|
||||
<mrow>
|
||||
<mn>2</mn>
|
||||
<mo>+</mo>
|
||||
<mfrac numalign="left">
|
||||
<mstyle scriptlevel="0">
|
||||
<msup><mn>5</mn><mn>2</mn></msup>
|
||||
</mstyle>
|
||||
<mstyle scriptlevel="0">
|
||||
<mrow>
|
||||
<mn>2</mn>
|
||||
<mo>+</mo>
|
||||
<mfrac numalign="left">
|
||||
<mstyle scriptlevel="0">
|
||||
<msup><mn>7</mn><mn>2</mn></msup>
|
||||
</mstyle>
|
||||
<mstyle scriptlevel="0">
|
||||
<mn>2</mn><mo>+</mo><mo fontweight="bold">...</mo>
|
||||
</mstyle>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
</math>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
Possibly crash on the code below !
|
||||
It seems that a table-cell only wants to be sole child or has only table-cell as siblings.
|
||||
Bug or feature ?
|
||||
-->
|
||||
|
||||
<!--
|
||||
|
||||
<math>
|
||||
<math:mfrac>
|
||||
<math:mi>a</math:mi>
|
||||
<html:span style="display: table-cell">
|
||||
<html:button cmd="nsCmd:BrowserBack" style="background-color:rgb(192,192,192);">
|
||||
<html:img src="resource:/res/toolbar/TB_Back.gif"/><html:br/>Back</html:button>
|
||||
</html:span>
|
||||
</math:mfrac>
|
||||
</math>
|
||||
|
||||
<p/>
|
||||
|
||||
<math>
|
||||
<math:mfrac>
|
||||
<html:span style="display: table-cell">
|
||||
<html:button cmd="nsCmd:BrowserBack" style="background-color:rgb(192,192,192);">
|
||||
<html:img src="resource:/res/toolbar/TB_Back.gif"/><html:br/>Back</html:button>
|
||||
</html:span>
|
||||
<math:mi>a</math:mi>
|
||||
</math:mfrac>
|
||||
</math>
|
||||
|
||||
<p/>
|
||||
|
||||
-->
|
||||
|
||||
</document>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="mathml.css" type="text/css"?>
|
||||
<!DOCTYPE math SYSTEM "mathml.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!--
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
@@ -23,8 +23,12 @@
|
||||
* Roger B. Sidje <rbs@maths.uq.edu.au>
|
||||
-->
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<head>
|
||||
<title>Simple Document with MathML</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mi>x</mi>
|
||||
<mo>=</mo>
|
||||
@@ -36,3 +40,6 @@
|
||||
</mfrac>
|
||||
</mrow>
|
||||
</math>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="mathml.css" type="text/css"?>
|
||||
<!DOCTYPE math SYSTEM "mathml.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!--
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
@@ -23,30 +23,67 @@
|
||||
* Roger B. Sidje <rbs@maths.uq.edu.au>
|
||||
-->
|
||||
|
||||
<head>
|
||||
<title>Testing stretchy MathML symbols</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Testing stretchy symbols -- view the source...
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<msup>
|
||||
<mrow>
|
||||
<mo symmetric='false' minsize='3'>(</mo>
|
||||
<mo>...</mo>
|
||||
<msup>
|
||||
<mrow>
|
||||
<mo symmetric='false' minsize='2'>(</mo>
|
||||
<msup>
|
||||
<mrow>
|
||||
<mo symmetric='false'>(</mo>
|
||||
<msub><mi>a</mi><mn>0</mn></msub>
|
||||
<mo>+</mo>
|
||||
<msub><mi>a</mi><mn>1</mn></msub>
|
||||
<mo symmetric='false'>)</mo>
|
||||
</mrow>
|
||||
<msub><mi>n</mi><mn>1</mn></msub>
|
||||
</msup>
|
||||
<mo>+</mo>
|
||||
<msub><mi>a</mi><mn>2</mn></msub>
|
||||
<mo symmetric='false' minsize='2'>)</mo>
|
||||
</mrow>
|
||||
<msub><mi>n</mi><mn>2</mn></msub>
|
||||
</msup>
|
||||
<mo>+</mo><mo>...</mo><mo>+</mo>
|
||||
<msup><mi>a</mi><mi>p</mi></msup>
|
||||
<mo symmetric='false' minsize='3'>)</mo>
|
||||
</mrow>
|
||||
<msup><mi>n</mi><mi>p</mi></msup>
|
||||
</msup>
|
||||
</math>
|
||||
|
||||
<mn>Testing stretchy symbols -- view the source...</mn>
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mi>A</mi>
|
||||
<mo>=</mo>
|
||||
<mrow>
|
||||
<mo>[</mo>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mi>x</mi></mtd>
|
||||
<mtd><mi>y</mi></mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd><mi>z</mi></mtd>
|
||||
<mtd><mi>w</mi></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mo>]</mo>
|
||||
</mrow>
|
||||
<mfenced open="[" close="]">
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mi>x</mi></mtd>
|
||||
<mtd><mi>y</mi></mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd><mi>z</mi></mtd>
|
||||
<mtd><mi>w</mi></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</mfenced>
|
||||
</mrow>
|
||||
<mo>;</mo>
|
||||
</math>
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mi>x</mi>
|
||||
<mo>+</mo>
|
||||
@@ -60,9 +97,11 @@
|
||||
</mrow>
|
||||
</mrow>
|
||||
<mo>;</mo>
|
||||
</math>
|
||||
|
||||
in binomial formulas
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mfrac linethickness="0">
|
||||
@@ -168,13 +207,14 @@ in binomial formulas
|
||||
<mi>n</mi>
|
||||
</msup>
|
||||
</mrow>
|
||||
|
||||
</math>
|
||||
|
||||
|
||||
and elsewhere,
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mo>{</mo>
|
||||
<mo symmetric='false'>{</mo>
|
||||
|
||||
<mrow>
|
||||
<msub>
|
||||
@@ -227,8 +267,8 @@ and elsewhere,
|
||||
<mo>;</mo>
|
||||
|
||||
<mover>
|
||||
<mrow> <mi>a</mi> <mo>+</mo> <mi>b</mi> </mrow>
|
||||
<mo>←</mo>
|
||||
<mrow> <mi>aa</mi> <mo>+</mo> <mi>bb</mi> </mrow>
|
||||
<mo>⏞</mo>
|
||||
</mover>
|
||||
|
||||
<mo>;</mo>
|
||||
@@ -334,3 +374,6 @@ and elsewhere,
|
||||
</mrow>
|
||||
|
||||
</math>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,34 +1,37 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="mathml.css" type="text/css"?>
|
||||
<!DOCTYPE math SYSTEM "mathml.dtd">
|
||||
<!--
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!--
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
*
|
||||
* The Original Code is Mozilla MathML Project.
|
||||
*
|
||||
*
|
||||
* The Initial Developer of the Original Code is The University of
|
||||
* Queensland. Portions created by The University of Queensland are
|
||||
* Copyright (C) The University of Queensland. All
|
||||
* Copyright (C) 1999 The University of Queensland. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Contributor(s):
|
||||
* Roger B. Sidje <rbs@maths.uq.edu.au>
|
||||
-->
|
||||
|
||||
<para>
|
||||
<head>
|
||||
<title>Various examples of MathML</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Click to toggle between expressions, and watch the satus line onmouseover/onmouseout:
|
||||
<p/>
|
||||
<br />
|
||||
|
||||
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<math mode="display" xmlns="&mathml;">
|
||||
<maction actiontype="toggle">
|
||||
<maction actiontype="statusline#First Expression">
|
||||
<mi>statusline#First Expression</mi>
|
||||
@@ -47,11 +50,11 @@ Click to toggle between expressions, and watch the satus line onmouseover/onmous
|
||||
</maction>
|
||||
</math>
|
||||
|
||||
<p/>
|
||||
<br />
|
||||
Click the expression below to zoom-in/zoom-out using RESTYLE:
|
||||
<p/>
|
||||
<br />
|
||||
|
||||
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<math mode="display" xmlns="&mathml;">
|
||||
<maction actiontype="restyle#zoom">
|
||||
<mrow>
|
||||
<mi>π</mi>
|
||||
@@ -67,11 +70,11 @@ Click the expression below to zoom-in/zoom-out using RESTYLE:
|
||||
</maction>
|
||||
</math>
|
||||
|
||||
<p/>
|
||||
<br />
|
||||
Click the expression below to see several definitions of pi:
|
||||
<p/>
|
||||
<br />
|
||||
|
||||
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<math mode="display" xmlns="&mathml;">
|
||||
<mrow>
|
||||
<maction actiontype="toggle">
|
||||
|
||||
@@ -196,10 +199,9 @@ Click the expression below to see several definitions of pi:
|
||||
</mrow>
|
||||
</math>
|
||||
|
||||
<p/>
|
||||
<br />
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mn fontweight="bold" fontsize="large">A</mn>
|
||||
<math xmlns="&mathml;">
|
||||
<!-- {{} \atop i} A {p \atop q} -->
|
||||
<mmultiscripts>
|
||||
<mi fontweight="bold" fontsize="large">A</mi>
|
||||
@@ -207,9 +209,9 @@ Click the expression below to see several definitions of pi:
|
||||
<mprescripts/>
|
||||
<mi>i</mi><none/>
|
||||
</mmultiscripts>
|
||||
<!--
|
||||
<msub><mi>a</mi><mi fontsize="large" bgcolor="yellow">q</mi></msub>
|
||||
-->
|
||||
|
||||
<br />
|
||||
|
||||
<!-- {3 \atop k} R {1 \atop i} {2 \atop j} -->
|
||||
<mmultiscripts>
|
||||
<mi fontweight="bold">R</mi>
|
||||
@@ -280,19 +282,7 @@ Click the expression below to see several definitions of pi:
|
||||
|
||||
<mo>∃</mo>
|
||||
<mi>a</mi>
|
||||
<mi>b</mi> <mi>c</mi>
|
||||
<mphantom>
|
||||
<mi>d</mi> <mi>e</mi> <mi>f</mi> <mi>g</mi>
|
||||
<mi>h</mi> <mi>i</mi> <mi>j</mi> <mi>k</mi>
|
||||
</mphantom>
|
||||
<mi>l</mi> <mi>m</mi>
|
||||
<mi>n</mi> <mi>o</mi>
|
||||
<mphantom>
|
||||
<mi>p</mi> <mi>q</mi> <mi>r</mi> <mi>s</mi>
|
||||
</mphantom>
|
||||
<mi>t</mi> <mi>u</mi> <mi>v</mi> <mi>w</mi>
|
||||
<mi>x</mi> <mi>y</mi> <mi>z</mi>
|
||||
|
||||
|
||||
<!-- a_b -->
|
||||
<msub>
|
||||
<mi>a</mi>
|
||||
@@ -566,7 +556,7 @@ Click the expression below to see several definitions of pi:
|
||||
</mrow>
|
||||
</mrow>
|
||||
|
||||
<p/>
|
||||
<br />
|
||||
|
||||
<mrow>
|
||||
<msup>
|
||||
@@ -605,7 +595,7 @@ Click the expression below to see several definitions of pi:
|
||||
<mi>t</mi><mo>+=</mo><mi>dt</mi>
|
||||
</mrow>
|
||||
|
||||
<p/>
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
@@ -659,6 +649,383 @@ Click the expression below to see several definitions of pi:
|
||||
<mstyle scriptlevel="-4">
|
||||
<mi>x</mi>
|
||||
</mstyle>
|
||||
|
||||
|
||||
</math>
|
||||
</para>
|
||||
|
||||
<math xmlns="&mathml;" mode="display">
|
||||
<mrow>
|
||||
<msub>
|
||||
<mi>Z</mi>
|
||||
<mi>α</mi>
|
||||
</msub>
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mi>f</mi>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
<mo>=</mo>
|
||||
|
||||
<mfrac>
|
||||
<mn>1</mn>
|
||||
<mrow>
|
||||
<mn>2</mn>
|
||||
<mi>i</mi>
|
||||
<mo> </mo>
|
||||
<mi>cos</mi>
|
||||
<mo>(</mo>
|
||||
<mfrac>
|
||||
<mrow>
|
||||
<mi>α</mi>
|
||||
<mi>π</mi>
|
||||
</mrow>
|
||||
<mn>2</mn>
|
||||
</mfrac>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
|
||||
<mrow>
|
||||
<msub>
|
||||
<mo>∫</mo>
|
||||
<mi>C</mi>
|
||||
</msub>
|
||||
<mfrac>
|
||||
<mrow>
|
||||
<mi>f</mi>
|
||||
<mo stretchy='false'>(</mo>
|
||||
<mi>i</mi>
|
||||
<mi>z</mi>
|
||||
<mo stretchy='false'>)</mo>
|
||||
<msup>
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mo>-</mo>
|
||||
<mi>z</mi>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
<mi>α</mi>
|
||||
</msup>
|
||||
</mrow>
|
||||
<mrow>
|
||||
<msup>
|
||||
<mi>e</mi>
|
||||
<mrow>
|
||||
<mn>2</mn>
|
||||
<mi>π</mi>
|
||||
<mi>z</mi>
|
||||
</mrow>
|
||||
</msup>
|
||||
<mo>-</mo>
|
||||
<mn>1</mn>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
<mi>dz</mi>
|
||||
</mrow>
|
||||
</math>
|
||||
|
||||
<br />
|
||||
|
||||
<br />
|
||||
|
||||
And this is from the "Thomson scattering theory"
|
||||
|
||||
<math xmlns="&mathml;" mode="display">
|
||||
<mrow>
|
||||
<mtable align='left'>
|
||||
|
||||
<mtr>
|
||||
<mtd columnalign='left'>
|
||||
<mrow>
|
||||
<mfrac>
|
||||
<mrow>
|
||||
<msup>
|
||||
<mi>d</mi>
|
||||
<mn>2</mn>
|
||||
</msup>
|
||||
<mi>P</mi>
|
||||
</mrow>
|
||||
|
||||
<mrow>
|
||||
<mi>d</mi>
|
||||
<msub>
|
||||
<mi>Ω</mi>
|
||||
<mi>s</mi>
|
||||
</msub>
|
||||
<mo> </mo>
|
||||
<mi>d</mi>
|
||||
<msub>
|
||||
<mi>ω</mi>
|
||||
<mi>s</mi>
|
||||
</msub>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
</mrow>
|
||||
</mtd>
|
||||
|
||||
<mtd columnalign='left'>
|
||||
<mrow>
|
||||
<mo>=</mo>
|
||||
</mrow>
|
||||
</mtd>
|
||||
|
||||
<mtd columnalign='left'>
|
||||
<mrow>
|
||||
<msubsup>
|
||||
<mi>r</mi>
|
||||
<mi>e</mi>
|
||||
<mn>2</mn>
|
||||
</msubsup>
|
||||
|
||||
<msub>
|
||||
<mo>∫</mo>
|
||||
<mi>V</mi>
|
||||
</msub>
|
||||
|
||||
<mo lspace='0'><</mo>
|
||||
<msub>
|
||||
<mi>S</mi>
|
||||
<mi>i</mi>
|
||||
</msub>
|
||||
<mo>></mo>
|
||||
|
||||
<msup>
|
||||
<mi>d</mi>
|
||||
<mn>3</mn>
|
||||
</msup>
|
||||
|
||||
<mi fontweight='bold'>r</mi>
|
||||
<mo>∫</mo>
|
||||
|
||||
<msup>
|
||||
<mrow>
|
||||
<mo lspace='0' rspace='0' symmetric='false'>|</mo>
|
||||
|
||||
<mover accent='true'>
|
||||
<mi fontweight='bold'>e</mi>
|
||||
<mo>^</mo>
|
||||
</mover>
|
||||
|
||||
<mo>.</mo>
|
||||
|
||||
<mover accent='true'>
|
||||
<mo>Π</mo>
|
||||
<mo>↔</mo>
|
||||
</mover>
|
||||
|
||||
<mo>.</mo>
|
||||
|
||||
<mover accent='true'>
|
||||
<mi fontweight='bold'>e</mi>
|
||||
<mo>^</mo>
|
||||
</mover>
|
||||
|
||||
<mo lspace='0' rspace='0' symmetric='false'>|</mo>
|
||||
</mrow>
|
||||
<mn>2</mn>
|
||||
</msup>
|
||||
|
||||
<msup>
|
||||
<mi>κ</mi>
|
||||
<mn>2</mn>
|
||||
</msup>
|
||||
|
||||
<mi>f</mi>
|
||||
<mo> </mo>
|
||||
<mi>δ</mi>
|
||||
|
||||
<mrow>
|
||||
<mo stretchy='false'>(</mo>
|
||||
<mi fontweight='bold'>k</mi>
|
||||
<mo>.</mo>
|
||||
<mi fontweight='bold'>v</mi>
|
||||
<mo>-</mo>
|
||||
<mi>ω</mi>
|
||||
<mo stretchy='false'>)</mo>
|
||||
</mrow>
|
||||
|
||||
<msup>
|
||||
<mi>d</mi>
|
||||
<mn>3</mn>
|
||||
</msup>
|
||||
|
||||
<mi fontweight='bold'>v</mi>
|
||||
</mrow>
|
||||
</mtd>
|
||||
</mtr>
|
||||
|
||||
<mtr>
|
||||
<mtd></mtd>
|
||||
|
||||
<mtd columnalign='left'>
|
||||
<mrow>
|
||||
<mo>=</mo>
|
||||
</mrow>
|
||||
</mtd>
|
||||
|
||||
<mtd columnalign='left'>
|
||||
<mrow>
|
||||
<msubsup>
|
||||
<mi>r</mi>
|
||||
<mi>e</mi>
|
||||
<mn>2</mn>
|
||||
</msubsup>
|
||||
|
||||
<msub>
|
||||
<mo>∫</mo>
|
||||
<mi>V</mi>
|
||||
</msub>
|
||||
|
||||
<mo lspace='0'><</mo>
|
||||
<msub>
|
||||
<mi>S</mi>
|
||||
<mi>i</mi>
|
||||
</msub>
|
||||
<mo>></mo>
|
||||
|
||||
<msup>
|
||||
<mi>d</mi>
|
||||
<mn>3</mn>
|
||||
</msup>
|
||||
|
||||
<mi fontweight='bold'>r</mi>
|
||||
<mo>∫</mo>
|
||||
|
||||
<msup>
|
||||
<mrow>
|
||||
<mo symmetric='false' lspace='0' rspace='0'>|</mo>
|
||||
<mn>1</mn>
|
||||
<mo>-</mo>
|
||||
|
||||
<mfrac>
|
||||
<mrow>
|
||||
<mo stretchy='false'>(</mo>
|
||||
<mn>1</mn>
|
||||
<mo>-</mo>
|
||||
<mover accent='true'>
|
||||
<mi fontweight='bold'>s</mi>
|
||||
<mo>^</mo>
|
||||
</mover>
|
||||
<mo>.</mo>
|
||||
<mover accent='true'>
|
||||
<mi fontweight='bold'>ı</mi>
|
||||
<mo>^</mo>
|
||||
</mover>
|
||||
<mo stretchy='false'>)</mo>
|
||||
</mrow>
|
||||
|
||||
<mrow>
|
||||
<mo stretchy='false'>(</mo>
|
||||
<mn>1</mn>
|
||||
<mo>-</mo>
|
||||
<msub>
|
||||
<mi>β</mi>
|
||||
<mi>i</mi>
|
||||
</msub>
|
||||
<mo stretchy='false'>)</mo>
|
||||
<mo stretchy='false'>(</mo>
|
||||
<mn>1</mn>
|
||||
<mo>-</mo>
|
||||
<msub>
|
||||
<mi>β</mi>
|
||||
<mi>s</mi>
|
||||
</msub>
|
||||
<mo stretchy='false'>)</mo>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
|
||||
<msubsup>
|
||||
<mi>β</mi>
|
||||
<mi>e</mi>
|
||||
<mn>2</mn>
|
||||
</msubsup>
|
||||
|
||||
<mo symmetric='false' lspace='0' rspace='0'>|</mo>
|
||||
</mrow>
|
||||
<mn>2</mn>
|
||||
</msup>
|
||||
|
||||
<mspace width="thinmathspace"/>
|
||||
|
||||
<msup>
|
||||
<mrow>
|
||||
<mo symmetric='false' rspace='0'>|</mo>
|
||||
<mfrac>
|
||||
|
||||
<mrow>
|
||||
<mn>1</mn>
|
||||
<mo>-</mo>
|
||||
<msub>
|
||||
<mi>β</mi>
|
||||
<mi>i</mi>
|
||||
</msub>
|
||||
</mrow>
|
||||
|
||||
<mrow>
|
||||
<mn>1</mn>
|
||||
<mo>-</mo>
|
||||
<msub>
|
||||
<mi>β</mi>
|
||||
<mi>s</mi>
|
||||
</msub>
|
||||
</mrow>
|
||||
</mfrac>
|
||||
|
||||
<mo symmetric='false' lspace='0' rspace='0'>|</mo>
|
||||
</mrow>
|
||||
<mn>2</mn>
|
||||
</msup>
|
||||
</mrow>
|
||||
</mtd>
|
||||
|
||||
</mtr>
|
||||
|
||||
<mtr>
|
||||
<mtd></mtd>
|
||||
<mtd></mtd>
|
||||
<mtd columnalign='left'>
|
||||
<mrow>
|
||||
<mo>×</mo>
|
||||
|
||||
<mrow>
|
||||
<mo stretchy='false'>(</mo>
|
||||
<mn>1</mn>
|
||||
<mo>-</mo>
|
||||
<msup>
|
||||
<mi>β</mi>
|
||||
<mn>2</mn>
|
||||
</msup>
|
||||
<mo stretchy='false'>)</mo>
|
||||
</mrow>
|
||||
|
||||
<mo> </mo>
|
||||
<mi>f</mi>
|
||||
<mo> </mo>
|
||||
<mi>δ</mi>
|
||||
|
||||
<mrow>
|
||||
<mo stretchy='false'>(</mo>
|
||||
<mi fontweight='bold'>k</mi>
|
||||
<mo>.</mo>
|
||||
<mi fontweight='bold'>v</mi>
|
||||
<mo>-</mo>
|
||||
<mi>ω</mi>
|
||||
<mo stretchy='false'>)</mo>
|
||||
</mrow>
|
||||
|
||||
<msup>
|
||||
<mi>d</mi>
|
||||
<mn>3</mn>
|
||||
</msup>
|
||||
|
||||
<mi fontweight='bold'>v</mi>
|
||||
</mrow>
|
||||
</mtd>
|
||||
|
||||
</mtr>
|
||||
</mtable>
|
||||
</mrow>
|
||||
</math>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user