Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (487)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Use display="inline" with displaystyle="normal"
How to prevent "compact" style when using <math> as an inline element?
✍: FYIcenter.com
By default, <math> element is rendered as an inline element
in "compact" display style.
If you want to keep it as an inline element and displayed in "normal" style, you need add the displaystyle="normal" option in the <math> tag.
Here is a comparison of "compact" and "normal" styles of inline <math> elements:
<math> <munderover><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>1</mn></mrow> <mi>∞</mi></munderover><mi>i</mi> <mo>=</mo><mn>1</mn><mo>+</mo><mo>…</mo> </math> <math displaystyle="normal"> <munderover><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>1</mn></mrow> <mi>∞</mi></munderover><mi>i</mi> <mo>=</mo><mn>1</mn><mo>+</mo><mo>…</mo> </math>
Here is how they are rendered in the Web browser:
Note that some browser may fail to respect the displaystyle="normal" option. You can use MathJax Live Editor to see the differences.
⇐ Use "math" as Inline Element
2026-10-17, ∼1766🔥, 0💬
Popular Posts:
How to test I/O performance on INTEL SSDPEKKF256G8L SSD (Solid State Disk) with SQLIO? INTEL SSDPEKK...
How to convert a Word document into a filtered Web page? I have a nice Word document and want to pub...
How to view dynamic field codes in Microsoft Word? Each dynamic value is Microsoft Word is driven by...
Why am I getting the "You now have two copies of a file" error from OneDrive for Windows? You will g...
How do I know what cookies a Website is sending to Mozilla Firefox 2.0? When you are visiting a Webs...