зеркало из https://github.com/mozilla/pjs.git
380 строки
7.7 KiB
XML
380 строки
7.7 KiB
XML
<?xml version="1.0"?>
|
|
<!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) 1999 The University of Queensland. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* 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>
|
|
|
|
|
|
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mrow>
|
|
<mi>A</mi>
|
|
<mo>=</mo>
|
|
<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>
|
|
<mrow>
|
|
<mo>(</mo>
|
|
<mfrac linethickness="30">
|
|
<mi>a</mi>
|
|
<mi>b</mi>
|
|
</mfrac>
|
|
<mo stretchy="false">)</mo>
|
|
</mrow>
|
|
</mrow>
|
|
<mo>;</mo>
|
|
</math>
|
|
|
|
in binomial formulas
|
|
|
|
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mrow>
|
|
<mo>(</mo>
|
|
<mfrac linethickness="0">
|
|
<mi>n</mi>
|
|
<mi>p</mi>
|
|
</mfrac>
|
|
<mo>)</mo>
|
|
</mrow>
|
|
|
|
<mo>=</mo>
|
|
|
|
<mrow>
|
|
<mrow>
|
|
<mo>(</mo>
|
|
<mfrac linethickness="0">
|
|
<mrow><mi>n</mi><mo>-</mo><mn>1</mn></mrow>
|
|
<mi>p</mi>
|
|
</mfrac>
|
|
<mo>)</mo>
|
|
</mrow>
|
|
|
|
<mo>+</mo>
|
|
|
|
<mrow>
|
|
<mo>(</mo>
|
|
<mfrac linethickness="0">
|
|
<mrow><mi>n</mi><mo>-</mo><mn>1</mn></mrow>
|
|
<mrow><mi>p</mi><mo>-</mo><mn>1</mn></mrow>
|
|
</mfrac>
|
|
<mo>)</mo>
|
|
</mrow>
|
|
|
|
<mo>;</mo>
|
|
</mrow>
|
|
|
|
|
|
<mrow>
|
|
<msup>
|
|
<mrow>
|
|
<mo>(</mo>
|
|
<mi>a</mi>
|
|
<mo>+</mo>
|
|
<mi>b</mi>
|
|
<mo>)</mo>
|
|
</mrow>
|
|
<mi>n</mi>
|
|
</msup>
|
|
|
|
<mo>=</mo>
|
|
|
|
<msup>
|
|
<mi>a</mi>
|
|
<mi>n</mi>
|
|
</msup>
|
|
|
|
<mo>+</mo>
|
|
|
|
<mrow>
|
|
<mrow>
|
|
<mo>(</mo>
|
|
<mfrac linethickness="0">
|
|
<mi>n</mi>
|
|
<mi>1</mi>
|
|
</mfrac>
|
|
<mo>)</mo>
|
|
</mrow>
|
|
<msup>
|
|
<mi>a</mi>
|
|
<mrow><mi>n</mi><mo>-</mo><mn>1</mn></mrow>
|
|
</msup>
|
|
<mi>b</mi>
|
|
</mrow>
|
|
|
|
<mo>+</mo>
|
|
<mo>...</mo>
|
|
<mo>+</mo>
|
|
|
|
<mrow>
|
|
<mrow>
|
|
<mo>(</mo>
|
|
<mfrac linethickness="0">
|
|
<mi>n</mi>
|
|
<mi>p</mi>
|
|
</mfrac>
|
|
<mo>)</mo>
|
|
</mrow>
|
|
<msup>
|
|
<mi>a</mi>
|
|
<mrow><mi>n</mi><mo>-</mo><mi>p</mi></mrow>
|
|
</msup>
|
|
<msup>
|
|
<mi>b</mi>
|
|
<mi>p</mi>
|
|
</msup>
|
|
</mrow>
|
|
|
|
<mo>+</mo>
|
|
<mo>...</mo>
|
|
<mo>+</mo>
|
|
|
|
<msup>
|
|
<mi>b</mi>
|
|
<mi>n</mi>
|
|
</msup>
|
|
</mrow>
|
|
</math>
|
|
|
|
|
|
and elsewhere,
|
|
|
|
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mrow>
|
|
<mo symmetric='false'>{</mo>
|
|
|
|
<mrow>
|
|
<msub>
|
|
<mi>a</mi>
|
|
<mn>0</mn>
|
|
</msub>
|
|
<mo>+</mo>
|
|
<mfrac>
|
|
<mstyle scriptlevel="0">
|
|
<mn>1</mn>
|
|
</mstyle>
|
|
<mstyle scriptlevel="0">
|
|
<mrow>
|
|
<msub>
|
|
<mi>a</mi>
|
|
<mn>1</mn>
|
|
</msub>
|
|
<mo>+</mo>
|
|
<mfrac>
|
|
<mstyle scriptlevel="0">
|
|
<mn>1</mn>
|
|
</mstyle>
|
|
<mstyle scriptlevel="0">
|
|
<mrow>
|
|
<msub>
|
|
<mi>a</mi>
|
|
<mn>2</mn>
|
|
</msub>
|
|
<mo>+</mo>
|
|
<mfrac>
|
|
<mstyle scriptlevel="0">
|
|
<mn>1</mn>
|
|
</mstyle>
|
|
<mstyle scriptlevel="0">
|
|
<msub>
|
|
<mi>a</mi>
|
|
<mn>3</mn>
|
|
</msub>
|
|
</mstyle>
|
|
</mfrac>
|
|
</mrow>
|
|
</mstyle>
|
|
</mfrac>
|
|
</mrow>
|
|
</mstyle>
|
|
</mfrac>
|
|
</mrow>
|
|
</mrow>
|
|
|
|
<mo>;</mo>
|
|
|
|
<mover>
|
|
<mrow> <mi>aa</mi> <mo>+</mo> <mi>bb</mi> </mrow>
|
|
<mo>⏞</mo>
|
|
</mover>
|
|
|
|
<mo>;</mo>
|
|
|
|
<munder>
|
|
<mrow> <mi>b</mi> <mo>+</mo> <mi>c</mi> <mo>+</mo> <mi>d</mi></mrow>
|
|
<mo form="infix">→</mo>
|
|
</munder>
|
|
|
|
<mo>;</mo>
|
|
|
|
<munderover>
|
|
<mrow> <mi>a</mi> <mo>+</mo> <mi>b</mi> <mo>+</mo>
|
|
<mi>c</mi> <mo>+</mo> <mi>d</mi></mrow>
|
|
<mo form="infix">→</mo>
|
|
<mo form="infix">←</mo>
|
|
</munderover>
|
|
|
|
<mo>;</mo>
|
|
|
|
<mrow>
|
|
<mo>(</mo><mfrac>
|
|
<mrow>
|
|
<mn>1</mn>
|
|
<mo>+</mo>
|
|
<msqrt><mn>5</mn></msqrt>
|
|
</mrow>
|
|
<mn>2</mn>
|
|
</mfrac><mo>)</mo>
|
|
</mrow>
|
|
|
|
<mo>;</mo>
|
|
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mo>=</mo>
|
|
<mfrac>
|
|
<mrow>
|
|
<mrow>
|
|
<mo>-</mo>
|
|
<mi>b</mi>
|
|
</mrow>
|
|
<mo>±</mo>
|
|
<msqrt>
|
|
<mrow>
|
|
<msup>
|
|
<mi>b</mi>
|
|
<mn>2</mn>
|
|
</msup>
|
|
<mo>-</mo>
|
|
<mrow>
|
|
<mn>4</mn>
|
|
<mo>⁢</mo>
|
|
<mi>a</mi>
|
|
<mo>⁢</mo>
|
|
<mi>c</mi>
|
|
</mrow>
|
|
</mrow>
|
|
</msqrt>
|
|
</mrow>
|
|
<mrow>
|
|
<mn>2</mn>
|
|
<mo>⁢</mo>
|
|
<mi>a</mi>
|
|
</mrow>
|
|
</mfrac>
|
|
</mrow>
|
|
|
|
<mrow>
|
|
<mo form="prefix">(</mo>
|
|
<mo form="prefix">{</mo>
|
|
<mo form="infix">↑</mo>
|
|
<mrow>
|
|
<mo>∫</mo>
|
|
<mfrac linethickness="26">
|
|
<mfrac>
|
|
<mrow><mi>n</mi>
|
|
<mrow>
|
|
<mo>{</mo>
|
|
<mi>n</mi>
|
|
<mo>+</mo>
|
|
<mn>1</mn>
|
|
<mo>)</mo>
|
|
</mrow>
|
|
</mrow>
|
|
<mn>2</mn>
|
|
</mfrac>
|
|
<mi>y</mi>
|
|
</mfrac>
|
|
<mo>↓</mo>
|
|
<mo form="postfix">}</mo>
|
|
<mo form="postfix">)</mo>
|
|
</mrow>
|
|
</mrow>
|
|
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mover>
|
|
<mo form="infix">→</mo>
|
|
<mtext> maps to </mtext>
|
|
</mover>
|
|
<mi>y</mi>
|
|
</mrow>
|
|
|
|
</math>
|
|
|
|
</body>
|
|
</html>
|