зеркало из https://github.com/mozilla/pjs.git
134 строки
3.9 KiB
HTML
134 строки
3.9 KiB
HTML
<?xml version="1.0" encoding="us-ascii"?>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="content-type"
|
|
content="application/xhtml+xml; charset=us-ascii" />
|
|
<title>Test mstyle</title>
|
|
<style type="text/css">
|
|
table { width: 100%; border-collapse: collapse; }
|
|
td { border: solid black 1px; }
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>mo: form</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle>
|
|
<mrow>
|
|
<!-- We assume that the infix/postfix forms of _ do -->
|
|
<!-- not have the same lspace/rspace values in the operator dictionary -->
|
|
<mtext>_</mtext>
|
|
<mo form="postfix">_</mo>
|
|
<mtext>_</mtext>
|
|
</mrow>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mo: lspace, rspace</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle>
|
|
<mrow>
|
|
<!-- We assume that the infix form of _ has -->
|
|
<!-- nonzero lspace/rspace values in the operator dictionary -->
|
|
<mtext>_</mtext>
|
|
<mo lspace="0" rspace="0">_</mo>
|
|
<mtext>_</mtext>
|
|
</mrow>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mo: stretchy</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle>
|
|
<mover>
|
|
<!-- We assume that the arrow has stretchy=true in the operator dictionary -->
|
|
<mtext>abcd</mtext>
|
|
<mo stretchy="false">→</mo>
|
|
</mover>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mo: accent</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle>
|
|
<mover>
|
|
<!-- We assume ⏞ has accent=true in the operator dictionary -->
|
|
<mrow>
|
|
<mi>x</mi>
|
|
<mo>+</mo>
|
|
<mi>y</mi>
|
|
<mo>+</mo>
|
|
<mi>z</mi>
|
|
</mrow>
|
|
<mo accent="false">⏞</mo>
|
|
</mover>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mo: maxsize</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle>
|
|
<mo maxsize="1">(</mo>
|
|
<mspace height="3em"/>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mo: minsize</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle>
|
|
<mo minsize="3">(</mo>
|
|
<mspace height="1em"/>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mo: symmetric</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<!-- We assume that ( has symmetric=true in the operator dictionary -->
|
|
<mstyle>
|
|
<mtext>_</mtext>
|
|
<mo symmetric="false" minsize="2">(</mo>
|
|
<mtext>_</mtext>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mo: movablelimits</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<!-- We assume that ∑ has movablelimits=true in the operator dictionary -->
|
|
<mstyle>
|
|
<munderover>
|
|
<mo movablelimits="false">∑</mo>
|
|
<mi>a</mi>
|
|
<mi>b</mi>
|
|
</munderover>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mo: largeop</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
|
<!-- We assume that ∑ has largeop=true in the operator dictionary -->
|
|
<mstyle>
|
|
<mo largeop="false">∑</mo>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<!--
|
|
fence: This attribute generally has no direct effect on the visual rendering.
|
|
separator: This attribute generally has no direct effect on the visual rendering.
|
|
-->
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|