mathml/testfiles-lua/cases.mlr

154 lines
4.8 KiB
Plaintext
Raw Normal View History

2021-11-02 02:27:20 +01:00
<math xmlns:tex="http://typesetting.eu/2021/LuaMathML" xmlns="http://www.w3.org/1998/Math/MathML">
<mi tex:family="1">𝑎</mi>
<mo lspace="0.278em" rspace="0.278em" tex:class="rel">=</mo>
<mi tex:family="1">𝑏</mi>
</math>
<math display="block" xmlns:tex="http://typesetting.eu/2021/LuaMathML" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow tex:class="inner">
<mo fence="true" lspace="0" rspace="0" symmetric="true">(</mo>
<mspace width="-4.981pt" />
<mpadded lspace="+4.981pt" width="+9.963pt">
<mtable>
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
</mtable>
</mpadded>
<mspace width="-4.981pt" />
<mo fence="true" lspace="0" rspace="0" symmetric="true">)</mo>
</mrow>
<mo lspace="0.278em" rspace="0.278em" tex:class="rel">=</mo>
<mrow tex:class="inner">
<mo fence="true" lspace="0" rspace="0" symmetric="true" tex:family="2">{</mo>
<mpadded lspace="+4.981pt" width="+9.963pt">
<mtable>
<mtr>
<mtd columnalign="left">
<mn>1</mn>
</mtd>
<mtd columnalign="left">
<mtext>if&#160;
<math xmlns:tex="http://typesetting.eu/2021/LuaMathML" xmlns="http://www.w3.org/1998/Math/MathML">
<mi tex:family="1">𝑎</mi>
<mo lspace="0.278em" rspace="0.278em" tex:class="rel">=</mo>
<mi tex:family="1">𝑏</mi>
</math></mtext>
</mtd>
</mtr>
<mtr>
<mtd columnalign="left">
<mn>2</mn>
</mtd>
<mtd columnalign="left">
<mtext>else</mtext>
</mtd>
</mtr>
</mtable>
</mpadded>
<mspace width="1.196pt" />
</mrow>
</math>
<math display="block" xmlns:tex="http://typesetting.eu/2021/LuaMathML" xmlns="http://www.w3.org/1998/Math/MathML">
<mi tex:family="1">𝑥</mi>
<mo lspace="0.278em" rspace="0.278em" tex:class="rel">=</mo>
<mfrac>
<mrow>
<mo lspace="0" rspace="0.222em" tex:class="bin" tex:family="2"></mo>
<mi tex:family="1">𝑏</mi>
<mo lspace="0.222em" rspace="0.222em" tex:class="bin" tex:family="2">±</mo>
<msqrt>
<mrow>
<msup>
<mi tex:family="1">𝑏</mi>
<mn>2</mn>
</msup>
<mo lspace="0.222em" rspace="0.222em" tex:class="bin" tex:family="2"></mo>
<mn>4</mn>
<mi tex:family="1">𝑎</mi>
<mi tex:family="1">𝑐</mi>
</mrow>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
<mi tex:family="1">𝑎</mi>
</mrow>
</mfrac>
<mo lspace="0" rspace="0" tex:class="ord" tex:family="1">.</mo>
</math>
<math xmlns:tex="http://typesetting.eu/2021/LuaMathML" xmlns="http://www.w3.org/1998/Math/MathML">
<mi tex:family="1">𝑏</mi>
</math>
<math display="block" xmlns:tex="http://typesetting.eu/2021/LuaMathML" xmlns="http://www.w3.org/1998/Math/MathML">
<munder>
<mo lspace="0" movablelimits="true" rspace="0.167em" tex:class="opdisplaylimits" tex:family="3">∑</mo>
<mi tex:family="1">𝑎</mi>
</munder>
<munder>
<mi tex:family="1">𝑐</mi>
<mo>_</mo>
</munder>
<mover>
<mi tex:family="1">𝑏</mi>
<mo stretchy="false">_</mo>
</mover>
<msup>
<mi tex:family="1">𝑐</mi>
<mi mathvariant="normal" tex:family="2"></mi>
</msup>
</math>
<math xmlns:tex="http://typesetting.eu/2021/LuaMathML" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow tex:class="opnolimits">
<mi mathvariant="normal">s</mi>
<mi mathvariant="normal">i</mi>
<mi mathvariant="normal">n</mi>
</mrow>
<mo lspace="0" rspace="0" stretchy="false" tex:class="open">(</mo>
<mi tex:family="1">𝑥</mi>
<mo lspace="0" rspace="0" stretchy="false" tex:class="close">)</mo>
<mo lspace="0.222em" rspace="0.222em" tex:class="bin" tex:family="2"></mo>
<mrow tex:class="opnolimits">
<mi mathvariant="normal">s</mi>
<mi mathvariant="normal">i</mi>
<mi mathvariant="normal">n</mi>
</mrow>
<mo lspace="0" rspace="0" stretchy="false" tex:class="open">(</mo>
<mi tex:family="1">𝑥</mi>
<mo lspace="0.222em" rspace="0.222em" tex:class="bin">+</mo>
<mn>2</mn>
<mi tex:family="1">𝜋</mi>
<mo lspace="0" rspace="0" stretchy="false" tex:class="close">)</mo>
<mo lspace="0.278em" rspace="0.278em" tex:class="rel">=</mo>
<mn>0</mn>
</math>