Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (490)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Use "mtable" for Linebreaking and Indentation
How to use <mtable> tag a workaround to force linebreaks and indentations?
✍: FYIcenter.com
<mtable> tags are good solutions to control line breaks,
indentations and alignments.
Here is a good example of using <mtable> to display a multi-line formula with comments:
<math display="block">
<mtable columnspacing="0.1in" columnalign="left">
<mtr>
<mtd><mi>y</mi></mtd>
<mtd><mo>=</mo></mtd>
<mtd> <mfrac>
<mrow> <msup><mi>x</mi><mn>2</mn></msup> <mo>−</mo> <mn>4</mn> </mrow>
<mrow> <mi>x</mi><mo>−</mo><mn>2</mn> </mrow>
</mfrac> </mtd>
<mtd><mtext>where</mtext><mspace width="0.3em"/>
<mi>x</mi><mo>≠</mo><mn>2</mn></mtd>
</mtr> <mtr>
<mtd></mtd>
<mtd><mo>=</mo></mtd>
<mtd> <mfrac>
<mrow>
<mo>(</mo> <mi>x</mi><mo>+</mo><mn>2</mn> <mo>)</mo> <mo>⁢</mo>
<mo>(</mo> <mi>x</mi><mo>−</mo><mn>2</mn> <mo>)</mo>
</mrow>
<mrow> <mi>x</mi><mo>−</mo><mn>2</mn> </mrow>
</mfrac> </mtd>
<mtd><mtext>factoring</mtext><mspace width="0.3em"/>
<msup><mi>x</mi><mn>2</mn></msup> <mo>−</mo> <mn>4</mn></mtd>
</mtr> <mtr>
<mtd></mtd>
<mtd><mo>=</mo></mtd>
<mtd><mi>x</mi><mo>+</mo><mn>2</mn></mtd>
<mtd><mtext>cancelling</mtext><mspace width="0.3em"/>
<mi>x</mi><mo>−</mo><mn>2</mn></mtd>
</mtr>
</mtable>
</math>
⇒ Use "columnwidth" for Cross Formula Alignment
⇐ Forced Linebreaking on "mspace" Tags
2026-10-17, ∼1832🔥, 0💬
Popular Posts:
How to make my presentation beautiful by applying a built-in theme provided by Office PowerPoint 200...
Where to find answers to frequently asked questions about Fitbit devices? Here is a collection of fr...
Where to find answers to frequently asked questions on installing and using Mozilla Firefox 2.0? Her...
Where to find answers to frequently asked questions on Microsoft Teams? Here is a list of frequently...
How to add slide numbers and copyright in the footer area? You can add slide numbers, copyright text...