【问题标题】:Fraction including parentheses in MathmLMathmL 中包含括号的分数
【发布时间】:2015-10-15 07:22:24
【问题描述】:

我怎样才能使分数像第二个公式?

my sample formula

  <math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>D</mi><mi>e</mi></msub><mo>=</mo><mrow><mn>1</mn><mo>,</mo><mn>3</mn></mrow><mi>&middot;</mi><mfrac><mfenced><msup><mrow><mi>a</mi><mo>&middot;</mo><mi>b</mi></mrow><mn>0,625</mn></msup></mfenced><msup><mfenced><mrow><mi>a</mi><mo mathsize="small">+</mo><mi>b</mi></mrow></mfenced><mn>0,25</mn></msup></mfrac><mtext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [m]</mtext><mtext mathcolor="DodgerBlue"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Formel 1.3</mtext>
    </math> 

【问题讨论】:

    标签: parentheses fractions mathml


    【解决方案1】:
    <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
    <mrow>
    <msub><mi>D</mi><mi>e</mi></msub>
    <mo>=</mo>
    <mn>1,3</mn>
    <mo>.</mo>
    <mfrac>
    <mrow><mo stretchy="false" form="prefix">(</mo><mi>a</mi><mo>.</mo><mi>b</mi><msup><mo stretchy="false" form="postfix">)</mo><mn>0,625</mn></msup></mrow>
    <mrow><mo stretchy="false" form="prefix">(</mo><mi>a</mi><mo>+</mo><mi>b</mi><msup><mo stretchy="false" form="postfix">)</mo><mn>0,25</mn></msup></mrow>
    </mfrac>
    </mrow>
    </math>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-28
      相关资源
      最近更新 更多