MathML Demo: <mfrac> - fractions 编辑

MathML Background Image

 

 
  1. Inline, auto, normal line sinθπ, numerator and denominator should render script size.
  2. Inline, display style, normal line lnxy, numerator and denominator should render normal size.
  3. Inline, text style, normal line tanθ67, numerator and denominator should render script size.
  4. Inline, auto, thick line x2+1x, the superscripted 2 should be script-script size.
  5. Inline, display style, thick line x-10.98×102+y, the superscripted 2 should be script size.
  6. Inline, text style, thick line x2+1xx2+1x the end.
  7. Inline, auto, no line x2+1x the end.
  8. Inline, display style, no line 1.23456789+x the end.
  9. Inline, text style, no line x2+1x the end.
  10. Inline binomial, auto, no line (58) the end.
  11. Inline binomial, display style, no line (n-kn) the end.
  12. Inline binomial, text style, no line (logxy) the end.
  13. Inline built-in verts, auto, no line |sinθM| the end.
  14. Inline up arrows, display style, no line sinθM the end.
  15. Inline down arrows, text style, no line sinθM the end.
  16. Inline floor, auto, normal line sinθM the end.
  17. Inline ceiling, display style, normal line sinθM the end.
  18. Inline updown arrows, text style, normal line sinθM the end.
  19. Inline double up arrows, auto, thick line sinθM the end.
  20. Inline double down arrows, display style, thick line sinθM the end.
  21. Inline double up down arrows, text style, thick line sinθM the end.
  22. Inline, styles auto, display and text 12-12+1.234567890, the rendering should be script-size, normal-size and script-size in this example. Fraction lines should align vertically with the math axis.
  23. The same expression 12-12+1.234567890 in a display.
  24. Inline fenced nested fractions [sinθ+111-xx2a1]+[1.0] etc.
  25. The same expression [sinθ+111-xx2a1]+[1.0] in a display.
  26. LaTeX renders continued fractions 12+13+14+15+16+ normal size at all levels in all contexts
  27. 12+13+14+15+16+
  28. Inline nested fracs 162+13+14+15+16+ are script size at the first level and decrease to script script size for all more nested levels.
  29. Displayed nested fractions are normal size at the first level, 162+13+14+15+16+script size at second level, and script-script size at all more nested levels.
  30. HypergeomDist(x;M,K,n)=k=0x(Kk)(M-Kn-k)(Mn)
  31. Here's a display F(t,y)=(1,yt)(1,yt) with some real math in it.
  32. And this is an example where the bevelled attribute is set inside the radical y2-t21(1+|y2-t2|2)
  33. And this shows a combination with a background image at a desired opacity

    HTML Content

    <div class="background"></div>
    <math display="block">
    <mrow>
    <msub>
    <mi>Z</mi>
    <mi>&alpha;</mi>
    </msub>
    <mrow>
    <mo>(</mo>
    <mi>f</mi>
    <mo>)</mo>
    </mrow>
    <mo>=</mo>
    
    <mfrac>
    <mn>1</mn>
    <mrow>
    <mn>2</mn>
    <mi>i</mi>
    <mo>&ThinSpace;</mo>
    <mi>cos</mi>
    <mo>(</mo>
    <mfrac>
    <mrow>
    <mi>&alpha;</mi>
    <mi>&pi;</mi>
    </mrow>
    <mn>2</mn>
    </mfrac>
    <mo>)</mo>
    </mrow>
    </mfrac>
    
    <mrow>
    <msub>
    <mo>&int;</mo>
    <mi>C</mi>
    </msub>
    <mfrac>
    <mrow>
    <mi>f</mi>
    <mo stretchy='false'>(</mo>
    <mi>i</mi>
    <mi>z</mi>
    <mo stretchy='false'>)</mo>
    <msup>
    <mrow>
    <mo>(</mo>
    <mo>-</mo>
    <mi>z</mi>
    <mo>)</mo>
    </mrow>
    <mi>&alpha;</mi>
    </msup>
    </mrow>
    <mrow>
    <msup>
    <mi>e</mi>
    <mrow>
    <mn>2</mn>
    <mi>&pi;</mi>
    <mi>z</mi>
    </mrow>
    </msup>
    <mo>-</mo>
    <mn>1</mn>
    </mrow>
    </mfrac>
    </mrow>
    <mi>d</mi>
    <mi>z</mi>
    </mrow>
    </math>

    CSS Content

    [class="background"] {
      background-image: url(https://www.wenjiangs.com/wp-content/uploads/2020/mozilla/mozilla-banner.gif);
      opacity: 0.2;
      position: absolute;
      left: 0;
      width: 100%;
      height: 58px;
    }
    

     

 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:78 次

字数:19164

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文