2 <!-- ***** BEGIN LICENSE BLOCK *****
3 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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
15 - The Original Code is Mozilla MathML Project.
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.
23 - Roger B. Sidje <rbs@maths.uq.edu.au>
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.
37 - ***** END LICENSE BLOCK ***** -->
39 "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
40 "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"
42 <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
44 <html xmlns="http://www.w3.org/1999/xhtml">
47 <title>Testing stretchy MathML symbols</title>
52 Testing stretchy symbols -- view the source...
54 <math xmlns="http://www.w3.org/1998/Math/MathML">
57 <mo symmetric='false' minsize='3'>(</mo>
61 <mo symmetric='false' minsize='2'>(</mo>
64 <mo symmetric='false'>(</mo>
65 <msub><mi>a</mi><mn>0</mn></msub>
67 <msub><mi>a</mi><mn>1</mn></msub>
68 <mo symmetric='false'>)</mo>
70 <msub><mi>n</mi><mn>1</mn></msub>
73 <msub><mi>a</mi><mn>2</mn></msub>
74 <mo symmetric='false' minsize='2'>)</mo>
76 <msub><mi>n</mi><mn>2</mn></msub>
78 <mo>+</mo><mo>...</mo><mo>+</mo>
79 <msup><mi>a</mi><mi>p</mi></msup>
80 <mo symmetric='false' minsize='3'>)</mo>
82 <msup><mi>n</mi><mi>p</mi></msup>
87 <math xmlns="http://www.w3.org/1998/Math/MathML">
91 <mfenced open="[" close="]">
107 <math xmlns="http://www.w3.org/1998/Math/MathML">
113 <mfrac linethickness="30">
117 <mo stretchy="false">)</mo>
125 <math xmlns="http://www.w3.org/1998/Math/MathML">
128 <mfrac linethickness="0">
140 <mfrac linethickness="0">
141 <mrow><mi>n</mi><mo>-</mo><mn>1</mn></mrow>
151 <mfrac linethickness="0">
152 <mrow><mi>n</mi><mo>-</mo><mn>1</mn></mrow>
153 <mrow><mi>p</mi><mo>-</mo><mn>1</mn></mrow>
186 <mfrac linethickness="0">
194 <mrow><mi>n</mi><mo>-</mo><mn>1</mn></mrow>
206 <mfrac linethickness="0">
214 <mrow><mi>n</mi><mo>-</mo><mi>p</mi></mrow>
236 <math xmlns="http://www.w3.org/1998/Math/MathML">
238 <mo symmetric='false'>{</mo>
247 <mstyle scriptlevel="0">
250 <mstyle scriptlevel="0">
258 <mstyle scriptlevel="0">
261 <mstyle scriptlevel="0">
269 <mstyle scriptlevel="0">
272 <mstyle scriptlevel="0">
291 <mrow> <mi>aa</mi> <mo>+</mo> <mi>bb</mi> </mrow>
298 <mrow> <mi>b</mi> <mo>+</mo> <mi>c</mi> <mo>+</mo> <mi>d</mi></mrow>
299 <mo form="infix">→</mo>
305 <mrow> <mi>a</mi> <mo>+</mo> <mi>b</mi> <mo>+</mo>
306 <mi>c</mi> <mo>+</mo> <mi>d</mi></mrow>
307 <mo form="infix">→</mo>
308 <mo form="infix">←</mo>
318 <msqrt><mn>5</mn></msqrt>
345 <mo>⁢</mo>
347 <mo>⁢</mo>
355 <mo>⁢</mo>
362 <mo form="prefix">(</mo>
363 <mo form="prefix">{</mo>
364 <mo form="infix">↑</mo>
367 <mfrac linethickness="26">
383 <mo form="postfix">}</mo>
384 <mo form="postfix">)</mo>
391 <mo form="infix">→</mo>
392 <mtext> maps to </mtext>