MathML竖线在Microsoft Word文档中不拉伸

时间:2019-05-28 07:39:35

标签: ms-word stretch mathml

我希望使用MathML将数学方程式复制到Microsoft单词中。该方程式具有积分和垂直线,用于评估积分。整数符号沿Microsoft字延伸,但不沿垂直线延伸。如何使垂直线也伸展?

我尝试将\ bigg插入LaTex代码中,但是Microsoft word无法完全呈现LaTex

\ int 0 ^ 1 x ^ 2 \,dx = \ left。\ frac {x ^ 3} {3} \ right。\ bigg | {0} ^ {1} = \ frac {1} {3},

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block" data-semantic-type="punctuated" data-semantic-role="endpunct" data-semantic-id="31" data-semantic-children="30,26" data-semantic-content="26" data-semantic-complexity="5.5">
  <maction id="MJX-Collapse-33" actiontype="toggle" selection="2" data-semantic-complexity="2.5">
    <mtext data-semantic-complexity="2.5">&#x25C2;=&#x22EF;&#x25B8;</mtext>
    <mrow data-semantic-type="relseq" data-semantic-role="equality" data-semantic-id="30" data-semantic-children="29,21,25" data-semantic-content="9,22" data-semantic-parent="31" data-semantic-complexity="16.7">
      <maction id="MJX-Collapse-31" actiontype="toggle" selection="2" data-semantic-complexity="2">
        <mtext data-semantic-complexity="2">&#x25C2;&#x222B;&#x25B8;</mtext>
        <mrow data-semantic-type="integral" data-semantic-role="integral" data-semantic-id="29" data-semantic-children="3,6,28" data-semantic-content="0" data-semantic-parent="30" data-semantic-complexity="23.9">
          <msubsup data-semantic-type="limboth" data-semantic-role="integral" data-semantic-id="3" data-semantic-children="0,1,2" data-semantic-parent="29" data-semantic-complexity="7.6">
            <mo data-semantic-type="largeop" data-semantic-role="integral" data-semantic-id="0" data-semantic-parent="3" data-semantic-operator="integral" data-semantic-complexity="1">&#x222B;</mo>
            <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="1" data-semantic-parent="3" data-semantic-complexity="1">0</mn>
            <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="2" data-semantic-parent="3" data-semantic-complexity="1">1</mn>
          </msubsup>
          <msup data-semantic-type="superscript" data-semantic-role="latinletter" data-semantic-id="6" data-semantic-children="4,5" data-semantic-parent="29" data-semantic-complexity="5.8">
            <mi data-semantic-type="identifier" data-semantic-role="latinletter" data-semantic-font="italic" data-semantic-id="4" data-semantic-parent="6" data-semantic-complexity="1">x</mi>
            <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="5" data-semantic-parent="6" data-semantic-complexity="1">2</mn>
          </msup>
          <mspace width="thinmathspace" data-semantic-complexity="0.5" />
          <mrow data-semantic-type="punctuated" data-semantic-role="integral" data-semantic-id="28" data-semantic-children="7,27,8" data-semantic-content="27" data-semantic-parent="29" data-semantic-complexity="6">
            <mi data-semantic-type="identifier" data-semantic-role="latinletter" data-semantic-font="italic" data-semantic-id="7" data-semantic-parent="28" data-semantic-complexity="1">d</mi>
            <mo data-semantic-type="punctuation" data-semantic-role="comma" data-semantic-id="27" data-semantic-parent="28" data-semantic-added="true" data-semantic-operator="punctuated" data-semantic-complexity="1">&#x2063;</mo>
            <mi data-semantic-type="identifier" data-semantic-role="latinletter" data-semantic-font="italic" data-semantic-id="8" data-semantic-parent="28" data-semantic-complexity="1">x</mi>
          </mrow>
        </mrow>
      </maction>
      <mo data-semantic-type="relation" data-semantic-role="equality" data-semantic-id="9" data-semantic-parent="30" data-semantic-operator="relseq,=" data-semantic-complexity="1">=</mo>
      <maction id="MJX-Collapse-32" actiontype="toggle" selection="2" data-semantic-complexity="2.5">
        <mtext data-semantic-complexity="2.5">&#x25C2;&#x25FD;:&#x25B8;</mtext>
        <msubsup data-semantic-type="subsup" data-semantic-role="endpunct" data-semantic-id="21" data-semantic-children="17,18,19" data-semantic-parent="30" data-semantic-collapsed="(21 (20 17 18) 19)" data-semantic-complexity="21.14">
          <mrow data-semantic-parent="21" data-semantic-complexity="14.540000000000001">
            <mo fence="true" stretchy="true" symmetric="true" data-semantic-complexity="0.5"></mo>
            <mrow data-semantic-type="punctuated" data-semantic-role="endpunct" data-semantic-id="17" data-semantic-children="15,16" data-semantic-content="16" data-semantic-parent="20" data-semantic-complexity="12.040000000000001">
              <mfrac data-semantic-type="fraction" data-semantic-role="division" data-semantic-id="15" data-semantic-children="13,14" data-semantic-parent="17" data-semantic-complexity="9.040000000000001">
                <msup data-semantic-type="superscript" data-semantic-role="latinletter" data-semantic-id="13" data-semantic-children="11,12" data-semantic-parent="15" data-semantic-complexity="5.8">
                  <mi data-semantic-type="identifier" data-semantic-role="latinletter" data-semantic-font="italic" data-semantic-id="11" data-semantic-parent="13" data-semantic-complexity="1">x</mi>
                  <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="12" data-semantic-parent="13" data-semantic-complexity="1">3</mn>
                </msup>
                <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="14" data-semantic-parent="15" data-semantic-complexity="1">3</mn>
              </mfrac>
              <mo fence="true" data-semantic-type="punctuation" data-semantic-role="vbar" data-semantic-id="16" data-semantic-parent="17" data-semantic-operator="punctuated" data-semantic-complexity="1">|</mo>
            </mrow>
          </mrow>
          <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="18" data-semantic-parent="21" data-semantic-complexity="1">0</mn>
          <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="19" data-semantic-parent="21" data-semantic-complexity="1">1</mn>
        </msubsup>
      </maction>
      <mo data-semantic-type="relation" data-semantic-role="equality" data-semantic-id="22" data-semantic-parent="30" data-semantic-operator="relseq,=" data-semantic-complexity="1">=</mo>
      <mfrac data-semantic-type="fraction" data-semantic-role="vulgar" data-semantic-id="25" data-semantic-children="23,24" data-semantic-parent="30" data-semantic-complexity="5.2">
        <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="23" data-semantic-parent="25" data-semantic-complexity="1">1</mn>
        <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-id="24" data-semantic-parent="25" data-semantic-complexity="1">3</mn>
      </mfrac>
    </mrow>
  </maction>
  <mo data-semantic-type="punctuation" data-semantic-role="comma" data-semantic-id="26" data-semantic-parent="31" data-semantic-operator="punctuated" data-semantic-complexity="1">,</mo>
</math>

没有错误消息,只是一条垂直线不会拉伸,因此当在Word文档中时方程看起来很奇怪。

0 个答案:

没有答案