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">
9 <!-- ***** BEGIN LICENSE BLOCK *****
10 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
12 - The contents of this file are subject to the Mozilla Public License Version
13 - 1.1 (the "License"); you may not use this file except in compliance with
14 - the License. You may obtain a copy of the License at
15 - http://www.mozilla.org/MPL/
17 - Software distributed under the License is distributed on an "AS IS" basis,
18 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
19 - for the specific language governing rights and limitations under the
22 - The Original Code is Mozilla MathML Project.
24 - The Initial Developer of the Original Code is
25 - The University of Queensland.
26 - Portions created by the Initial Developer are Copyright (C) 1999
27 - the Initial Developer. All Rights Reserved.
30 - Roger B. Sidje <rbs@maths.uq.edu.au>
32 - Alternatively, the contents of this file may be used under the terms of
33 - either the GNU General Public License Version 2 or later (the "GPL"), or
34 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
35 - in which case the provisions of the GPL or the LGPL are applicable instead
36 - of those above. If you wish to allow use of your version of this file only
37 - under the terms of either the GPL or the LGPL, and not to allow others to
38 - use your version of this file under the terms of the MPL, indicate your
39 - decision by deleting the provisions above and replace them with the notice
40 - and other provisions required by the LGPL or the GPL. If you do not delete
41 - the provisions above, a recipient may use your version of this file under
42 - the terms of any one of the MPL, the GPL or the LGPL.
44 - ***** END LICENSE BLOCK ***** -->
47 <title>Examples of Presentation Markup</title>
52 Testing tensor indices <mmultiscripts>:
54 <!-- {3 \atop k} R {1 \atop i} {2 \atop j} -->
55 <math xmlns="http://www.w3.org/1998/Math/MathML">
65 This with <none/>,
67 <!-- {{} \atop i} A {p \atop q} -->
68 <math xmlns="http://www.w3.org/1998/Math/MathML">
79 <math xmlns="http://www.w3.org/1998/Math/MathML">
80 <!-- \int_a^b f(x)dx -->
94 <!-- \frac{\partial}{\partial x}F(x,y) + \frac{\partial}{\partial y}F(x,y) -->
130 Here is the alphabet with invisible
131 portions wrapped by <mphantom> in between:
133 <math xmlns="http://www.w3.org/1998/Math/MathML">
166 Testing MathML <msub>:
169 <math xmlns="http://www.w3.org/1998/Math/MathML">
177 <math xmlns="http://www.w3.org/1998/Math/MathML">
185 <math xmlns="http://www.w3.org/1998/Math/MathML">
196 Testing MathML <msup>:
198 <math xmlns="http://www.w3.org/1998/Math/MathML">
223 <!-- {\frac{1}{2}}^{y^{a_x}} -->
243 Testing MathML <munder>, <mover>, and <munderover>:
245 <math xmlns="http://www.w3.org/1998/Math/MathML">
264 Testing MathML <msubsup>:
266 <math xmlns="http://www.w3.org/1998/Math/MathML">
287 Testing MathML <mrow>:
289 <math xmlns="http://www.w3.org/1998/Math/MathML">
304 <math xmlns="http://www.w3.org/1998/Math/MathML">
305 <!-- x^2 + 4*x + \frac{p}{q} = 0 -->
329 with this <mfrac> hanging here
331 <math xmlns="http://www.w3.org/1998/Math/MathML">
332 <!-- \frac{d*T^{(\frac{i+j}{n})} + p_y*q}
333 {p^x*b_x + \frac{a+c}{d}} -->
384 in the middle of a lot of running text to try to explain what this
385 means to those who care to read.
387 Testing MathML merror, mtext,
389 <math xmlns="http://www.w3.org/1998/Math/MathML">
390 <mtext>This is a text in mtext</mtext>
391 <merror>This is a text in merror</merror>