MathML Demo: <mfrac> - fractions 编辑
MathML Background Image
- Inline, auto, normal line , numerator and denominator should render script size.
- Inline, display style, normal line , numerator and denominator should render normal size.
- Inline, text style, normal line , numerator and denominator should render script size.
- Inline, auto, thick line , the superscripted 2 should be script-script size.
- Inline, display style, thick line , the superscripted 2 should be script size.
- Inline, text style, thick line the end.
- Inline, auto, no line the end.
- Inline, display style, no line the end.
- Inline, text style, no line the end.
- Inline binomial, auto, no line the end.
- Inline binomial, display style, no line the end.
- Inline binomial, text style, no line the end.
- Inline built-in verts, auto, no line the end.
- Inline up arrows, display style, no line the end.
- Inline down arrows, text style, no line the end.
- Inline floor, auto, normal line the end.
- Inline ceiling, display style, normal line the end.
- Inline updown arrows, text style, normal line the end.
- Inline double up arrows, auto, thick line the end.
- Inline double down arrows, display style, thick line the end.
- Inline double up down arrows, text style, thick line the end.
- Inline, styles auto, display and text , the rendering should be script-size, normal-size and script-size in this example. Fraction lines should align vertically with the math axis.
- The same expression in a display.
- Inline fenced nested fractions etc.
- The same expression in a display.
- LaTeX renders continued fractions normal size at all levels in all contexts
- Inline nested fracs are script size at the first level and decrease to script script size for all more nested levels.
- Displayed nested fractions are normal size at the first level, script size at second level, and script-script size at all more nested levels.
- Here's a display with some real math in it.
- And this is an example where the bevelled attribute is set inside the radical
- 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>α</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> </mo> <mi>cos</mi> <mo>(</mo> <mfrac> <mrow> <mi>α</mi> <mi>π</mi> </mrow> <mn>2</mn> </mfrac> <mo>)</mo> </mrow> </mfrac> <mrow> <msub> <mo>∫</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>α</mi> </msup> </mrow> <mrow> <msup> <mi>e</mi> <mrow> <mn>2</mn> <mi>π</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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论